Example #1
0
        public TimeServerPasswordViewModel()
        {
            Response = TimeServerPasswordResponse.Cancel;

            OkCommand     = new DelegateCommand(ExecuteOk, CanExecuteOk);
            RemoveCommand = new DelegateCommand(ExecuteRemove);
        }
 private void ExecuteRemove(object obj)
 {
     _timeServerPassword  = "";
     _timeServerLoginName = "";
     Response             = TimeServerPasswordResponse.Remove;
     RaiseCloseView(true);
 }
 private void ExecuteOk(object obj)
 {
     Response = TimeServerPasswordResponse.OK;
     RaiseCloseView(true);
 }