示例#1
0
 private void EditStaffBtn_Click(object sender, EventArgs e)
 {
     if (StaffTable.SelectedRows.Count > 0)
     {
         StaffAddForm SAF = new StaffAddForm(true, 1, "");
         SAF.Show();
         StaffTable.DataSource = Staffs.GetStaffTable();
     }
 }
示例#2
0
        private void AddStaffBtn_Click(object sender, EventArgs e)
        {
            StaffAddForm SAF = new StaffAddForm(false, 1, "");

            SAF.Show();
        }