예제 #1
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscParent) {

            this.m_frmMain = frmMainWindow;

            this.uscPlugins.Initialize(this.m_frmMain, uscParent);
            this.lsvLayerAccounts.SmallImageList = this.m_frmMain.iglIcons;
        }
예제 #2
0
        public void Initialize(uscServerConnection uscParent)
        {
            this.m_uscParent = uscParent;

            this.cboPlayerList.Items.Add(new CPlayerInfo("", String.Empty, -10, -10));
            this.cboPlayerList.SelectedIndex = 0;
        }
예제 #3
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscParent)
        {
            this.m_frmMain = frmMainWindow;

            this.uscPlugins.Initialize(this.m_frmMain, uscParent);
            this.lsvLayerAccounts.SmallImageList = this.m_frmMain.iglIcons;
        }
예제 #4
0
        public uscPluginPanel()
        {
            InitializeComponent();

            this.m_frmMain   = null;
            this.m_uscParent = null;

            if (this.webDescription.Document == null)
            {
                this.webDescription.Navigate("about:blank");
                this.webDescription.Document.Window.Name = "hi";
            }
            this.webDescription.Navigating += new WebBrowserNavigatingEventHandler(webDescription_Navigating);

            this.m_asmBuilder        = Thread.GetDomain().DefineDynamicAssembly(new AssemblyName("PRoConPluginEnumAssembly"), AssemblyBuilderAccess.Run);
            this.m_modBuilder        = this.m_asmBuilder.DefineDynamicModule("PRoConPluginEnumModule");
            this.m_dicGeneratedEnums = new Dictionary <string, Enum>();

            this.m_cscPluginVariables = new CustomClass();

            this.m_blLocalPlugins = true;

            this.rtbScriptConsole.Flushed += new Action <object, EventArgs>(rtbScriptConsole_Flushed);

            this.lsvLoadedPlugins.CreateGraphics();
        }
예제 #5
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscParent)
        {
            this.m_uscParent     = uscParent;
            this.m_frmMainWindow = frmMainWindow;

            this.tbcConsoles.ImageList  = this.m_frmMainWindow.iglIcons;
            this.tabConsole.ImageKey    = "application_xp_terminal.png";
            this.tabPunkbuster.ImageKey = "punkbuster.png";
        }
예제 #6
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscParent) {
            this.m_uscParent = uscParent;
            this.m_frmMainWindow = frmMainWindow;

            this.tbcConsoles.ImageList = this.m_frmMainWindow.iglIcons;
            this.tabConsole.ImageKey = "application_xp_terminal.png";
            this.tabPunkbuster.ImageKey = "punkbuster.png";

        }
예제 #7
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscParent)
        {
            this.m_frmMain   = frmMainWindow;
            this.m_uscParent = uscParent;

            this.tbcPluginDetails.ImageList      = this.m_frmMain.iglIcons;
            this.lsvLoadedPlugins.SmallImageList = this.m_frmMain.iglIcons;

            this.tabPluginDetails.ImageKey  = "information.png";
            this.tabPluginSettings.ImageKey = "plugin_edit.png";
        }
예제 #8
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel) {
            this._main = frmMain;

            this.picLayerServerStatus.Image = this._main.picLayerOffline.Image;

            this.pnlMainLayerServer.Dock = DockStyle.Fill;
            this.pnlStartPRoConLayer.Dock = DockStyle.Fill;
            this.pnlAccountPrivileges.Dock = DockStyle.Fill;

            this.lsvLayerAccounts.SmallImageList = this._main.iglIcons;
        }
예제 #9
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel)
        {
            this._main = frmMain;

            this.picLayerServerStatus.Image = this._main.picLayerOffline.Image;

            this.pnlMainLayerServer.Dock   = DockStyle.Fill;
            this.pnlStartPRoConLayer.Dock  = DockStyle.Fill;
            this.pnlAccountPrivileges.Dock = DockStyle.Fill;

            this.lsvLayerAccounts.SmallImageList = this._main.iglIcons;
        }
예제 #10
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel)
        {
            this.m_frmMain            = frmMain;
            this.m_uscConnectionPanel = uscConnectionPanel;

            this.lsvEvents.SmallImageList = this.m_frmMain.iglIcons;

            this.btnRemoveCapture.ImageList = this.m_frmMain.iglIcons;
            this.btnRemoveCapture.ImageKey  = "cross.png";

            this.btnAddCapture.ImageList = this.m_frmMain.iglIcons;
            this.btnAddCapture.ImageKey  = "add.png";

            this.picOpenCloseCaptures.Image = this.m_frmMain.iglIcons.Images["arrow_right.png"];
        }
