Home > Net >  C # to jump to Form1 don't show Form2
C # to jump to Form1 don't show Form2

Time:09-18

Private void button1_Click (object sender, EventArgs e)
{
This. Hide ();
Enclosing ShowInTaskbar=false;

Form2 f2=new Form2 ();
F2. ShowDialog ();
}

CodePudding user response:

Didn't you take this form to Hide? What's the problem?

CodePudding user response:

Do you want to make form1 show or not show?
  •  Tags:  
  • C #
  • Related