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