예제 #11
0
 public void Initialize(uscServerConnection uscConnectionPanel) {
     this.m_uscConnectionPanel = uscConnectionPanel;
 }
예제 #12
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscConnectionPanel) {
            this.Main = frmMainWindow;
            this.ConnectionPanel = uscConnectionPanel;

            this.kbpPunkbusterPunishPanel.Punkbuster = true;
            this.kbpPunkbusterPunishPanel.PunishPlayer += new uscPlayerPunishPanel.PunishPlayerDelegate(kbpPunkbusterPunishPanel_PunishPlayer);
            this.kbpPunkbusterPunishPanel.Initialize(uscConnectionPanel);
            this.kbpBfbcPunishPanel.PunishPlayer += new uscPlayerPunishPanel.PunishPlayerDelegate(kbpBfbcPunishPanel_PunishPlayer);
            this.kbpBfbcPunishPanel.Initialize(uscConnectionPanel);

            this.lsvTeamOnePlayers.SmallImageList = this.Main.iglFlags;
            this.lsvTeamTwoPlayers.SmallImageList = this.Main.iglFlags;
            this.lsvTeamThreePlayers.SmallImageList = this.Main.iglFlags;
            this.lsvTeamFourPlayers.SmallImageList = this.Main.iglFlags;
            this.lsvTeamOnePlayers.ListViewItemSorter = this.ColumnSorter;
            this.lsvTeamTwoPlayers.ListViewItemSorter = this.ColumnSorter;
            this.lsvTeamThreePlayers.ListViewItemSorter = this.ColumnSorter;
            this.lsvTeamFourPlayers.ListViewItemSorter = this.ColumnSorter;

            this.btnCloseAdditionalInfo.ImageList = this.Main.iglIcons;
            this.btnCloseAdditionalInfo.ImageKey = @"cross.png";

            this.btnSplitTeams.ImageList = this.Main.iglIcons;
            this.btnSplitTeams.ImageKey = @"application_tile_horizontal.png";

            this.cboEndRound.SelectedIndex = 0;
        }
예제 #13
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscConnectionPanel) {
            this.m_frmMain = frmMainWindow;
            this.m_uscConnectionPanel = uscConnectionPanel;

            this.uscMaplist1.Initialize(frmMainWindow, uscConnectionPanel);

            this.tbcLists.ImageList = this.m_frmMain.iglIcons;

            this.tabBanlist.ImageKey = "mouse_ban.png";
            this.tabMaplist.ImageKey = "world.png";
            this.tabReservedSlots.ImageKey = "user.png";
            this.tabSpectatorSlots.ImageKey = "user.png";

            this.btnBanlistRefresh.ImageList = this.m_frmMain.iglIcons;
            this.btnBanlistRefresh.ImageKey = "arrow_refresh.png";

            this.picBansFilterMagnifier.Image = this.m_frmMain.iglIcons.Images["magnifier.png"];

            this.btnReservedRemoveSoldier.ImageList = this.m_frmMain.iglIcons;
            this.btnReservedRemoveSoldier.ImageKey = "cross.png";

            this.btnReservedSlotsListRefresh.ImageList = this.m_frmMain.iglIcons;
            this.btnReservedSlotsListRefresh.ImageKey = "arrow_refresh.png";

            this.btnSpectatorRemoveSoldier.ImageList = this.m_frmMain.iglIcons;
            this.btnSpectatorRemoveSoldier.ImageKey = "cross.png";

            this.btnSpectatorSlotsListRefresh.ImageList = this.m_frmMain.iglIcons;
            this.btnSpectatorSlotsListRefresh.ImageKey = "arrow_refresh.png";

            this.picCloseOpenManualBans.Image = this.m_frmMain.iglIcons.Images["arrow_down.png"];

            this.picBanlistIPError.Image = this.picBanlistGUIDError.Image = this.m_frmMain.iglIcons.Images["cross.png"];
            //this.picBanlistManualBanOkay.Image = this.m_frmMain.iglIcons.Images["tick.png"];

            this.copyToolStripMenuItem.Image = this.m_frmMain.iglIcons.Images["page_copy.png"];

            this.uscTextChatModerationListcs1.Initialize(frmMainWindow);
        }
예제 #14
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel)
        {
            this.m_uscConnectionPanel = uscConnectionPanel;

            this.picConnecting.Image = frmMain.picAjaxStyleLoading.Image;
        }
