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