Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cryptography Pin
blackjack215010-May-07 0:33
blackjack215010-May-07 0:33 
GeneralRe: Cryptography Pin
Mr Perfect10-May-07 0:49
Mr Perfect10-May-07 0:49 
AnswerRe: Cryptography Pin
Hari Om Prakash Sharma10-May-07 0:03
Hari Om Prakash Sharma10-May-07 0:03 
AnswerRe: Cryptography Pin
Muammar©10-May-07 0:06
Muammar©10-May-07 0:06 
AnswerRe: Cryptography Pin
Russell Jones10-May-07 1:09
Russell Jones10-May-07 1:09 
QuestionHow can I disable dots from studio.net2005 editor Pin
Hari Om Prakash Sharma9-May-07 23:48
Hari Om Prakash Sharma9-May-07 23:48 
AnswerRe: How can I disable dots from studio.net2005 editor Pin
blackjack21509-May-07 23:58
blackjack21509-May-07 23:58 
AnswerRe: How can I disable dots from studio.net2005 editor Pin
Muammar©10-May-07 0:00
Muammar©10-May-07 0:00 
AnswerRe: How can I disable dots from studio.net2005 editor Pin
Luc Pattyn10-May-07 0:04
sitebuilderLuc Pattyn10-May-07 0:04 
GeneralRe: How can I disable dots from studio.net2005 editor Pin
Hari Om Prakash Sharma10-May-07 0:06
Hari Om Prakash Sharma10-May-07 0:06 
GeneralRe: How can I disable dots from studio.net2005 editor Pin
Muammar©10-May-07 0:09
Muammar©10-May-07 0:09 
GeneralRe: How can I disable dots from studio.net2005 editor Pin
Martin#10-May-07 0:12
Martin#10-May-07 0:12 
GeneralRe: How can I disable dots from studio.net2005 editor Pin
Muammar©10-May-07 0:53
Muammar©10-May-07 0:53 
GeneralRe: How can I disable dots from studio.net2005 editor Pin
Luc Pattyn10-May-07 1:03
sitebuilderLuc Pattyn10-May-07 1:03 
Questionhelp..any one helpp..! Pin
mr jets9-May-07 23:46
mr jets9-May-07 23:46 
AnswerRe: help..any one helpp..! Pin
Colin Angus Mackay10-May-07 0:07
Colin Angus Mackay10-May-07 0:07 
GeneralRe: help..any one helpp..! Pin
mr jets10-May-07 0:40
mr jets10-May-07 0:40 
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.....

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.