private void btnAccount_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; var myForm = new frm_AccountManager(); myForm.Show(); this.Hide(); }
private void btnmanageaccounts_Click(object sender, EventArgs e) { var pleaseWait = new frm_PleaseWait(); pleaseWait.Show(); Application.DoEvents(); Cursor.Current = Cursors.WaitCursor; var myForm = new frm_AccountManager(); myForm.Show(); pleaseWait.Hide(); this.Hide(); }