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