private void button21_Click(object sender, EventArgs e) { Hide( ); using (FormModbusRtu form = new FormModbusRtu( )) { form.ShowDialog( ); } Show( ); }
private void button21_Click(object sender, EventArgs e) { Hide( ); System.Threading.Thread.Sleep(200); using (FormModbusRtu form = new FormModbusRtu( )) { form.ShowDialog( ); } System.Threading.Thread.Sleep(200); Show( ); }