コード例 #1
0
        private void NewSB_Click(object sender, EventArgs e)
        {
            EmployeePositionData form = new EmployeePositionData("new", null, employeeId);

            form.ShowDialog();
            Fill();
        }
コード例 #2
0
 private void EditSB_Click(object sender, EventArgs e)
 {
     EmployeePositionData form = new EmployeePositionData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value), employeeId);
     form.ShowDialog();
     manager.Save();
     manager = new ContextManager();
     Fill();
 }
コード例 #3
0
        private void EditSB_Click(object sender, EventArgs e)
        {
            EmployeePositionData form = new EmployeePositionData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value), employeeId);

            form.ShowDialog();
            manager.Save();
            manager = new ContextManager();
            Fill();
        }
コード例 #4
0
 private void NewSB_Click(object sender, EventArgs e)
 {
     EmployeePositionData form = new EmployeePositionData("new", null, employeeId);
     form.ShowDialog();
     Fill();
 }