Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Improvement Pin
Richard MacCutchan19-Dec-12 23:08
mveRichard MacCutchan19-Dec-12 23:08 
AnswerRe: C# Improvement Pin
harold aptroot20-Dec-12 0:48
harold aptroot20-Dec-12 0:48 
AnswerRe: C# Improvement Pin
Jibesh20-Dec-12 1:16
professionalJibesh20-Dec-12 1:16 
AnswerRe: C# Improvement Pin
Thomas Daniels20-Dec-12 1:54
mentorThomas Daniels20-Dec-12 1:54 
AnswerRe: C# Improvement Pin
Alan Balkany20-Dec-12 4:29
Alan Balkany20-Dec-12 4:29 
AnswerRe: C# Improvement Pin
Super Lloyd20-Dec-12 18:21
Super Lloyd20-Dec-12 18:21 
AnswerRe: C# Improvement Pin
M.Edmison26-Dec-12 4:31
M.Edmison26-Dec-12 4:31 
QuestionNeed help to generate file at run time.. Pin
Member 944819419-Dec-12 18:28
Member 944819419-Dec-12 18:28 
AnswerREPOST Pin
Dave Kreskowiak19-Dec-12 18:53
mveDave Kreskowiak19-Dec-12 18:53 
GeneralRe: REPOST Pin
Member 944819419-Dec-12 19:03
Member 944819419-Dec-12 19:03 
GeneralRe: REPOST Pin
Jibesh20-Dec-12 1:17
professionalJibesh20-Dec-12 1:17 
AnswerRe: Need help to generate file at run time.. Pin
Pete O'Hanlon19-Dec-12 20:33
mvePete O'Hanlon19-Dec-12 20:33 
QuestionMessage Removed Pin
19-Dec-12 13:12
SledgeHammer0119-Dec-12 13:12 
Questionsave winform layout(panel,textbox,label,..) to xml structured file Pin
BiggiSmalls19-Dec-12 12:29
BiggiSmalls19-Dec-12 12:29 
We need to create a button that save our winform layout(designer code) to an xml structured file.

For example:
Result of created XML structure file, with winform that has jut one button:

<?xml version="1.0" encoding="UTF-8"?>
<Form>
<Size>
<Width>745</Width>
<Height>648</Height>
</Size>
<Text>Demo</Text>
<Name>Form1</Name>
<MainMenuStrip value="null"/>
<Button>
<Name>gumbSaveXML</Name>
<Text>Save to XML</Text>
<Size>
<Width>111</Width>
<Height>30</Height>
</Size>
<Location>
<X>287</X>
<Y>567</Y>
</Location>
</Button>
</Form>

The properties of elemets(textextbox,panel,..) that needs to be saved to xml file are:
-Name
-Text,
-Size,
-Location,..this for are supposed to be.


Xml needs to be properly structured, becose after we save the winform layout to xml file, we need to load it again, so everything is back on its place.


It can be simple form with a textbox, just need the koncept how it works???

PLease Help,,thanks in andvance Big Grin | :-D
AnswerRe: save winform layout(panel,textbox,label,..) to xml structured file Pin
Super Lloyd19-Dec-12 18:38
Super Lloyd19-Dec-12 18:38 
GeneralRe: save winform layout(panel,textbox,label,..) to xml structured file Pin
BiggiSmalls19-Dec-12 23:36
BiggiSmalls19-Dec-12 23:36 
AnswerRe: save winform layout(panel,textbox,label,..) to xml structured file Pin
Mycroft Holmes19-Dec-12 21:13
professionalMycroft Holmes19-Dec-12 21:13 
GeneralRe: save winform layout(panel,textbox,label,..) to xml structured file Pin
BiggiSmalls19-Dec-12 23:38
BiggiSmalls19-Dec-12 23:38 
AnswerRe: save winform layout(panel,textbox,label,..) to xml structured file Pin
Jibesh20-Dec-12 1:22
professionalJibesh20-Dec-12 1:22 
GeneralRe: save winform layout(panel,textbox,label,..) to xml structured file Pin
BiggiSmalls20-Dec-12 2:22
BiggiSmalls20-Dec-12 2:22 
GeneralRe: save winform layout(panel,textbox,label,..) to xml structured file Pin
Jibesh20-Dec-12 2:23
professionalJibesh20-Dec-12 2:23 
QuestionVC#2010: ContextMenuStrip with drawingText and / or picture als Sidebar on the left side Pin
forumarbeit19-Dec-12 7:30
forumarbeit19-Dec-12 7:30 
AnswerRe: VC#2010: ContextMenuStrip with drawingText and / or picture als Sidebar on the left side Pin
Eddy Vluggen20-Dec-12 2:09
professionalEddy Vluggen20-Dec-12 2:09 
GeneralRe: VC#2010: ContextMenuStrip with drawingText and / or picture als Sidebar on the left side Pin
forumarbeit20-Dec-12 4:25
forumarbeit20-Dec-12 4:25 
GeneralRe: VC#2010: ContextMenuStrip with drawingText and / or picture als Sidebar on the left side Pin
Eddy Vluggen20-Dec-12 4:43
professionalEddy Vluggen20-Dec-12 4:43 

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.