Click here to Skip to main content
15,905,914 members
Home / Discussions / C#
   

C#

 
AnswerRe: help..any one helpp..! Pin
Mandaar Kulkarni10-May-07 0:48
Mandaar Kulkarni10-May-07 0:48 
GeneralRe: help..any one helpp..! Pin
mr jets10-May-07 0:52
mr jets10-May-07 0:52 
GeneralRe: help..any one helpp..! Pin
Mandaar Kulkarni10-May-07 1:03
Mandaar Kulkarni10-May-07 1:03 
GeneralRe: help..any one helpp..! Pin
mr jets10-May-07 1:13
mr jets10-May-07 1:13 
GeneralRe: help..any one helpp..! Pin
Mandaar Kulkarni10-May-07 1:30
Mandaar Kulkarni10-May-07 1:30 
GeneralRe: help..any one helpp..! Pin
mr jets10-May-07 1:46
mr jets10-May-07 1:46 
GeneralRe: help..any one helpp..! Pin
Leyu10-May-07 2:04
Leyu10-May-07 2:04 
GeneralRe: help..any one helpp..! Pin
Mandaar Kulkarni10-May-07 2:21
Mandaar Kulkarni10-May-07 2:21 
I don't know whether any article exists for such case, but I can give you some more hints about this as you know now how to deal with lines.

Take out a list of values that are required for all the shapes that you are using.

Create a structure e.g. structShape which contains members for holding all the values.

Include a shapeType field in the structShape which will let you know what type of shape you are drawing.

It might be the case that a shape would not contain all the properties. So copy values that are available and keep the remaining blank (or something like "NA" which means not applicable for this type of shape).

I recommand using structure because if you want to read again from that file you can read in the same sequence that you wrote to the file.

Your shapeType attribute will decide which shape is to be drawn.

Is that fair enough?
Let me know if any problem in this.....
QuestionNullReferenceException in ListView Pin
Saira Tanwir9-May-07 23:33
Saira Tanwir9-May-07 23:33 
AnswerRe: NullReferenceException in ListView Pin
Martin#9-May-07 23:56
Martin#9-May-07 23:56 
GeneralRe: NullReferenceException in ListView Pin
Saira Tanwir10-May-07 0:15
Saira Tanwir10-May-07 0:15 
AnswerRe: NullReferenceException in ListView Pin
tcss10-May-07 1:00
tcss10-May-07 1:00 
QuestionSQL error, "No value gived for one or more required parameters" Pin
Toubou9-May-07 22:43
Toubou9-May-07 22:43 
AnswerRe: SQL error, "No value gived for one or more required parameters" Pin
Colin Angus Mackay9-May-07 23:00
Colin Angus Mackay9-May-07 23:00 
AnswerRe: SQL error, "No value gived for one or more required parameters" Pin
blackjack21509-May-07 23:48
blackjack21509-May-07 23:48 
QuestionC# connection to Lotus Approach Pin
zoroyster9-May-07 22:31
zoroyster9-May-07 22:31 
AnswerRe: C# connection to Lotus Approach Pin
Leyu10-May-07 2:10
Leyu10-May-07 2:10 
Questionsuggestions for calling webservice in windows service Pin
ramyasangeet9-May-07 22:06
ramyasangeet9-May-07 22:06 
AnswerRe: suggestions for calling webservice in windows service Pin
Russell Jones9-May-07 22:17
Russell Jones9-May-07 22:17 
GeneralRe: suggestions for calling webservice in windows service Pin
ramyasangeet9-May-07 22:25
ramyasangeet9-May-07 22:25 
QuestionHow to Set Cell Backcolor of dataGridView Pin
M Riaz Bashir9-May-07 22:04
M Riaz Bashir9-May-07 22:04 
AnswerRe: How to Set Cell Backcolor of dataGridView Pin
Arun.Immanuel9-May-07 22:19
Arun.Immanuel9-May-07 22:19 
GeneralRe: How to Set Cell Backcolor of dataGridView Pin
M Riaz Bashir9-May-07 22:35
M Riaz Bashir9-May-07 22:35 
GeneralRe: How to Set Cell Backcolor of dataGridView Pin
Arun.Immanuel10-May-07 1:30
Arun.Immanuel10-May-07 1:30 
Questioncombo box Pin
balanjingot9-May-07 22:02
balanjingot9-May-07 22:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.