示例#1
0
 protected virtual void AcceptParameters(LogonActionParametersBase parameters, SimpleActionExecuteEventArgs e)
 {
     /*   Guard.ArgumentNotNull(parameters, "parameters");
      * parameters.ExecuteBusinessLogic(Application.CreateObjectSpace());
      * RegisterUserParameters registerUserParameters = parameters as RegisterUserParameters;
      * if (registerUserParameters != null)
      * {
      *     LogonController lc = Frame.GetController<LogonController>();
      *     if (lc != null)
      *     {
      *         lc.AcceptAction.Active.RemoveItem(LogonActionParametersActiveKey);
      *         AuthenticationStandardLogonParameters securitySystemLogonParameters = (AuthenticationStandardLogonParameters)SecuritySystem.LogonParameters;
      *         securitySystemLogonParameters.UserName = registerUserParameters.Usuario;
      *         securitySystemLogonParameters.Password = registerUserParameters.Password;
      *         lc.AcceptAction.DoExecute();
      *     }
      * }
      * else
      *     CloseParametersView();*/
 }
示例#2
0
 protected virtual void CancelParameters(LogonActionParametersBase parameters)
 {
     CloseParametersView();
 }