예제 #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmStaff staff = new frmStaff();

            staff.staffView = this;
            staff.ShowDialog();
        }
예제 #2
0
        private void btnView_Click(object sender, EventArgs e)
        {
            if (index < 0)
            {
                return;
            }
            frmStaff staff = new frmStaff();

            staff.staffView = this;
            staff.edit      = true;
            staff.code      = code;
            staff.ShowDialog();
        }