Click here to Skip to main content
15,889,034 members
Home / Discussions / C#
   

C#

 
AnswerRe: No overload for method 'Open' takes '13' arguments.... Pin
Luc Pattyn18-Aug-07 0:26
sitebuilderLuc Pattyn18-Aug-07 0:26 
QuestionImporting xsd Pin
dnlstffrd17-Aug-07 19:57
dnlstffrd17-Aug-07 19:57 
QuestionRe:Displaying child windows Pin
RameshwerE17-Aug-07 19:34
RameshwerE17-Aug-07 19:34 
AnswerRe:Displaying child windows Pin
Rocky#17-Aug-07 19:50
Rocky#17-Aug-07 19:50 
AnswerRe:Displaying child windows Pin
Christian Graus17-Aug-07 20:14
protectorChristian Graus17-Aug-07 20:14 
AnswerRe:Displaying child windows Pin
Doug.Chen17-Aug-07 21:54
Doug.Chen17-Aug-07 21:54 
QuestionRe:Displaying child windows Pin
Doug.Chen17-Aug-07 21:59
Doug.Chen17-Aug-07 21:59 
AnswerRe:Displaying child windows Pin
Hessam Jalali17-Aug-07 22:10
Hessam Jalali17-Aug-07 22:10 
just pass the main form to child form and then call Hide method of the main through child or before showing it (from the MainForm)

and you can do that vice versa for showing main again and hiding child

namespace Test2
{

    public partial class MainForm : Form
    {
        ChildForm child;

        public MainForm()
        {
            InitializeComponent();
            this.child = new ChildForm(this);
        }

        private void hideAndShowChld_Click(object sender, EventArgs e)
        {
            this.Hide();
            this.child.Show();
        }
    }



    public partial class ChildForm : Form
    {
        MainForm main;

        public ChildForm(MainForm form)
        {
            InitializeComponent();
            this.main = form;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            this.main.Show();

        }
    }
}



good luck
Questionbinpath Pin
sima_m17-Aug-07 19:28
sima_m17-Aug-07 19:28 
AnswerRe: binpath Pin
Paul Conrad18-Aug-07 3:25
professionalPaul Conrad18-Aug-07 3:25 
QuestionDate Conversion Pin
Parvai17-Aug-07 19:27
Parvai17-Aug-07 19:27 
AnswerRe: Date Conversion Pin
Christian Graus17-Aug-07 20:19
protectorChristian Graus17-Aug-07 20:19 
AnswerRe: Date Conversion Pin
Luc Pattyn18-Aug-07 0:32
sitebuilderLuc Pattyn18-Aug-07 0:32 
AnswerRe: Date Conversion Pin
PIEBALDconsult18-Aug-07 10:05
mvePIEBALDconsult18-Aug-07 10:05 
Questionhow to send a complex message in msmq [modified] Pin
zencer17-Aug-07 18:43
zencer17-Aug-07 18:43 
Questioncomparing two versions of the same document side-by-side graphically Pin
vkponugoti17-Aug-07 16:28
vkponugoti17-Aug-07 16:28 
Questiongraphics in C# Pin
shaikhooo17-Aug-07 14:23
shaikhooo17-Aug-07 14:23 
AnswerRe: graphics in C# Pin
Luc Pattyn17-Aug-07 14:33
sitebuilderLuc Pattyn17-Aug-07 14:33 
QuestionRole based security Pin
MBursill17-Aug-07 13:39
MBursill17-Aug-07 13:39 
QuestionHandling large blocks of memory in C# Pin
sbpont17-Aug-07 11:40
sbpont17-Aug-07 11:40 
AnswerRe: Handling large blocks of memory in C# Pin
Luc Pattyn17-Aug-07 11:46
sitebuilderLuc Pattyn17-Aug-07 11:46 
AnswerRe: Handling large blocks of memory in C# Pin
Guffa17-Aug-07 12:37
Guffa17-Aug-07 12:37 
QuestionPrint contents of a textbox Pin
LCI17-Aug-07 10:25
LCI17-Aug-07 10:25 
QuestionSystem Language Pin
Thaer Hamael17-Aug-07 10:00
Thaer Hamael17-Aug-07 10:00 
AnswerRe: System Language Pin
snorkie17-Aug-07 10:19
professionalsnorkie17-Aug-07 10:19 

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.