Ejemplo n.º 1
0
 private void LbDepartments_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     changing = ChangeDepartment;
     choosing = ChoosingDepartment;
     adding   = AddDepartment;
     removing = RemoveDepartment;
     choosing?.Invoke();
 }
Ejemplo n.º 2
0
 private void LbEmployees_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     changing = ChangeEmployee;
     choosing = ChoosingEmployee;
     adding   = AddEmployee;
     removing = RemoveEmployee;
     choosing?.Invoke();
 }
Ejemplo n.º 3
0
 public MyArray <T> this[int index]
 {
     get
     {
         return(Arrays[index]);
     }
     set
     {
         Arrays[index] = value;
         ChangeList?.Invoke();
     }
 }
Ejemplo n.º 4
0
 private void frmHallInfo_FormClosed(object sender, FormClosedEventArgs e)
 {
     ChangeList?.Invoke();
 }
Ejemplo n.º 5
0
 private void BtnRemove_Click(object sender, RoutedEventArgs e)
 {
     removing?.Invoke();
 }
Ejemplo n.º 6
0
 private void BtnAdd_Click(object sender, RoutedEventArgs e)
 {
     adding?.Invoke();
 }
Ejemplo n.º 7
0
 private void BtnEdit_Click(object sender, RoutedEventArgs e)
 {
     changing?.Invoke();
     RefreshData();
 }