Пример #1
0
 internal static QApplicationFactoryBase GetInstance()
 {
     if (_instance == null)
     {
         _instance = new QApplicationFactory();
     }
     return(_instance);
 }
Пример #2
0
        internal QClient(QApplicationFactoryBase applicationFactory, string clientUserName, string clientPassword, string adminUserName, string adminPassword, string accountDomain, int hours)
        {
            ApplicationFactory = applicationFactory;
            ClientUserName     = clientUserName;
            ClientPassword     = clientPassword;
            AdminUserName      = adminUserName;
            AdminPassword      = adminPassword;
            AccountDomain      = accountDomain;
            Hours = hours;

            Login();
        }