Click here to Skip to main content
16,005,162 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do you read the end of an XML file in C#? Pin
Ed.Poore26-Sep-06 1:05
Ed.Poore26-Sep-06 1:05 
GeneralRe: How do you read the end of an XML file in C#? Pin
bigove26-Sep-06 1:25
bigove26-Sep-06 1:25 
GeneralRe: How do you read the end of an XML file in C#? Pin
Ed.Poore26-Sep-06 1:30
Ed.Poore26-Sep-06 1:30 
GeneralRe: How do you read the end of an XML file in C#? Pin
bigove26-Sep-06 1:35
bigove26-Sep-06 1:35 
GeneralRe: How do you read the end of an XML file in C#? Pin
Ed.Poore26-Sep-06 1:49
Ed.Poore26-Sep-06 1:49 
GeneralRe: How do you read the end of an XML file in C#? Pin
bigove26-Sep-06 2:53
bigove26-Sep-06 2:53 
QuestionContent page script asp.net 2005 Pin
Tamimi - Code24-Sep-06 22:45
Tamimi - Code24-Sep-06 22:45 
Questionclose and reopen child forms Pin
faladrim24-Sep-06 22:33
faladrim24-Sep-06 22:33 
hi,

if i press a button in a menu in a parent form i open a child form called form2, if i choose form3 in the menu i want to close form2 and show form3, and visa versa, but i cant do this.
i get an error because the form2 is closed and i cant reopen it.
it has someting to doe with the signle instance... i dont understand it Frown | :(
this i what i have of code, very simple it just opens empty forms:

namespace swapform
{
public partial class Form1 : Form
{

Form2 objchild1 = new Form2();
Form3 objchild = new Form3();
public Form1()
{
InitializeComponent();
objchild1.MdiParent = this;
objchild.MdiParent = this;
}

private void form3ToolStripMenuItem_Click(object sender, EventArgs e)
{
objchild.Show(); //show form3
objchild1.Close(); // close form 2
}

private void form2ToolStripMenuItem_Click(object sender, EventArgs e)
{
objchild1.Show(); //show form 2
objchild.Close();//close form 3
}

}
}
AnswerRe: close and reopen child forms Pin
Guffa24-Sep-06 22:39
Guffa24-Sep-06 22:39 
GeneralRe: close and reopen child forms Pin
faladrim24-Sep-06 23:28
faladrim24-Sep-06 23:28 
AnswerRe: close and reopen child forms Pin
Guffa25-Sep-06 21:15
Guffa25-Sep-06 21:15 
Questioninterchanging data Pin
V.24-Sep-06 22:10
professionalV.24-Sep-06 22:10 
AnswerRe: interchanging data Pin
Ed.Poore24-Sep-06 23:08
Ed.Poore24-Sep-06 23:08 
GeneralRe: interchanging data Pin
V.24-Sep-06 23:18
professionalV.24-Sep-06 23:18 
GeneralRe: interchanging data Pin
Ed.Poore24-Sep-06 23:24
Ed.Poore24-Sep-06 23:24 
QuestionSecond path fragment must not be a drive or UNC name. Pin
raghbhar24-Sep-06 20:59
raghbhar24-Sep-06 20:59 
AnswerRe: Second path fragment must not be a drive or UNC name. Pin
Christian Graus24-Sep-06 21:28
protectorChristian Graus24-Sep-06 21:28 
Questionhow to handle a ToolStripItem? Pin
musti_aktas24-Sep-06 20:42
musti_aktas24-Sep-06 20:42 
AnswerRe: how to handle a ToolStripItem? Pin
Luis Alonso Ramos24-Sep-06 21:27
Luis Alonso Ramos24-Sep-06 21:27 
AnswerRe: how to handle a ToolStripItem? Pin
musti_aktas24-Sep-06 21:52
musti_aktas24-Sep-06 21:52 
QuestionRegistry Pin
MHASSANF24-Sep-06 20:17
MHASSANF24-Sep-06 20:17 
AnswerRe: Registry Pin
Christian Graus24-Sep-06 20:52
protectorChristian Graus24-Sep-06 20:52 
QuestionRe: Registry Pin
MHASSANF24-Sep-06 22:36
MHASSANF24-Sep-06 22:36 
AnswerRe: Registry Pin
Christian Graus24-Sep-06 23:26
protectorChristian Graus24-Sep-06 23:26 
JokeRe: Registry Pin
Nader Elshehabi24-Sep-06 23:46
Nader Elshehabi24-Sep-06 23:46 

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.