Пример #1
0
 private void AddDptMngBtn_Click(object sender, EventArgs e)
 {
     var DepMgnPP = new DepartmentManagerPP(Database.Connection,this);
     DepMgnPP.Show();
 }
Пример #2
0
 private void EditDeptManagerBtn_Click(object sender, EventArgs e)
 {
     if (DeptManagersListView.SelectedIndices.Count == 1)
     {
         var selManager = DeptManagersProc.Result[DeptManagersListView.SelectedIndices[0]];
         var DepMgnPP = new DepartmentManagerPP(Database.Connection, selManager, this);
         DepMgnPP.Show();
     }
 }