Пример #1
0
 protected override void ReadLastLogonParametersCore(DevExpress.ExpressApp.Utils.SettingsStorage storage, object logonObject)
 {
     //string databaseName = HttpContext.Current.Request.Params[WebChangeDatabaseController.DatabaseParameterName];
     if (string.IsNullOrEmpty(((IDatabaseNameParameter)logonObject).DatabaseName))
     {
         base.ReadLastLogonParametersCore(storage, logonObject);
     }
 }
Пример #2
0
        protected override void ReadLastLogonParametersCore(DevExpress.ExpressApp.Utils.SettingsStorage storage, object logonObject)
        {
            AuthenticationStandardLogonParameters standardLogonParameters = logonObject as AuthenticationStandardLogonParameters;

            if ((standardLogonParameters != null) && string.IsNullOrEmpty(standardLogonParameters.UserName))
            {
                base.ReadLastLogonParametersCore(storage, logonObject);
            }
        }
Пример #3
0
        protected override void ReadLastLogonParametersCore(DevExpress.ExpressApp.Utils.SettingsStorage storage, object logonObject)
        {
            // TI
            AuthenticationStandardLogonParameters standardLogonParameters = logonObject as AuthenticationStandardLogonParameters;

            if ((standardLogonParameters != null) && string.IsNullOrEmpty(standardLogonParameters.UserName))
            {
                base.ReadLastLogonParametersCore(storage, logonObject);
            }

            /*TI
             * //string databaseName = HttpContext.Current.Request.Params[WebChangeDatabaseController.DatabaseParameterName];
             * if (string.IsNullOrEmpty(((IDatabaseNameParameter)logonObject).DatabaseName))
             * {
             *  base.ReadLastLogonParametersCore(storage, logonObject);
             * }*/
        }