Exemple #1
0
        private void NewSB_Click(object sender, EventArgs e)
        {
            EmployeeData form = new EmployeeData("new", null);

            form.ShowDialog();
            FillGrid();
        }
Exemple #2
0
        private void EditSB_Click(object sender, EventArgs e)
        {
            EmployeeData form = new EmployeeData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value));

            form.ShowDialog();
            manager.Save();
            FillGrid();
        }
Exemple #3
0
 private void EditSB_Click(object sender, EventArgs e)
 {
     EmployeeData form = new EmployeeData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value));
     form.ShowDialog();
     manager.Save();
     FillGrid();
 }
Exemple #4
0
 private void NewSB_Click(object sender, EventArgs e)
 {
     EmployeeData form = new EmployeeData("new", null);
     form.ShowDialog();
     FillGrid();
 }