コード例 #1
0
        public MainFrm()
        {
            InitializeComponent();

            Text = GetVersionString();

            LauncherHelper.LoadBanlist();

            var loginTab = new TabPage("Login");
            m_loginWindow = new LoginFrm();
            loginTab.Controls.Add(m_loginWindow);
            mainTabs.TabPages.Add(loginTab);
            m_chatWindow = new ChatFrm();
            GameWindow = new HubGameList_frm();
            m_rankingWindow = new RankingFrm();
            m_devpointWindow = new SupportFrm();
            m_filemanagerWindow = new FileManagerFrm();
            m_customizerWindow = new CustomizeFrm();

            Program.ChatServer.ServerMessage += ServerMessage;

            mainTabs.SelectedIndexChanged += TabChange;

            ApplyTranslation();
        }
コード例 #2
0
        public MainFrm()
        {
            InitializeComponent();

            Text = GetVersionString();

            LauncherHelper.LoadBanlist();

            var loginTab = new TabPage("Login");

            m_loginWindow = new LoginFrm();
            loginTab.Controls.Add(m_loginWindow);
            mainTabs.TabPages.Add(loginTab);
            m_chatWindow        = new ChatFrm();
            GameWindow          = new HubGameList_frm();
            m_rankingWindow     = new RankingFrm();
            m_devpointWindow    = new SupportFrm();
            m_filemanagerWindow = new FileManagerFrm();
            m_customizerWindow  = new CustomizeFrm();

            Program.ChatServer.ServerMessage += ServerMessage;

            mainTabs.SelectedIndexChanged += TabChange;

            ApplyTranslation();
        }
コード例 #3
0
ファイル: Main_frm.cs プロジェクト: embelcourt/DevProLauncher
        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_wcsBrowser = new Browser_frm();
            m_wcsBrowser.FormBorderStyle = FormBorderStyle.None;
            m_chatWindow                 = new ChatFrm();
            GameWindow                   = new HubGameList_frm();
            m_rankingWindow              = new RankingFrm();
            m_devpointWindow             = new SupportFrm();
            m_filemanagerWindow          = new FileManagerFrm();
            m_customizerWindow           = new CustomizeFrm();
            m_faqBrowser                 = new Browser_frm();
            m_faqBrowser.FormBorderStyle = FormBorderStyle.None;

            Program.ChatServer.ServerMessage += ServerMessage;

            mainTabs.SelectedIndexChanged += TabChange;

            ApplyTranslation();
        }
コード例 #4
0
ファイル: Main_frm.cs プロジェクト: Bromantic/DevProLauncher
        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_wcsBrowser = new Browser_frm();
            m_wcsBrowser.FormBorderStyle = FormBorderStyle.None;
            m_chatWindow = new ChatFrm();
            GameWindow = new HubGameList_frm();
            m_rankingWindow = new RankingFrm();
            m_devpointWindow = new SupportFrm();
            m_filemanagerWindow = new FileManagerFrm();
            m_customizerWindow = new CustomizeFrm();
            m_faqBrowser = new Browser_frm();
            m_faqBrowser.FormBorderStyle = FormBorderStyle.None;

            Program.ChatServer.ServerMessage += ServerMessage;

            mainTabs.SelectedIndexChanged += TabChange;

            ApplyTranslation();
        }