Example #1
0
 private void ExecuteEditGoodsTypesCommandDo()
 {
     ZoneTypes[SelectedGoodsTypesIndex].ZoneName   = TextBoxString;
     ZoneTypes[SelectedGoodsTypesIndex].Zone.Color = TextColorString;
     ExecuteSaveAllCommand.RaiseCanExecuteChanged();
     MessageBoxResult confirmToDel = MessageBox.Show(Localiztion.Resource.GoodsTypes_BT_Modify);
 }
Example #2
0
 private void ExecuteDeleteGoodsTypesCommandDo()
 {
     _deleteZones.Add(ZoneTypes[SelectedGoodsTypesIndex].Zone);
     ZoneTypes.RemoveAt(SelectedGoodsTypesIndex);
     SelectedGoodsTypesIndex = -1;
     ExecuteSaveAllCommand.RaiseCanExecuteChanged();
     Inti();
 }