예제 #1
0
 protected override void IncomingParameter(object parameter)
 {
     UserInteraction();
     originalSheet = parameter as InfoSheet;
     Sheet         = (InfoSheet)originalSheet?.Clone();
     InEditMode    = originalSheet != null;
     if (Sheet == null)
     {
         Sheet = new InfoSheet {
             Category = InfoSheet.CategoryFilter.Login, Pro = InfoSheet.ProFilter.Personal
         }
     }
     ;
     DeleteCommand.ChangeCanExecute();
     CheckPasswordCommand.ChangeCanExecute();
 }