WPF/C#: Proper implementation for closing/hiding the form while new form is opening
        Posted  
        
            by eibhrum
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by eibhrum
        
        
        
        Published on 2010-04-23T15:09:16Z
        Indexed on 
            2010/04/23
            15:13 UTC
        
        
        Read the original article
        Hit count: 273
        
Hi,
I was looking something similar with winforms like
// in Form 1
this.Hide();    
Form2 form = new Form2();
form.Show
// in Form 2
// if button pressed, Form 1 will be displayed, while Form 2 will be Hide.
I was trying my luck for FormEventHandler but doesn't know where to start.
Any suggestions/ideas?
© Stack Overflow or respective owner