Exemple #1
0
        private void btnCancel_Click(object sender, EventArgs e)
        {
            frmUpdateStaff formCalled = new frmUpdateStaff();

            formCalled.Show();
            this.Close();
        }
Exemple #2
0
        private void btnUpdateStaff_Click(object sender, EventArgs e)
        {
            frmUpdateStaff fc = new frmUpdateStaff();

            fc.Show();
            this.Close();
        }
        private void btnUpdateStaff_Click(object sender, EventArgs e)
        {
            //instantiate a new form and display it
            frmUpdateStaff formcalled = new frmUpdateStaff();

            formcalled.Show();
            this.Close();
        }