Пример #1
0
 private void button6_Click(object sender, EventArgs e)
 {
     Hide( );
     using (FormModbus form = new FormModbus())
     {
         form.ShowDialog( );
     }
     Show( );
 }
Пример #2
0
 private void button6_Click(object sender, EventArgs e)
 {
     Hide( );
     System.Threading.Thread.Sleep(200);
     using (FormModbus form = new FormModbus())
     {
         form.ShowDialog( );
     }
     System.Threading.Thread.Sleep(200);
     Show( );
 }