private void button6_Click(object sender, EventArgs e) { Hide( ); using (FormModbus form = new FormModbus()) { form.ShowDialog( ); } Show( ); }
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( ); }