예제 #1
0
        public void Initialize(uscServerConnection uscParent)
        {
            this.m_uscParent = uscParent;

            this.cboPlayerList.Items.Add(new CPlayerInfo("", String.Empty, -10, -10));
            this.cboPlayerList.SelectedIndex = 0;
        }
예제 #2
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;
        }
예제 #3
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";
        }
예제 #4
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";
        }
예제 #5
0
        private const int INT_MAX_TEAMS = 5; //0 = neutral, 1, 2, 3, 4..
        
        public uscPlayerListPanel() {
            InitializeComponent();

            this.m_clocLanguage = null;
            this.m_lvwColumnSorter = new PlayerListColumnSorter();
            this.m_frmMain = null;
            this.m_uscConnectionPanel = null;

            this.m_spPrivileges = new CPrivileges();
            this.m_spPrivileges.PrivilegesFlags = CPrivileges.FullPrivilegesFlags;

            this.spltListAdditionalInfo.Panel2Collapsed = true;
            this.spltTwoSplit.Panel2Collapsed = true;
            this.spltFourSplit.Panel2Collapsed = true;
        }
예제 #6
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel)
        {
            this.m_frmMain            = frmMain;
            this.m_uscConnectionPanel = uscConnectionPanel;
            //this.m_uscParentPanel = uscParentPanel;

            this.picLayerForwardedTestStatus.Image = this.m_frmMain.picPortCheckerUnknown.Image; //  .iglPRoConLayerIcons.Images[uscServerConnection.INT_ICON_LAYERSERVER_PORTCHECK_UNKNOWN];
            this.picLayerServerStatus.Image        = this.m_frmMain.picLayerOffline.Image;       // .iglPRoConLayerIcons.Images[uscServerConnection.INT_ICON_LAYERSERVER_OFFLINE];

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

            this.lsvLayerAccounts.SmallImageList = this.m_frmMain.iglIcons;
        }
예제 #7
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"];
        }
예제 #8
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"];
        }
예제 #9
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.lsvLoadedPlugins.CreateGraphics();
        }
예제 #10
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel) {
            this.m_frmMain = frmMain;
            this.m_uscConnectionPanel = uscConnectionPanel;
            //this.m_uscParentPanel = uscParentPanel;

            this.picLayerForwardedTestStatus.Image = this.m_frmMain.picPortCheckerUnknown.Image; //  .iglPRoConLayerIcons.Images[uscServerConnection.INT_ICON_LAYERSERVER_PORTCHECK_UNKNOWN];
            this.picLayerServerStatus.Image = this.m_frmMain.picLayerOffline.Image; // .iglPRoConLayerIcons.Images[uscServerConnection.INT_ICON_LAYERSERVER_OFFLINE];

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

            this.lsvLayerAccounts.SmallImageList = this.m_frmMain.iglIcons;
        }
예제 #11
0
        public void Initialize(frmMain frmMainWindow, uscServerConnection uscConnectionPanel) {
            this.m_frmMain = frmMainWindow;
            this.m_uscConnectionPanel = 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.m_frmMain.iglFlags;
            this.lsvTeamTwoPlayers.SmallImageList = this.m_frmMain.iglFlags;
            this.lsvTeamThreePlayers.SmallImageList = this.m_frmMain.iglFlags;
            this.lsvTeamFourPlayers.SmallImageList = this.m_frmMain.iglFlags;
            this.lsvTeamOnePlayers.ListViewItemSorter = this.m_lvwColumnSorter;
            this.lsvTeamTwoPlayers.ListViewItemSorter = this.m_lvwColumnSorter;
            this.lsvTeamThreePlayers.ListViewItemSorter = this.m_lvwColumnSorter;
            this.lsvTeamFourPlayers.ListViewItemSorter = this.m_lvwColumnSorter;

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

            this.btnSplitTeams.ImageList = this.m_frmMain.iglIcons;
            this.btnSplitTeams.ImageKey = "application_tile_horizontal.png";

            this.cboEndRound.SelectedIndex = 0;
        }
예제 #12
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.lsvLoadedPlugins.CreateGraphics();
        }
예제 #13
0
 public void Initialize(uscServerConnection uscConnectionPanel)
 {
     this.m_uscConnectionPanel = uscConnectionPanel;
 }
예제 #14
0
        public void Initialize(uscServerConnection uscParent) {
            this.m_uscParent = uscParent;

            this.cboPlayerList.Items.Add(new CPlayerInfo("", String.Empty, -10, -10));
            this.cboPlayerList.SelectedIndex = 0;
        }
예제 #15
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";

        }
예제 #16
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;
        }
예제 #17
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel)
        {
            this.m_uscConnectionPanel = uscConnectionPanel;

            this.picConnecting.Image = frmMain.picAjaxStyleLoading.Image;
        }
예제 #18
0
 public void Initialize(uscServerConnection uscConnectionPanel) {
     this.m_uscConnectionPanel = uscConnectionPanel;
 }
예제 #19
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";
        }
예제 #20
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.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);
        }
예제 #21
0
        public void Initalize(frmMain frmMain, uscServerConnection uscConnectionPanel)
        {
            this.m_uscConnectionPanel = uscConnectionPanel;

            this.picConnecting.Image = frmMain.picAjaxStyleLoading.Image;
        }