Beispiel #1
0
        public static string GetSecrectKey()
        {
            RDSDataManager manager        = new RDSDataManager();
            var            initTimeString = manager.GetInitTime();

            return(GetSecrectKey(initTimeString));
        }
Beispiel #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            RDSDataManager dataManager = new RDSDataManager();
            var            secKey      = dataManager.GetSecrectKey();
            var            initTime    = dataManager.GetInitTime();

            if (string.IsNullOrWhiteSpace(secKey) || string.IsNullOrWhiteSpace(initTime))
            {
                Application.Run(new InitForm());
            }
            else
            {
                Application.Run(new LoginForm());
            }
        }