예제 #15
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel) {
            this.m_frmMain = frmMain;
            this.m_uscConnectionPanel = uscConnectionPanel;

            this.lsvEvents.SmallImageList = this.m_frmMain.iglIcons;

            this.btnRemoveCapture.ImageList = this.m_frmMain.iglIcons;
            this.btnRemoveCapture.ImageKey = "cross.png";

            this.btnAddCapture.ImageList = this.m_frmMain.iglIcons;
            this.btnAddCapture.ImageKey = "add.png";

            this.picOpenCloseCaptures.Image = this.m_frmMain.iglIcons.Images["arrow_right.png"];
        }
예제 #16
0
 public void Initialize(uscServerConnection uscConnectionPanel)
 {
     this.m_uscConnectionPanel = uscConnectionPanel;
 }
예제 #17
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscParent) {

            this.m_frmMain = frmMainWindow;
            this.m_uscParent = uscParent;

            this.tbcPluginDetails.ImageList = this.m_frmMain.iglIcons;
            this.lsvLoadedPlugins.SmallImageList = this.m_frmMain.iglIcons;

            this.tabPluginDetails.ImageKey = "information.png";
            this.tabPluginSettings.ImageKey = "plugin_edit.png";
        }
예제 #18
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel) {
            this.m_uscConnectionPanel = uscConnectionPanel;

            this.picConnecting.Image = frmMain.picAjaxStyleLoading.Image;
        }
예제 #19
0
        public void Initialize(uscServerConnection uscParent) {
            this.m_uscParent = uscParent;

            this.cboPlayerList.Items.Add(new CPlayerInfo("", String.Empty, -10, -10));
            this.cboPlayerList.SelectedIndex = 0;
        }
예제 #20
0
파일: frmMain.cs 프로젝트: EBassie/Procon-1
        private void Connections_ConnectionAdded(PRoConClient item) {
            this.InvokeIfRequired(() => {
                uscServerConnection uscNewConnectionPanel = null;

                uscNewConnectionPanel = new uscServerConnection(this.m_paProcon, item, this, this.m_frmManageAccounts);
                uscNewConnectionPanel.Dock = DockStyle.Fill;
                //uscNewConnectionPanel.SetLocalization(this.m_clocLanguage);
                //uscNewConnectionPanel.BFBC2Connection.Connect();

                uscNewConnectionPanel.ManageAccountsRequest += new uscServerConnection.ManageAccountsRequestDelegate(uscServerConnection_ManageAccountsRequest);
                uscNewConnectionPanel.OnTabChange += new uscServerConnection.OnTabChangeDelegate(uscNewConnectionPanel_OnTabChange);

                this.pnlWindows.Controls.Add(uscNewConnectionPanel);
                this.m_dicPages.Add(item.HostNamePort, uscNewConnectionPanel);

                this.cboServerList.ComboBox.Items.Add(uscNewConnectionPanel);
                if (this.cboServerList.SelectedItem == null) {
                    this.cboServerList.SelectedItem = uscNewConnectionPanel;
                }

                item.ConnectionClosed += new PRoConClient.EmptyParamterHandler(item_ConnectionClosed);
                item.ConnectionFailure += new PRoConClient.FailureHandler(item_ConnectionFailure);
                item.ConnectSuccess += new PRoConClient.EmptyParamterHandler(item_ConnectSuccess);
                item.Login += new PRoConClient.EmptyParamterHandler(item_Login);
                item.ConnectAttempt += new PRoConClient.EmptyParamterHandler(item_ConnectAttempt);
                item.GameTypeDiscovered += new PRoConClient.EmptyParamterHandler(item_GameTypeDiscovered);
                item.AutomaticallyConnectChanged += new PRoConClient.AutomaticallyConnectHandler(item_AutomaticallyConnectChanged);

                this.RefreshServerListing();
            });
        }
예제 #21
0
        public uscPluginPanel() {
            InitializeComponent();

            this.m_frmMain = null;
            this.m_uscParent = null;

            if (this.webDescription.Document == null) {
                this.webDescription.Navigate("about:blank");
                this.webDescription.Document.Window.Name = "hi";
            }
            this.webDescription.Navigating += new WebBrowserNavigatingEventHandler(webDescription_Navigating);

            this.m_asmBuilder = Thread.GetDomain().DefineDynamicAssembly(new AssemblyName("PRoConPluginEnumAssembly"), AssemblyBuilderAccess.Run);
            this.m_modBuilder = this.m_asmBuilder.DefineDynamicModule("PRoConPluginEnumModule");
            this.m_dicGeneratedEnums = new Dictionary<string, Enum>();

            this.m_cscPluginVariables = new CustomClass();

            this.m_blLocalPlugins = true;

            this.rtbScriptConsole.Flushed += new Action<object, EventArgs>(rtbScriptConsole_Flushed);

            this.lsvLoadedPlugins.CreateGraphics();
        }