示例#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;
        }