private void button4_Click(object sender, EventArgs e) { Cursor = Cursors.WaitCursor; button4.Enabled = false; AdminReg newadminreg = new AdminReg(); newadminreg.Show(); button4.Enabled = true; Cursor = Cursors.Default; }
private void button1_Click(object sender, EventArgs e) { AdminReg obj = new AdminReg(); obj.Show(); }