示例#1
0
        public MainFrm()
        {
            InitializeComponent();

            var version = Program.Version.ToCharArray();

            Text = "DevPro" + " v" + version[0] + "." + version[1] + "." + version[2] + " r" + Program.Version[3];

            LauncherHelper.LoadBanlist();

            var loginTab = new TabPage("Login");

            m_loginWindow = new LoginFrm();
            loginTab.Controls.Add(m_loginWindow);
            mainTabs.TabPages.Add(loginTab);

            m_chatWindow        = new ChatFrm();
            m_gameWindow        = new GameListFrm("DevPro");
            m_devpointWindow    = new SupportFrm();
            m_filemanagerWindow = new FileManagerFrm();
            m_customizerWindow  = new CustomizeFrm();
            LauncherHelper.CardManager.Init();

            var connectThread = new Thread(Loaded);

            connectThread.Start();
        }
示例#2
0
        public MainFrm()
        {
            InitializeComponent();

            var version = Program.Version.ToCharArray();
            Text = "DevPro" + " v" + version[0] + "." + version[1] + "." + version[2] + " r" + Program.Version[3];

            LauncherHelper.LoadBanlist();

            var loginTab = new TabPage("Login");
            m_loginWindow = new LoginFrm();
            loginTab.Controls.Add(m_loginWindow);
            mainTabs.TabPages.Add(loginTab);

            m_chatWindow = new ChatFrm();
            m_gameWindow = new GameListFrm("DevPro");
            m_devpointWindow = new SupportFrm();
            m_filemanagerWindow = new FileManagerFrm();
            m_customizerWindow = new CustomizeFrm();
            LauncherHelper.CardManager.Init();

            var connectThread = new Thread(Loaded);
            connectThread.Start();
        }