zhangyao
Mechanical
- Nov 16, 2009
- 2
Hi guys!
this is my first question here, it seems somehow stupid, but please help me out.
I want to create a line between two points through selecting them. Yes, maybe it is not difficult, but how?
wished sequences are:
1. run the code in jounal, it shows a windowsform
2. click Button1 in the windowsform and then I can start to choose the points
3. in Label1 of the windowsform will show the coordinate of the points.
4. click Button OK in the windowsform and create the line
(if possible I'd like to see the codes in C#)
thanks!
this is my first question here, it seems somehow stupid, but please help me out.
I want to create a line between two points through selecting them. Yes, maybe it is not difficult, but how?
wished sequences are:
1. run the code in jounal, it shows a windowsform
2. click Button1 in the windowsform and then I can start to choose the points
3. in Label1 of the windowsform will show the coordinate of the points.
4. click Button OK in the windowsform and create the line
(if possible I'd like to see the codes in C#)
thanks!