public static DockPanel CreateDockPanel(XMLDockPanel xmlItem, DockManager dockManager)
        {
            DockPanel dockPanel = null;
            dockPanel = AddDockPanel(GetDockStyleFormXml(xmlItem.ItemDockStyle), dockManager);
            if (dockPanel.Dock == DockingStyle.Float)
            {
                int x = Convert.ToInt32(xmlItem.ItemFloatLocation.Split(",".ToCharArray()).ToList()[0]);
                int y = Convert.ToInt32(xmlItem.ItemFloatLocation.Split(",".ToCharArray()).ToList()[1]);
                dockPanel.FloatLocation = new System.Drawing.Point(x, y);
                int width = Convert.ToInt32(xmlItem.ItemSize.Split(",".ToCharArray()).ToList()[0]);
                int height = Convert.ToInt32(xmlItem.ItemSize.Split(",".ToCharArray()).ToList()[1]);
                dockPanel.Size = new System.Drawing.Size();
            }
            else
            {
                dockPanel.FloatLocation = dockPanel.Location;
                dockPanel.FloatSize = dockPanel.Size;
            }

            dockPanel.Name = xmlItem.ItemBindControl;
            dockPanel.Text = xmlItem.ItemText;
            dockPanel.Visibility = xmlItem.ItemVisible == "true" ? DockVisibility.Visible : DockVisibility.Hidden;
            //dockPanel.Tag = new { Form = xmlItem.ItemForm, Dll = xmlItem.ItemDllPath, Control = xmlItem.ItemBindControl };

            dockPanel.ControlContainer.Controls.Add(CreateControl(xmlItem.ItemBindControl, xmlItem.ItemDllPath));
            return dockPanel;
        }
    void Awake()
    {
        iTween.FadeTo(GameObject.Find("Fader"), iTween.Hash("alpha", 0, "time", .5));

        dockManager = GameObject.FindGameObjectWithTag("DockManager").GetComponent<DockManager>();
        playerInv = GameObject.Find("DockedShip").GetComponent<PlayerInventory>();
    }
Exemple #3
0
    public void Redraw()
    {
        UIAnchor anc = GetComponent<UIAnchor>();
        UIPanel pan = GetComponent<UIPanel>();

        anc.side = (UIAnchor.Side)Enum.Parse( typeof( UIAnchor.Side ), _dockArea.ToString() );

        if( _dockManager == null )
            _dockManager = NGUITools.FindInParents<DockManager>( gameObject );

        Vector4 dim = _dockManager.GetArea( this );

        pan.clipping = UIDrawCall.Clipping.AlphaClip;
        pan.clipRange = new Vector4( 0, 0, dim.x + ( _forceOverflow.x * 2 ), dim.y + ( _forceOverflow.y * 2 ) );

        anc.pixelOffset.x = dim.z;
        anc.pixelOffset.y = dim.w;

        anc.enabled = true;

        UIStretch[] strs = GetComponentsInChildren<UIStretch>();
        foreach( UIStretch st in strs )
            st.enabled = true;

        UIAnchor[] ancs = GetComponentsInChildren<UIAnchor>();
        foreach( UIAnchor an in ancs )
            an.enabled = true;
    }
Exemple #4
0
    private void Awake()
    {
        _dockManager = NGUITools.FindInParents<DockManager>( gameObject );

        if( _dockManager == null )
        {
            Debug.LogError( "DockArea " + gameObject.name + " doesn't have an ancestor with DockManager" );
            this.enabled = false;
            return;
        }
    }
Exemple #5
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         ContentWindows.Dispose();
         if (DockManager != null)
         {
             DockManager.RemoveFloatWindow(this);
         }
         m_dockManager = null;
     }
     base.Dispose(disposing);
 }
Exemple #6
0
 protected BaseFloatWindow(DockManager dockManager, bool needReCreate = false)
 {
     _dockManager  = dockManager;
     MinWidth      = 150;
     MinHeight     = 60;
     _widthEceeed  = 0;
     _heightEceeed = 0;
     NeedReCreate  = needReCreate;
     //AllowsTransparency = true;
     //WindowStyle = WindowStyle.None;
     ShowActivated = true;
     Loaded       += OnLoaded;
     Unloaded     += OnUnloaded;
 }
Exemple #7
0
        public void WelCome()
        {
            var crl = CrlFactory.Create <Welcome>((crlvm) =>
            {
            });

            DockManager.CreataOrActiveLayoutPanel(new DockPanelParam()
            {
                Crl          = crl,
                Caption      = "Welcome",
                ToolTip      = "Welcome",
                ProcessStyle = EuProcessStyle.CloseAndNew
            }, "DocumentHost");
        }
Exemple #8
0
        /// <summary>
        /// Renames a folder and applies changes to UI
        /// </summary>
        /// <param name="info">The current rfolder</param>
        /// <param name="newdir">The desired name for the new folder</param>
        public void RenameFolder(DirectoryInfo info, string newdir)
        {
            HashSet <FileDeclaration> affected = MacroUI.GetInstance().RenameFolder(info, newdir);

            foreach (FileDeclaration d in affected)
            {
                DocumentViewModel dvm = DockManager.GetDocument(d);
                if (dvm != null)
                {
                    dvm.ToolTip   = d.Info.Name;
                    dvm.ContentId = d.Info.FullName;
                }
            }
        }
Exemple #9
0
 public override void SwitchProfiles(string old, string newP)
 {
     // save old layout
     SaveLayout(old);
     // load the new layout
     try
     {
         DockManager.RestoreLayout(newP);
     }
     catch (Exception ex)
     {
         Loggy.Logger.DebugException("Cannot switch results layout 2 ", ex);
     }
 }
Exemple #10
0
        public FloatWindow(DockManager dockManager, ContentWindow contentWindow, Rectangle bounds)
        {
            if (dockManager == null)
            {
                throw(new ArgumentNullException(ResourceHelper.GetString("FloatWindow.Constructor.NullDockManager")));
            }

            if (contentWindow == null)
            {
                throw(new ArgumentNullException(ResourceHelper.GetString("FloatWindow.Constructor.NullContentWindow")));
            }

            InternalConstruct(dockManager, contentWindow, true, bounds);
        }
Exemple #11
0
        private void ImportLayoutFromDocument(object sender, RoutedEventArgs e)
        {
            ManagedContent managedContentDocument = DockManager.ActiveDocument as ManagedContent;

            if (managedContentDocument != null)
            {
                if (DockManager.ActiveDocument != null &&
                    managedContentDocument.Content is TextBox)
                {
                    string xml_layout = (managedContentDocument.Content as TextBox).Text;
                    DockManager.LayoutFromString(xml_layout);
                }
            }
        }
Exemple #12
0
 public Shell(
     DrPipeEnvironment environment,
     DialogService dialog,
     ViewService views)
 {
     InitializeComponent();
     AppTitle          = "K-Water Dr.Pipe";
     Dialog            = dialog;
     Views             = views;
     DrPipeEnvironment = environment;
     DockManager       = new DockManager(dockingManager, this);
     RibbonManager     = new RibbonManager(ribbonControlAdv1);
     Appearances.MainRibbon(ribbonControlAdv1);
     Load += async(s, e) => await Initialize();
 }
        public async void progressTerminated(DockManager progress, string word)
        {
            // controller = await progress.ShowProgressAsync("Please wait...","...a little moment");


            //if (controller.IsCanceled)
            //{
            //    await progress.ShowMessageAsync("No cupcakes!", "You stopped baking!");
            //}
            //else
            //{
            await progress.ShowMessageAsync("Done!", word);

            // }
        }
Exemple #14
0
 private void SaveLayout(string filename)
 {
     if (string.IsNullOrEmpty(filename))
     {
         return;
     }
     try
     {
         DockManager.SaveLayout(filename);
     }
     catch (Exception ex)
     {
         Loggy.Logger.Error("Cannot save layout:" + ex.Message);
     }
 }
 void navItem_Click(object sender, EventArgs e)
 {
     if (Panel == null)
     {
         Panel            = DockManager.DockController.AddDocumentPanel(DocumentContainer, new Uri(string.Format("/WebControl;component/Views/{0}.xaml", ViewName), UriKind.Relative));
         Panel.Caption    = NavItem.Content;
         ViewBase         = (ViewBase)Panel.Control;
         ViewBase.NavItem = NavItem;
     }
     else
     {
         DockManager.DockController.Restore(Panel);
     }
     DockManager.Activate(Panel);
 }
Exemple #16
0
        public IDockControl ApplyLayout(DockManager dockManager, IDockControl target, Direction dir)
        {
            var relative = default(IDockControl);

            foreach (var child in _children)
            {
                var ele = dockManager.GetDockControl(child.ID);
                dockManager.AttachTo(ele, target, dir == Direction.Horizontal ? AttachMode.Right : AttachMode.Bottom);
                if (relative == null)
                {
                    relative = ele;
                }
            }
            return(relative);
        }
Exemple #17
0
 public IDockControl TryGetFirstLevelElement(DockManager dockManager, IDockControl target = null, Direction dir = Direction.None, bool isFloat = false)
 {
     if (_children.First.Value.Type == LayoutNodeType.Panel)
     {
         return((_children.First.Value as PanelNode).TryGetFirstLevelElement(dockManager, target, dir, isFloat));
     }
     else if (target != null)
     {
         return((_children.First.Value as GroupNode).ApplyLayout(dockManager, target, dir));
     }
     else
     {
         return((_children.First.Value as GroupNode).ApplyLayout(dockManager, isFloat));
     }
 }
        private void OnClosing(object sender, CancelEventArgs e)
        {
            Directory.CreateDirectory(Path.Combine(Environment.CurrentDirectory, "settings"));
            DockManager.SaveCurrentLayout("MainWindow");
            var doc      = new XDocument();
            var rootNode = new XElement("Layouts");

            foreach (var layout in DockManager.Layouts.Values)
            {
                layout.Save(rootNode);
            }
            doc.Add(rootNode);
            doc.Save(SettingFileName);
            DockManager.Dispose();
        }
Exemple #19
0
        public void ShowDockPanel(Docks dock)
        {
            DockManager dockMgr = DockManager;

            if (dockMgr == null || dockMgr.Panels.Count == 0)
            {
                return;
            }

            List <DockPanel> panels = new List <DockPanel>(dockMgr.Panels.Count);

            foreach (DockPanel panel in dockMgr.Panels)
            {
                panels.Add(panel);
            }

            foreach (var panel in panels)
            {
                if (panel.Tag != null &&
                    panel.Tag is Docks &&
                    ((Docks)panel.Tag) == dock)
                {
                    switch (panel.Visibility)
                    {
                    case DockVisibility.Visible:
                        if (panel.ParentPanel != null && panel.ParentPanel.ActiveChild != panel)
                        {
                            panel.ParentPanel.ActiveChild = panel;
                        }
                        else
                        {
                            panel.Visibility = DockVisibility.AutoHide;
                        }
                        break;

                    case DockVisibility.Hidden:
                    case DockVisibility.AutoHide:
                        panel.Visibility = DockVisibility.Visible;
                        if (panel.ParentPanel != null)
                        {
                            panel.ParentPanel.ActiveChild = panel;
                        }
                        break;
                    }
                    break;
                }
            }
        }
Exemple #20
0
        private void PinButton_Click(object sender, RoutedEventArgs e)
        {
            if (DockManager == null)
            {
                return;
            }

            if (!DockManager.HasVisibleDockingButton)
            {
                DockManager.UnlockDockingPanel();
            }
            else
            {
                DockManager.LockDockingPanel(this);
            }
        }
 public DocumentGroupWindow(DockManager dockManager) : base(dockManager)
 {
     _thicknessAnimation = new ThicknessAnimation(new Thickness(1), new Duration(TimeSpan.FromMilliseconds(1)))
     {
         BeginTime = TimeSpan.FromSeconds(0.4)
     };
     _backgroundAnimation  = new ColorAnimation(Colors.Transparent, ResourceManager.SplitterBrushVertical.Color, new Duration(TimeSpan.FromMilliseconds(1)));
     _borderBrushAnimation = new ColorAnimation(Colors.Transparent, ResourceManager.WindowBorderBrush.Color, new Duration(TimeSpan.FromMilliseconds(1)))
     {
         BeginTime = TimeSpan.FromSeconds(0.2)
     };
     _board = new Storyboard();
     _board.Children.Add(_thicknessAnimation);
     _board.Children.Add(_backgroundAnimation);
     _board.Children.Add(_borderBrushAnimation);
 }
Exemple #22
0
        public void Show(DockManager dockManager)
        {
            if (dockManager == null)
            {
                throw(new ArgumentNullException(ResourceHelper.GetString("Content.Show.NullDockManager")));
            }

            if (DockState == DockState.Unknown)
            {
                Show(dockManager, DefaultShowState);
            }
            else
            {
                Activate();
            }
        }
 /// <summary>
 /// builds event handler for when index changes
 /// </summary>
 /// <param name="sender">reference to the control/object that raised the event.</param>
 /// <param name="e">event data</param>
 protected void uxDockSelector_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (DockSelect != null)
     {
         var  dockID = Convert.ToInt32(uxDockSelector.SelectedValue);
         Dock dock   = DockManager.Find(dockID);
         var  arg    = new DockEventArgs
         {
             ID                = dock.ID,
             Name              = dock.Name,
             WaterService      = dock.WaterService,
             ElectricalService = dock.ElectricalService
         };
         DockSelect.Invoke(this, arg);
     }
 }
Exemple #24
0
        private void ExportLayoutToDocument(object sender, RoutedEventArgs e)
        {
            DocumentContent doc = new DocumentContent()
            {
                Title   = string.Format("Layout_{0}", DateTime.Now.ToString()),
                Content = new TextBox()
                {
                    AcceptsReturn = true,
                    VerticalScrollBarVisibility   = ScrollBarVisibility.Auto,
                    HorizontalScrollBarVisibility = ScrollBarVisibility.Auto,
                    Text = DockManager.LayoutToString()
                }
            };

            doc.Show(DockManager);
            doc.Activate();
        }
Exemple #25
0
        private void MainWindow_Closing(object sender, CancelEventArgs e)
        {
            DockManager.SaveCurrentLayout("MainWindow");

            var doc      = new XDocument();
            var rootNode = new XElement("Layouts");

            foreach (var layout in DockManager.Layouts.Values)
            {
                layout.Save(rootNode);
            }
            doc.Add(rootNode);

            doc.Save(SettingFileName);

            DockManager.Dispose();
        }
        public void OnRestoreLayout(ISettingsProvider settingsProvider)
        {
            var layoutSetting        = settingsProvider.GetSettings <ShellLayoutSettings>();
            var currentLayoutVersion = GetCurrentLayoutVersion();

            if (layoutSetting.LayoutVersion == currentLayoutVersion)
            {
                DockManager.RestoreLayout(layoutSetting.DockLayout.GetAsStream());
                BarManager.RestoreLayout(layoutSetting.MenuLayout.GetAsStream());
            }

            Top         = layoutSetting.MainWindowTop;
            Left        = layoutSetting.MainWindowLeft;
            Width       = layoutSetting.MainWindowWidth;
            Height      = layoutSetting.MainWindowHeight;
            WindowState = layoutSetting.MainWindowState;
        }
Exemple #27
0
 void InitDockManager()
 {
     dockManager = new DockManager(this);
     if (null == dockManager)
     {
         return;
     }
     dockPanelObj       = dockManager.AddPanel(DockingStyle.Left);
     dockPanelObj.Text  = "业务对象";
     dockPanelObj.Width = 140;
     //dockPanelWork = dockManager.AddPanel(DockingStyle.Left);
     //dockPanelWork.Text = "工作平台";
     //dockPanelWork.Width = 140;
     //dockPanelWork.DockAsTab(dockPanelObj,1);
     dockPanelObj.Visibility = DevExpress.XtraBars.Docking.DockVisibility.AutoHide;
     dockManager.DockingOptions.ShowCloseButton = false;
 }
Exemple #28
0
        /// <summary>
        /// Initializes new instance of the <see cref="HostWindow"/> class.
        /// </summary>
        public HostWindow()
        {
            AddHandler(PointerPressedEvent, Pressed, RoutingStrategies.Direct | RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
            AddHandler(PointerReleasedEvent, Released, RoutingStrategies.Direct | RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
            AddHandler(PointerMovedEvent, Moved, RoutingStrategies.Direct | RoutingStrategies.Tunnel | RoutingStrategies.Bubble);
            AddHandler(PointerCaptureLostEvent, CaptureLost, RoutingStrategies.Direct | RoutingStrategies.Tunnel | RoutingStrategies.Bubble);

            PositionChanged += HostWindow_PositionChanged;
            LayoutUpdated   += HostWindow_LayoutUpdated;
            Closing         += HostWindow_Closing;

            _dockManager     = new DockManager();
            _hostWindowState = new HostWindowState(_dockManager, this);
#if DEBUG
            this.AttachDevTools();
#endif
        }
Exemple #29
0
 public virtual void DetachChild(IDockView child, bool force = true)
 {
     if (child == Content)
     {
         DockManager.RemoveFloatWindow(this);
         SaveSize();
         if (child is BaseGroupControl)
         {
             (child as BaseGroupControl).IsDraggingFromDock = false;
         }
         Content = null;
         if (force)
         {
             _dockManager = null;
         }
     }
 }
        private void showLeasedSlips()
        {
            custId = (int)Session["customerID"];
            IList leasedSlips = DockManager.FindLeasedSlip(custId);

            if (leasedSlips.Count > 0)
            {
                gvLeasedSlips.DataSource = leasedSlips;
                gvLeasedSlips.DataBind();
                lblMsg.Text = "";
            }
            else
            {
                string CustFullName = Session["CustName"].ToString();
                lblMsg.Text = CustFullName + " does not have any slips leased";
            }
        }
Exemple #31
0
        /// <summary>
        /// Shows a pad.  If it hasn't been shown before, it shows it
        /// docked to the right side.  Otherwise it restores it to the
        /// previous place that it was before hiding.  Doesn't work
        /// correctly for floating panes (yet).
        /// </summary>
        /// <param name="pad"></param>
        public void ShowPad(IPad pad, DockableContentState desideredState = DockableContentState.Docked)
        {
            if (!m_padLookup.ContainsKey(pad))
            {
                DockableContent content = new DockableContent();
                content.Content = pad;
                content.Title   = pad.Title;
                content.Name    = pad.Name;
                content.Icon    = pad.Icon;
                if (pad.DesideredState == DockableContentState.AutoHide)
                {
                    content.Loaded += new RoutedEventHandler(AutoHideAfterLoaded);
                }
                m_padLookup.Add(pad, content);
                DockablePane dp;
                switch (pad.Location)
                {
                case PadLocation.TopLeft:
                    dp = m_topLeftPane;
                    break;

                case PadLocation.TopRight:
                    dp = m_topRightPane;
                    break;

                case PadLocation.Bottom:
                default:
                    dp = m_bottomPane;
                    break;
                }
                dp.Items.Add(content);

                content.GotFocus  += new RoutedEventHandler(pad.OnGotFocus);
                content.LostFocus += new RoutedEventHandler(pad.OnLostFocus);
            }
            if (desideredState == DockableContentState.AutoHide ||
                desideredState == DockableContentState.FloatingWindow)
            {
                DockManager.Show(m_padLookup[pad], desideredState);
            }
            else
            {
                DockManager.Show(m_padLookup[pad]);
            }
        }
Exemple #32
0
        public static Boolean CargaConfiguracion(DockManager dockManager, String nombre)
        {
            if (!Directory.Exists(DirectorioConfiguracion))
            {
                Directory.CreateDirectory(DirectorioConfiguracion);
            }

            String ruta = Path.Combine(DirectorioConfiguracion, $"{nombre}.xml");

            if (!File.Exists(ruta))
            {
                GuardaConfiguracion(dockManager, nombre);
            }

            dockManager.RestoreLayoutFromXml(ruta);

            return(true);
        }
        //load slips dropdownlist for selected dock
        //by calling the findslip method

        public void loadSlips()
        {
            int id = Convert.ToInt32(dockList.SelectedValue);
            //get dock details
            Dock dock = DockManager.Find(id);

            lblDockName.Text     = dock.Name;
            lblWaterService.Text = dock.WaterService.ToString();
            lblEService.Text     = dock.ElectricalService.ToString();

            //call manager class to get the available slips and get dock obj
            slipList.DataSource = DockManager.FindSlip(id);

            slipList.DataTextField  = "ID";
            slipList.DataValueField = "ID";
            slipList.DataBind();
            slipList.SelectedIndex = 0;
        }
Exemple #34
0
        public static Boolean GuardaConfiguracion(DockManager dockManager, String nombre)
        {
            if (!Directory.Exists(DirectorioConfiguracion))
            {
                Directory.CreateDirectory(DirectorioConfiguracion);
            }

            if (!Directory.Exists(DirectorioConfiguracion))
            {
                Directory.CreateDirectory(DirectorioConfiguracion);
            }

            String ruta = Path.Combine(DirectorioConfiguracion, $"{nombre}.xml");

            dockManager.SaveLayoutToXml(ruta);

            return(true);
        }
Exemple #35
0
        public void DockToMainForm(DockManager dockManager)
        {
            SetRootPanelsVisibility(DockVisibility.Hidden);

            m_mainDockManager = dockManager;
            m_settings = m_mainDockManager.AddPanel(DockingStyle.Float);
            m_settings.ControlContainer.Controls.Add(ucSetting);
            m_settings.DockTo(DockingStyle.Left, 0);
            m_timeline = m_mainDockManager.AddPanel(DockingStyle.Float);
            m_timeline.ControlContainer.Controls.Add(ucTimeLine);
            DockPanel bottomPanel = GetPanelByDockingStyle(m_mainDockManager, DockingStyle.Bottom);
            if (bottomPanel != null)
                m_timeline.DockAsTab(bottomPanel, 0);
            else
                m_timeline.DockTo(DockingStyle.Bottom);
            m_channel = m_mainDockManager.AddPanel(DockingStyle.Float);
            m_channel.ControlContainer.Controls.Add(ucChannel);
            m_channel.DockAsTab(m_timeline, 1);
        }
Exemple #36
0
        public void DockToMainForm(DockManager dockManager)
        {
            m_dockManager = dockManager;

            SceneExplorer sceneExplorer = new SceneExplorer();
            sceneExplorer.Dock = DockStyle.Fill;

            ObjectProperty objProperty = new ObjectProperty();
            objProperty.Dock = DockStyle.Fill;

            m_plExplorer = dockManager.AddPanel(DockingStyle.Float);
            m_plExplorer.Text = "Scene Explorer";
            m_plExplorer.ControlContainer.Controls.Add(sceneExplorer);
            m_plExplorer.Size = new Size(230, 400);
            m_plExplorer.ImageIndex = 14;
            m_plExplorer.DockTo(DockingStyle.Left, 0);

            m_plProperty = dockManager.AddPanel(DockingStyle.Float);
            m_plProperty.Text = "Object Property";
            m_plProperty.ControlContainer.Controls.Add(objProperty);
            m_plProperty.Size = new Size(260, 400);
            m_plProperty.ImageIndex = 0;
            m_plProperty.DockTo(DockingStyle.Right, 0);
        }
Exemple #37
0
 public void RegisterPeekPanels(DockManager dockManager, ModuleType[] types) {
     dockManager.ClosedPanel += dockManager_ClosedPanel;
     dockManager.VisibilityChanged += dockManager_VisibilityChanged;
     dockManager.StartDocking += dockManager_StartDocking;
     dockManager.BeginInit();
     RegisterPeekPanelsCore(dockManager, Array.ConvertAll(types, viewModel.GetPeekModuleType));
     dockManager.EndInit();
 }
Exemple #38
0
 void RegisterPeekPanelsCore(DockManager dockManager, ModuleType[] types) {
     for(int i = 0; i < types.Length; i++)
         RegisterPeekPanel(dockManager, types[i]);
 }
Exemple #39
0
 void RegisterPeekPanel(DockManager dockManager, ModuleType type) {
     var panel = new DockPanel();
     panel.ID = viewModel.GetModuleID(type);
     panels.Add(panel.ID, type);
     panel.Name = "peekPanel" + viewModel.GetModuleName(type);
     panel.Options.AllowDockBottom = false;
     panel.Options.AllowDockLeft = false;
     panel.Options.AllowDockTop = false;
     panel.Options.AllowFloating = false;
     panel.Text = viewModel.GetModuleCaption(type);
     panel.Visibility = DockVisibility.Hidden;
     panel.SavedDock = DockingStyle.Right;
     panel.OriginalSize = new System.Drawing.Size(200, 200);
     if(dockManager.HiddenPanels.Count > 0) {
         panel.SavedParent = dockManager.HiddenPanels[0];
         panel.Dock = DockingStyle.Fill;
         panel.SavedDock = DockingStyle.Fill;
         panel.SavedIndex = dockManager.HiddenPanels.Count - 1;
     }
     var container = new ControlContainer();
     container.Name = panel.Name + "_ControlContainer";
     panel.Controls.Add(container);
     panel.Register(dockManager);
     dockManager.HiddenPanels.AddRange(new DockPanel[] { panel });
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     this.mainBarManager = new XafBarManager(this.components);
     this._mainMenuBar = new XafBar();
     this.barSubItemFile = new MainMenuItem();
     this.cObjectsCreation = new ActionContainerBarItem();
     this.cFile = new ActionContainerBarItem();
     this.cSave = new ActionContainerBarItem();
     this.cPrint = new ActionContainerBarItem();
     this.cExport = new ActionContainerBarItem();
     this.cExit = new ActionContainerBarItem();
     this.barSubItemEdit = new MainMenuItem();
     this.cUndoRedo = new ActionContainerBarItem();
     this.cEdit = new ActionContainerBarItem();
     this.cRecordEdit = new ActionContainerBarItem();
     this.cOpenObject = new ActionContainerBarItem();
     this.barSubItemView = new MainMenuItem();
     this.cPanels = new ActionContainerMenuBarItem();
     this.cViewsHistoryNavigation = new ActionContainerBarItem();
     this.cMenus = new ActionContainerMenuBarItem();
     this.cRecordsNavigation = new ActionContainerBarItem();
     this.cView = new ActionContainerBarItem();
     this.cReports = new ActionContainerBarItem();
     this.cDefault = new ActionContainerBarItem();
     this.cSearch = new ActionContainerBarItem();
     this.cFilters = new ActionContainerBarItem();
     this.cFullTextSearch = new ActionContainerBarItem();
     this.cAppearance = new ActionContainerMenuBarItem();
     this.barSubItemTools = new MainMenuItem();
     this.cTools = new ActionContainerMenuBarItem();
     this.cOptions = new ActionContainerMenuBarItem();
     this.cDiagnostic = new ActionContainerMenuBarItem();
     this.barSubItemWindow = new MainMenuItem();
     this.cWindows = new XafBarLinkContainerItem();
     this.barMdiChildrenListItem = new BarMdiChildrenListItem();
     this.Window = new ActionContainerBarItem();
     this.barSubItemHelp = new MainMenuItem();
     this.cHelp = new ActionContainerMenuBarItem();
     this.cAbout = new ActionContainerMenuBarItem();
     this.standardToolBar = new XafBar();
     this._statusBar = new XafBar();
     this.mainBarAndDockingController = new BarAndDockingController(this.components);
     this.barDockControlTop = new BarDockControl();
     this.barDockControlBottom = new BarDockControl();
     this.barDockControlLeft = new BarDockControl();
     this.barDockControlRight = new BarDockControl();
     this.mainDockManager = new DockManager(this.components);
     this.imageList1 = new ImageList(this.components);
     this.dockPanelMenus = new DockPanel();
     this.dockPanel1_Container = new ControlContainer();
     this.rootMenuItemsActionContainer1 = new MenuItemsActionContainer();
     this.cMenu = new ActionContainerBarItem();
     this.barSubItemPanels = new BarSubItem();
     this.viewSitePanel = new PanelControl();
     this.formStateModelSynchronizerComponent = new FormStateModelSynchronizer(this.components);
     ((ISupportInitialize)this.documentManager).BeginInit();
     ((ISupportInitialize)this.mainBarManager).BeginInit();
     ((ISupportInitialize)this.mainBarAndDockingController).BeginInit();
     ((ISupportInitialize)this.mainDockManager).BeginInit();
     this.dockPanelMenus.SuspendLayout();
     this.dockPanel1_Container.SuspendLayout();
     ((ISupportInitialize)this.viewSitePanel).BeginInit();
     base.SuspendLayout();
     this.actionsContainersManager.ActionContainerComponents.Add(this.cObjectsCreation);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cFile);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cSave);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cPrint);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cExport);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cExit);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cUndoRedo);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cEdit);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cRecordEdit);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cOpenObject);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cPanels);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cViewsHistoryNavigation);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cMenus);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cRecordsNavigation);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cView);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cReports);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cDefault);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cSearch);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cFilters);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cFullTextSearch);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cAppearance);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cTools);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cOptions);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cDiagnostic);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cAbout);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cMenu);
     this.actionsContainersManager.ActionContainerComponents.Add(this.Window);
     this.actionsContainersManager.ActionContainerComponents.Add(this.cHelp);
     this.actionsContainersManager.ActionContainerComponents.Add(this.rootMenuItemsActionContainer1);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cObjectsCreation);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cSave);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cEdit);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cRecordEdit);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cOpenObject);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cUndoRedo);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cPrint);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cView);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cReports);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cExport);
     this.actionsContainersManager.ContextMenuContainers.Add(this.cMenu);
     this.actionsContainersManager.DefaultContainer = this.cDefault;
     this.modelSynchronizationManager.ModelSynchronizableComponents.Add(this.formStateModelSynchronizerComponent);
     this.modelSynchronizationManager.ModelSynchronizableComponents.Add(this.mainBarManager);
     this.viewSiteManager.ViewSiteControl = this.viewSitePanel;
     this.mainBarManager.Bars.AddRange(new Bar[]
     {
         this._mainMenuBar,
         this.standardToolBar,
         this._statusBar
     });
     this.mainBarManager.Controller = this.mainBarAndDockingController;
     this.mainBarManager.DockControls.Add(this.barDockControlTop);
     this.mainBarManager.DockControls.Add(this.barDockControlBottom);
     this.mainBarManager.DockControls.Add(this.barDockControlLeft);
     this.mainBarManager.DockControls.Add(this.barDockControlRight);
     this.mainBarManager.DockManager = this.mainDockManager;
     this.mainBarManager.Form = this;
     this.mainBarManager.Items.AddRange(new BarItem[]
     {
         this.barSubItemFile,
         this.barSubItemEdit,
         this.barSubItemView,
         this.barSubItemTools,
         this.barSubItemHelp,
         this.cFile,
         this.cObjectsCreation,
         this.cPrint,
         this.cExport,
         this.cSave,
         this.cEdit,
         this.cOpenObject,
         this.cUndoRedo,
         this.cAppearance,
         this.cReports,
         this.cExit,
         this.cRecordEdit,
         this.cRecordsNavigation,
         this.cViewsHistoryNavigation,
         this.cSearch,
         this.cFullTextSearch,
         this.cFilters,
         this.cView,
         this.cDefault,
         this.cTools,
         this.cMenus,
         this.cDiagnostic,
         this.cOptions,
         this.cAbout,
         this.cWindows,
         this.cPanels,
         this.cMenu,
         this.barSubItemWindow,
         this.barMdiChildrenListItem,
         this.Window,
         this.barSubItemPanels,
         this.cHelp
     });
     this.mainBarManager.MainMenu = this._mainMenuBar;
     this.mainBarManager.MaxItemId = 37;
     this.mainBarManager.StatusBar = this._statusBar;
     this.mainBarManager.Disposed += new EventHandler(this.mainBarManager_Disposed);
     this._mainMenuBar.BarName = "Main Menu";
     this._mainMenuBar.DockCol = 0;
     this._mainMenuBar.DockRow = 0;
     this._mainMenuBar.DockStyle = BarDockStyle.Top;
     this._mainMenuBar.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.barSubItemFile),
         new LinkPersistInfo(this.barSubItemEdit),
         new LinkPersistInfo(this.barSubItemView),
         new LinkPersistInfo(this.barSubItemTools),
         new LinkPersistInfo(this.barSubItemWindow),
         new LinkPersistInfo(this.barSubItemHelp)
     });
     this._mainMenuBar.OptionsBar.MultiLine = true;
     this._mainMenuBar.OptionsBar.UseWholeRow = true;
     this._mainMenuBar.TargetPageCategoryColor = Color.Empty;
     this._mainMenuBar.Text = "Main menu";
     this.barSubItemFile.Caption = "Файл";
     this.barSubItemFile.Id = 0;
     this.barSubItemFile.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.cObjectsCreation, true),
         new LinkPersistInfo(this.cFile, true),
         new LinkPersistInfo(this.cSave, true),
         new LinkPersistInfo(this.cPrint, true),
         new LinkPersistInfo(this.cExport, true),
         new LinkPersistInfo(this.cExit, true)
     });
     this.barSubItemFile.MergeType = BarMenuMerge.MergeItems;
     this.barSubItemFile.Name = "barSubItemFile";
     this.barSubItemFile.VisibleInRibbon = false;
     this.cObjectsCreation.ApplicationMenuIndex = 1;
     this.cObjectsCreation.ApplicationMenuItem = true;
     this.cObjectsCreation.TargetPageGroupCaption = null;
     this.cObjectsCreation.Caption = "Создание объектов";
     this.cObjectsCreation.ContainerId = "ObjectsCreation";
     this.cObjectsCreation.Id = 18;
     this.cObjectsCreation.MergeType = BarMenuMerge.MergeItems;
     this.cObjectsCreation.Name = "cObjectsCreation";
     this.cObjectsCreation.TargetPageCategoryColor = Color.Empty;
     this.cFile.ApplicationMenuIndex = 2;
     this.cFile.ApplicationMenuItem = true;
     this.cFile.TargetPageGroupCaption = null;
     this.cFile.Caption = "Файл";
     this.cFile.ContainerId = "File";
     this.cFile.Id = 5;
     this.cFile.MergeOrder = 2;
     this.cFile.MergeType = BarMenuMerge.MergeItems;
     this.cFile.Name = "cFile";
     this.cFile.TargetPageCategoryColor = Color.Empty;
     this.cSave.ApplicationMenuIndex = 7;
     this.cSave.ApplicationMenuItem = true;
     this.cSave.TargetPageGroupCaption = null;
     this.cSave.Caption = "Сохранить";
     this.cSave.ContainerId = "Save";
     this.cSave.Id = 8;
     this.cSave.MergeType = BarMenuMerge.MergeItems;
     this.cSave.Name = "cSave";
     this.cSave.TargetPageCategoryColor = Color.Empty;
     this.cPrint.ApplicationMenuIndex = 11;
     this.cPrint.ApplicationMenuItem = true;
     this.cPrint.TargetPageGroupCaption = null;
     this.cPrint.Caption = "Печать";
     this.cPrint.ContainerId = "Print";
     this.cPrint.Id = 6;
     this.cPrint.MergeType = BarMenuMerge.MergeItems;
     this.cPrint.Name = "cPrint";
     this.cPrint.TargetPageCategoryColor = Color.Empty;
     this.cExport.ApplicationMenuIndex = 10;
     this.cExport.ApplicationMenuItem = true;
     this.cExport.TargetPageGroupCaption = null;
     this.cExport.Caption = "Экспорт";
     this.cExport.ContainerId = "Export";
     this.cExport.Id = 7;
     this.cExport.MergeType = BarMenuMerge.MergeItems;
     this.cExport.Name = "cExport";
     this.cExport.TargetPageCategoryColor = Color.Empty;
     this.cExit.ApplicationMenuIndex = 900;
     this.cExit.ApplicationMenuItem = true;
     this.cExit.TargetPageGroupCaption = null;
     this.cExit.Caption = "Выход";
     this.cExit.ContainerId = "Exit";
     this.cExit.Id = 8;
     this.cExit.MergeOrder = 900;
     this.cExit.Name = "cExit";
     this.cExit.TargetPageCategoryColor = Color.Empty;
     this.barSubItemEdit.Caption = "Правка";
     this.barSubItemEdit.Id = 1;
     this.barSubItemEdit.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.cUndoRedo, true),
         new LinkPersistInfo(this.cEdit, true),
         new LinkPersistInfo(this.cRecordEdit, true),
         new LinkPersistInfo(this.cOpenObject, true)
     });
     this.barSubItemEdit.MergeType = BarMenuMerge.MergeItems;
     this.barSubItemEdit.Name = "barSubItemEdit";
     this.barSubItemEdit.VisibleInRibbon = false;
     this.cUndoRedo.Caption = "Отменить/Повторить";
     this.cUndoRedo.TargetPageGroupCaption = "Edit";
     this.cUndoRedo.ContainerId = "UndoRedo";
     this.cUndoRedo.Id = 10;
     this.cUndoRedo.MergeType = BarMenuMerge.MergeItems;
     this.cUndoRedo.Name = "cUndoRedo";
     this.cUndoRedo.TargetPageCategoryColor = Color.Empty;
     this.cEdit.TargetPageGroupCaption = null;
     this.cEdit.Caption = "Правка";
     this.cEdit.ContainerId = "Edit";
     this.cEdit.Id = 9;
     this.cEdit.MergeType = BarMenuMerge.MergeItems;
     this.cEdit.Name = "cEdit";
     this.cEdit.TargetPageCategoryColor = Color.Empty;
     this.cRecordEdit.TargetPageGroupCaption = null;
     this.cRecordEdit.Caption = "Изменить запись";
     this.cRecordEdit.ContainerId = "RecordEdit";
     this.cRecordEdit.Id = 9;
     this.cRecordEdit.MergeType = BarMenuMerge.MergeItems;
     this.cRecordEdit.Name = "cRecordEdit";
     this.cRecordEdit.TargetPageCategoryColor = Color.Empty;
     this.cOpenObject.TargetPageGroupCaption = null;
     this.cOpenObject.Caption = "Открыть объект";
     this.cOpenObject.ContainerId = "OpenObject";
     this.cOpenObject.Id = 9;
     this.cOpenObject.MergeType = BarMenuMerge.MergeItems;
     this.cOpenObject.Name = "cOpenObject";
     this.cOpenObject.TargetPageCategoryColor = Color.Empty;
     this.barSubItemView.Caption = "Вид";
     this.barSubItemView.Id = 2;
     this.barSubItemView.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.cPanels, true),
         new LinkPersistInfo(this.cViewsHistoryNavigation, true),
         new LinkPersistInfo(this.cMenus, true),
         new LinkPersistInfo(this.cRecordsNavigation, true),
         new LinkPersistInfo(this.cView, true),
         new LinkPersistInfo(this.cReports, true),
         new LinkPersistInfo(this.cDefault, true),
         new LinkPersistInfo(this.cSearch, true),
         new LinkPersistInfo(BarLinkUserDefines.None, false, this.cFilters, true),
         new LinkPersistInfo(BarLinkUserDefines.None, false, this.cFullTextSearch, true),
         new LinkPersistInfo(this.cAppearance, true)
     });
     this.barSubItemView.MergeType = BarMenuMerge.MergeItems;
     this.barSubItemView.Name = "barSubItemView";
     this.cPanels.Caption = "Панели";
     this.cPanels.TargetPageGroupCaption = null;
     this.cPanels.TargetPageCaption = "View";
     this.cPanels.ContainerId = "Panels";
     this.cPanels.Id = 16;
     this.cPanels.MergeType = BarMenuMerge.MergeItems;
     this.cPanels.Name = "cPanels";
     this.cPanels.TargetPageCategoryColor = Color.Empty;
     this.cViewsHistoryNavigation.TargetPageGroupCaption = null;
     this.cViewsHistoryNavigation.Caption = "Просмотр истории навигации";
     this.cViewsHistoryNavigation.ContainerId = "ViewsHistoryNavigation";
     this.cViewsHistoryNavigation.Id = 35;
     this.cViewsHistoryNavigation.MergeType = BarMenuMerge.MergeItems;
     this.cViewsHistoryNavigation.Name = "cViewsHistoryNavigation";
     this.cViewsHistoryNavigation.TargetPageCategoryColor = Color.Empty;
     this.cMenus.TargetPageGroupCaption = null;
     this.cMenus.Caption = "Меню";
     this.cMenus.ContainerId = "Menus";
     this.cMenus.Id = 14;
     this.cMenus.MergeType = BarMenuMerge.MergeItems;
     this.cMenus.Name = "cMenus";
     this.cMenus.TargetPageCategoryColor = Color.Empty;
     this.cRecordsNavigation.TargetPageGroupCaption = null;
     this.cRecordsNavigation.Caption = "Записи навигации";
     this.cRecordsNavigation.ContainerId = "RecordsNavigation";
     this.cRecordsNavigation.Id = 10;
     this.cRecordsNavigation.MergeType = BarMenuMerge.MergeItems;
     this.cRecordsNavigation.Name = "cRecordsNavigation";
     this.cRecordsNavigation.TargetPageCategoryColor = Color.Empty;
     this.cView.TargetPageGroupCaption = null;
     this.cView.Caption = "Вид";
     this.cView.ContainerId = "View";
     this.cView.Id = 12;
     this.cView.MergeType = BarMenuMerge.MergeItems;
     this.cView.Name = "cView";
     this.cView.TargetPageCategoryColor = Color.Empty;
     this.cReports.ApplicationMenuIndex = 12;
     this.cReports.ApplicationMenuItem = true;
     this.cReports.TargetPageGroupCaption = "View";
     this.cReports.Caption = "Отчеты";
     this.cReports.ContainerId = "Reports";
     this.cReports.Id = 11;
     this.cReports.MergeType = BarMenuMerge.MergeItems;
     this.cReports.Name = "cReports";
     this.cReports.TargetPageCategoryColor = Color.Empty;
     this.cDefault.TargetPageGroupCaption = null;
     this.cDefault.Caption = "По умолчанию";
     this.cDefault.ContainerId = "Default";
     this.cDefault.Id = 50;
     this.cDefault.MergeType = BarMenuMerge.MergeItems;
     this.cDefault.Name = "cDefault";
     this.cDefault.TargetPageCategoryColor = Color.Empty;
     this.cSearch.TargetPageGroupCaption = null;
     this.cSearch.Caption = "Поиск";
     this.cSearch.ContainerId = "Search";
     this.cSearch.Id = 11;
     this.cSearch.MergeType = BarMenuMerge.MergeItems;
     this.cSearch.Name = "cSearch";
     this.cSearch.TargetPageCategoryColor = Color.Empty;
     this.cFilters.TargetPageGroupCaption = null;
     this.cFilters.Caption = "Фильтры";
     this.cFilters.ContainerId = "Filters";
     this.cFilters.Id = 26;
     this.cFilters.MergeType = BarMenuMerge.MergeItems;
     this.cFilters.Name = "cFilters";
     this.cFilters.TargetPageCategoryColor = Color.Empty;
     this.cFullTextSearch.Alignment = BarItemLinkAlignment.Right;
     this.cFullTextSearch.TargetPageGroupCaption = null;
     this.cFullTextSearch.Caption = "Полнотекстовый поиск";
     this.cFullTextSearch.ContainerId = "FullTextSearch";
     this.cFullTextSearch.Id = 12;
     this.cFullTextSearch.MergeType = BarMenuMerge.MergeItems;
     this.cFullTextSearch.Name = "cFullTextSearch";
     this.cFullTextSearch.TargetPageCategoryColor = Color.Empty;
     this.cAppearance.TargetPageGroupCaption = null;
     this.cAppearance.Caption = "Внешний вид";
     this.cAppearance.ContainerId = "Appearance";
     this.cAppearance.Id = 9;
     this.cAppearance.MergeType = BarMenuMerge.MergeItems;
     this.cAppearance.Name = "cAppearance";
     this.cAppearance.TargetPageCategoryColor = Color.Empty;
     this.barSubItemTools.Caption = "Инструменты";
     this.barSubItemTools.Id = 3;
     this.barSubItemTools.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.cTools, true),
         new LinkPersistInfo(this.cOptions, true),
         new LinkPersistInfo(this.cDiagnostic, true)
     });
     this.barSubItemTools.MergeType = BarMenuMerge.MergeItems;
     this.barSubItemTools.Name = "barSubItemTools";
     this.cTools.TargetPageGroupCaption = null;
     this.cTools.Caption = "Инструменты";
     this.cTools.ContainerId = "Tools";
     this.cTools.Id = 13;
     this.cTools.MergeType = BarMenuMerge.MergeItems;
     this.cTools.Name = "cTools";
     this.cTools.TargetPageCategoryColor = Color.Empty;
     this.cOptions.TargetPageGroupCaption = null;
     this.cOptions.Caption = "Настройки";
     this.cOptions.ContainerId = "Options";
     this.cOptions.Id = 14;
     this.cOptions.MergeType = BarMenuMerge.MergeItems;
     this.cOptions.Name = "cOptions";
     this.cOptions.TargetPageCategoryColor = Color.Empty;
     this.cDiagnostic.TargetPageGroupCaption = null;
     this.cDiagnostic.Caption = "Диагностика";
     this.cDiagnostic.ContainerId = "Diagnostic";
     this.cDiagnostic.Id = 16;
     this.cDiagnostic.MergeType = BarMenuMerge.MergeItems;
     this.cDiagnostic.Name = "cDiagnostic";
     this.cDiagnostic.TargetPageCategoryColor = Color.Empty;
     this.barSubItemWindow.Caption = "Окно";
     this.barSubItemWindow.Id = 32;
     this.barSubItemWindow.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.cWindows),
         new LinkPersistInfo(this.Window, true)
     });
     this.barSubItemWindow.MergeType = BarMenuMerge.MergeItems;
     this.barSubItemWindow.Name = "barSubItemWindow";
     this.cWindows.TargetPageCaption = "View";
     this.cWindows.TargetPageCategoryCaption = null;
     this.cWindows.Caption = "Окна";
     this.cWindows.TargetPageGroupCaption = null;
     this.cWindows.Id = 16;
     this.cWindows.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.barMdiChildrenListItem)
     });
     this.cWindows.MergeType = BarMenuMerge.MergeItems;
     this.cWindows.Name = "cWindows";
     this.cWindows.TargetPageCategoryColor = Color.Empty;
     this.barMdiChildrenListItem.Caption = "Список окон";
     this.barMdiChildrenListItem.Id = 37;
     this.barMdiChildrenListItem.Name = "barMdiChildrenListItem";
     this.Window.TargetPageCaption = "View";
     this.Window.TargetPageGroupCaption = "Windows";
     this.Window.Caption = "Окно";
     this.Window.ContainerId = "Windows";
     this.Window.Id = 34;
     this.Window.MergeType = BarMenuMerge.MergeItems;
     this.Window.Name = "Window";
     this.Window.TargetPageCategoryColor = Color.Empty;
     this.barSubItemHelp.Caption = "Помощь";
     this.barSubItemHelp.Id = 4;
     this.barSubItemHelp.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.cHelp, true),
         new LinkPersistInfo(this.cAbout, true)
     });
     this.barSubItemHelp.MergeType = BarMenuMerge.MergeItems;
     this.barSubItemHelp.Name = "barSubItemHelp";
     this.barSubItemHelp.VisibleInRibbon = false;
     this.cHelp.Caption = "Помощь";
     this.cHelp.TargetPageGroupCaption = null;
     this.cHelp.ContainerId = "Help";
     this.cHelp.Id = 36;
     this.cHelp.MergeType = BarMenuMerge.MergeItems;
     this.cHelp.Name = "cHelp";
     this.cHelp.TargetPageCategoryColor = Color.Empty;
     this.cAbout.ApplicationMenuIndex = 15;
     this.cAbout.ApplicationMenuItem = true;
     this.cAbout.Caption = "О программе";
     this.cAbout.TargetPageGroupCaption = null;
     this.cAbout.ContainerId = "About";
     this.cAbout.Id = 15;
     this.cAbout.MergeType = BarMenuMerge.MergeItems;
     this.cAbout.Name = "cAbout";
     this.cAbout.TargetPageCategoryColor = Color.Empty;
     this.standardToolBar.BarName = "Main Toolbar";
     this.standardToolBar.DockCol = 0;
     this.standardToolBar.DockRow = 1;
     this.standardToolBar.DockStyle = BarDockStyle.Top;
     this.standardToolBar.LinksPersistInfo.AddRange(new LinkPersistInfo[]
     {
         new LinkPersistInfo(this.cViewsHistoryNavigation, true),
         new LinkPersistInfo(this.cObjectsCreation, true),
         new LinkPersistInfo(this.cSave, true),
         new LinkPersistInfo(this.cEdit, true),
         new LinkPersistInfo(this.cUndoRedo, true),
         new LinkPersistInfo(this.cRecordEdit, true),
         new LinkPersistInfo(this.cOpenObject),
         new LinkPersistInfo(this.cView, true),
         new LinkPersistInfo(this.cReports),
         new LinkPersistInfo(this.cDefault, true),
         new LinkPersistInfo(this.cRecordsNavigation, true),
         new LinkPersistInfo(this.cFilters, true),
         new LinkPersistInfo(this.cSearch, true),
         new LinkPersistInfo(this.cFullTextSearch)
     });
     this.standardToolBar.OptionsBar.UseWholeRow = true;
     this.standardToolBar.TargetPageCategoryColor = Color.Empty;
     this.standardToolBar.Text = "Main Toolbar";
     this._statusBar.BarName = "StatusBar";
     this._statusBar.CanDockStyle = BarCanDockStyle.Bottom;
     this._statusBar.DockCol = 0;
     this._statusBar.DockRow = 0;
     this._statusBar.DockStyle = BarDockStyle.Bottom;
     this._statusBar.OptionsBar.AllowQuickCustomization = false;
     this._statusBar.OptionsBar.DisableClose = true;
     this._statusBar.OptionsBar.DisableCustomization = true;
     this._statusBar.OptionsBar.DrawDragBorder = false;
     this._statusBar.OptionsBar.DrawSizeGrip = true;
     this._statusBar.OptionsBar.UseWholeRow = true;
     this._statusBar.TargetPageCategoryColor = Color.Empty;
     this._statusBar.Text = "Status Bar";
     this.mainBarAndDockingController.PropertiesBar.AllowLinkLighting = false;
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Parent = this;
     this.barDockControlTop.Size = new Size(792, 51);
     this.barDockControlTop.Dock = DockStyle.Top;
     this.barDockControlTop.Location = new Point(0, 0);
     // this.barDockControlTop.ZOrder = 6;
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Parent = this;
     this.barDockControlBottom.Size = new Size(792, 23);
     this.barDockControlBottom.Dock = DockStyle.Bottom;
     this.barDockControlBottom.Location = new Point(0, 543);
     // this.barDockControlBottom.ZOrder = 5;
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Parent = this;
     // this.barDockControlLeft.ZOrder = 3;
     this.barDockControlLeft.Location = new Point(0, 51);
     this.barDockControlLeft.Dock = DockStyle.Left;
     this.barDockControlLeft.Size = new Size(0, 492);
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Parent = this;
     // this.barDockControlRight.ZOrder = 4;
     this.barDockControlRight.Location = new Point(792, 51);
     this.barDockControlRight.Dock = DockStyle.Right;
     this.barDockControlRight.Size = new Size(0, 492);
     this.mainDockManager.Controller = this.mainBarAndDockingController;
     this.mainDockManager.Form = this;
     this.mainDockManager.Images = this.imageList1;
     this.mainDockManager.MenuManager = this.mainBarManager;
     this.mainDockManager.RootPanels.AddRange(new DockPanel[]
     {
         this.dockPanelMenus
     });
     this.mainDockManager.TopZIndexControls.AddRange(new string[]
     {
         "DevExpress.XtraBars.BarDockControl",
         "System.Windows.Forms.StatusBar",
         "DevExpress.ExpressApp.Win.Templates.Controls.XafRibbonControl",
         "DevExpress.XtraBars.Ribbon.RibbonStatusBar"
     });
     this.imageList1.ColorDepth = ColorDepth.Depth32Bit;
     this.imageList1.ImageSize = new Size(16, 16);
     this.imageList1.TransparentColor = Color.Transparent;
     this.dockPanelMenus.Controls.Add(this.dockPanel1_Container);
     this.dockPanelMenus.Dock = DockingStyle.Left;
     this.dockPanelMenus.ID = new Guid("17f71733-1ca6-4a29-aa2c-56cbcc2b43dd");
     this.dockPanelMenus.Size = new Size(200, 492);
     this.dockPanelMenus.Text = "Навигация";
     this.dockPanelMenus.Parent = this;
     this.dockPanelMenus.Location = new Point(0, 51);
     this.dockPanelMenus.Name = "dockPanelMenus";
     this.dockPanelMenus.Options.AllowDockBottom = false;
     this.dockPanelMenus.Options.AllowDockTop = false;
     this.dockPanelMenus.OriginalSize = new Size(200, 200);
     this.dockPanelMenus.TabStop = false;
     this.dockPanelMenus.Tag = "Menus";
     this.dockPanel1_Container.Controls.Add(this.rootMenuItemsActionContainer1);
     this.dockPanel1_Container.Parent = dockPanelMenus;
     this.dockPanel1_Container.Location = new Point(4, 23);
     this.dockPanel1_Container.Size = new Size(192, 465);
     this.dockPanel1_Container.TabIndex = 0;
     this.dockPanel1_Container.Name = "dockPanel1_Container";
     this.rootMenuItemsActionContainer1.Parent = dockPanel1_Container;
     this.rootMenuItemsActionContainer1.TabIndex = 0;
     this.rootMenuItemsActionContainer1.Size = new Size(192, 465);
     this.rootMenuItemsActionContainer1.Dock = DockStyle.Fill;
     this.rootMenuItemsActionContainer1.Location = new Point(0, 0);
     this.rootMenuItemsActionContainer1.Name = "rootMenuItemsActionContainer1";
     this.cMenu.Caption = "Меню";
     this.cMenu.TargetPageGroupCaption = null;
     this.cMenu.ContainerId = "Menu";
     this.cMenu.Id = 7;
     this.cMenu.Name = "cMenu";
     this.cMenu.TargetPageCategoryColor = Color.Empty;
     this.barSubItemPanels.Caption = "Панели";
     this.barSubItemPanels.Id = 35;
     this.barSubItemPanels.Name = "barSubItemPanels";
     this.viewSitePanel.BorderStyle = BorderStyles.NoBorder;
     this.viewSitePanel.Parent = this;
     this.viewSitePanel.Location = new Point(200, 51);
     this.viewSitePanel.Size = new Size(592, 492);
     this.viewSitePanel.Dock = DockStyle.Fill;
     this.viewSitePanel.TabIndex = 4;
     this.viewSitePanel.Name = "viewSitePanel";
     this.formStateModelSynchronizerComponent.Form = this;
     this.formStateModelSynchronizerComponent.Model = null;
     this.Text = "MainForm";
     this.ClientSize = new Size(792, 566);
     // this.Margin = new Padding(3, 5, 3, 5);
     this.AutoScaleDimensions = new SizeF(6, 13);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.BarManager = this.mainBarManager;
     base.Controls.Add(this.viewSitePanel);
     base.Controls.Add(this.dockPanelMenus);
     base.Controls.Add(this.barDockControlLeft);
     base.Controls.Add(this.barDockControlRight);
     base.Controls.Add(this.barDockControlBottom);
     base.Controls.Add(this.barDockControlTop);
     base.IsMdiContainer = true;
     base.Name = "MenusMainForm";
     ((ISupportInitialize)this.documentManager).EndInit();
     ((ISupportInitialize)this.mainBarManager).EndInit();
     ((ISupportInitialize)this.mainBarAndDockingController).EndInit();
     ((ISupportInitialize)this.mainDockManager).EndInit();
     this.dockPanelMenus.ResumeLayout(false);
     this.dockPanel1_Container.ResumeLayout(false);
     ((ISupportInitialize)this.viewSitePanel).EndInit();
     base.ResumeLayout(false);
 }
Exemple #41
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(FrmMain));
     this.repositoryItemPictureEdit1 = new RepositoryItemPictureEdit();
     this.repositoryItemMemoEdit1 = new RepositoryItemMemoEdit();
     this.skinGatheringDisplayChat = new SkinGatheringDisplay();
     this.pnlUserListChat = new PnlUserList();
     this.gridColumnTitle = new GridColumn();
     this.gridColumnMembers = new GridColumn();
     this.btnSend = new Button();
     this.pBottom = new Panel();
     this.skinDropDownStatus = new SkinDropDown();
     this.msQuickButtons = new GPGMenuStrip(this.components);
     this.btnHome = new ToolStripMenuItem();
     this.btnChat = new ToolStripMenuItem();
     this.btnHostGame = new ToolStripMenuItem();
     this.btnJoinGame = new ToolStripMenuItem();
     this.btnRankedGame = new ToolStripMenuItem();
     this.btnArrangedTeam = new ToolStripMenuItem();
     this.btnPlayNow = new ToolStripMenuItem();
     this.btnViewRankings = new ToolStripMenuItem();
     this.btnVault = new ToolStripMenuItem();
     this.btnWorldMap = new ToolStripMenuItem();
     this.btnReplayVault = new ToolStripMenuItem();
     this.btnFeedback = new ToolStripMenuItem();
     this.btnOptions = new ToolStripMenuItem();
     this.btnMore = new ToolStripMenuItem();
     this.pbBottomRight = new PictureBox();
     this.pbBottom = new PictureBox();
     this.pbBottomLeft = new PictureBox();
     this.pTop = new Panel();
     this.msMainMenu = new GPGMenuStrip(this.components);
     this.miMainGroup = new ToolStripMenuItem();
     this.miMain_Logout = new ToolStripMenuItem();
     this.miMain_Exit = new ToolStripMenuItem();
     this.miChangeEmail = new ToolStripMenuItem();
     this.miConsolidateAccounts = new ToolStripMenuItem();
     this.miAdmin = new ToolStripMenuItem();
     this.miCustomAdmin = new ToolStripMenuItem();
     this.miAdhocSQL = new ToolStripMenuItem();
     this.adhocChartsToolStripMenuItem = new ToolStripMenuItem();
     this.miPacketSniffer = new ToolStripMenuItem();
     this.miShowEventLog = new ToolStripMenuItem();
     this.miAdmin_CreateVolunteerEffort = new ToolStripMenuItem();
     this.miAdmin_ViewVolunteers = new ToolStripMenuItem();
     this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem = new ToolStripMenuItem();
     this.miAdmin_Security = new ToolStripMenuItem();
     this.miAdmin_Avatars = new ToolStripMenuItem();
     this.spaceSiegeLobbyToolStripMenuItem = new ToolStripMenuItem();
     this.manageServerGamesToolStripMenuItem = new ToolStripMenuItem();
     this.miGameGroup = new ToolStripMenuItem();
     this.miCustomGame = new ToolStripMenuItem();
     this.miJoinGame = new ToolStripMenuItem();
     this.miAutomatch = new ToolStripMenuItem();
     this.lOCArrangedTeamGameToolStripMenuItem = new ToolStripMenuItem();
     this.miGame_Vault = new ToolStripMenuItem();
     this.miCreateTournament = new ToolStripMenuItem();
     this.miTournamentSchedule = new ToolStripMenuItem();
     this.miGame_RedeemPrize = new ToolStripMenuItem();
     this.miRankings = new ToolStripMenuItem();
     this.miRankings_1v1 = new ToolStripMenuItem();
     this.lOC2v2RankingsToolStripMenuItem = new ToolStripMenuItem();
     this.lOC3v3RankingsToolStripMenuItem = new ToolStripMenuItem();
     this.lOC4v4RankingsToolStripMenuItem = new ToolStripMenuItem();
     this.lOCClanRankingsToolStripMenuItem = new ToolStripMenuItem();
     this.miLadders = new ToolStripMenuItem();
     this.miLadders_AcceptAll = new ToolStripMenuItem();
     this.miLadders_DeclineAll = new ToolStripMenuItem();
     this.miTools = new ToolStripMenuItem();
     this.miTools_Feedback = new ToolStripMenuItem();
     this.miTools_GameKeys = new ToolStripMenuItem();
     this.miTools_Chat = new ToolStripMenuItem();
     this.miTools_Chat_Emotes = new ToolStripMenuItem();
     this.miTools_ContentManager = new ToolStripMenuItem();
     this.miTools_Options = new ToolStripMenuItem();
     this.miTools_LocPatches = new ToolStripMenuItem();
     this.miManageGames = new ToolStripMenuItem();
     this.miHelp = new ToolStripMenuItem();
     this.miHelp_Solutions = new ToolStripMenuItem();
     this.miHelp_Volunteer = new ToolStripMenuItem();
     this.miHelp_SupComHome = new ToolStripMenuItem();
     this.miHelp_GPGHome = new ToolStripMenuItem();
     this.miForums = new ToolStripMenuItem();
     this.miHelp_ReportIssue = new ToolStripMenuItem();
     this.miHelp_About = new ToolStripMenuItem();
     this.miSpaceSiegeWeb = new ToolStripMenuItem();
     this.pbClose = new PictureBox();
     this.pbRestore = new PictureBox();
     this.pbMinimize = new PictureBox();
     this.pbTopRight = new PictureBox();
     this.pbTop = new PictureBox();
     this.pbTopLeft = new PictureBox();
     this.wbMain = new WebBrowser();
     this.splitContainerFriends = new SplitContainer();
     this.gpgLabelFriendInvites2 = new GPGLabel();
     this.gpgLabelFriendInvitesCount2 = new GPGLabel();
     this.gpgScrollPanelFriends = new GPGScrollPanel();
     this.pnlUserListFriends = new PnlUserList();
     this.gpgLabelNoFriends = new GPGLabel();
     this.splitContainerClan = new SplitContainer();
     this.gpgLabelClanRequests = new GPGLabel();
     this.gpgLabelClanRequestCount = new GPGLabel();
     this.gpgScrollPanelClan = new GPGScrollPanel();
     this.pnlUserListClan = new PnlUserList();
     this.gpgScrollPanelNoClan = new GPGScrollPanel();
     this.gpgLabelClanInvites = new GPGLabel();
     this.gpgLabelCreateClan = new GPGLabel();
     this.gpgLabelClanInviteCount = new GPGLabel();
     this.gpgLabelNoClan = new GPGLabel();
     this.skinLabelClanName = new SkinLabel();
     this.pbLeftBorder = new PictureBox();
     this.pbRightBorder = new PictureBox();
     this.rimPictureEdit = new RepositoryItemPictureEdit();
     this.rimMemoEdit = new RepositoryItemMemoEdit();
     this.rimPictureEdit2 = new RepositoryItemPictureEdit();
     this.rimMemoEdit2 = new RepositoryItemMemoEdit();
     this.gpgChatGrid = new GPGChatGrid();
     this.gvChat = new GridView();
     this.colIcon = new GridColumn();
     this.rimPictureEdit3 = new RepositoryItemPictureEdit();
     this.colPlayer = new GridColumn();
     this.rimMemoEdit3 = new RepositoryItemMemoEdit();
     this.colText = new GridColumn();
     this.gcVisible = new GridColumn();
     this.colTimeStamp = new GridColumn();
     this.rimTextEdit = new RepositoryItemTextEdit();
     this.ilIcons = new ImageList(this.components);
     this.gridColumn1 = new GridColumn();
     this.gridColumn2 = new GridColumn();
     this.gridColumn3 = new GridColumn();
     this.pcTextEntry = new PanelControl();
     this.gpgContextMenuChat = new GPGContextMenu();
     this.ciChat_WhisperPlayer = new MenuItem();
     this.ciChat_IgnorePlayer = new MenuItem();
     this.ciChat_UnignorePlayer = new MenuItem();
     this.ciChat_ViewRank = new MenuItem();
     this.ciChat_WebStats = new MenuItem();
     this.ciChat_ViewPlayer = new MenuItem();
     this.miViewReplays = new MenuItem();
     this.menuItem10 = new MenuItem();
     this.ciChat_InviteFriend = new MenuItem();
     this.ciChat_RemoveFriend = new MenuItem();
     this.menuItem8 = new MenuItem();
     this.ciChat_InviteToClan = new MenuItem();
     this.ciChat_RequestClanInvite = new MenuItem();
     this.ciChat_ViewClan = new MenuItem();
     this.ciChat_PromoteClan = new MenuItem();
     this.ciChat_DemoteClan = new MenuItem();
     this.ciChat_RemoveClan = new MenuItem();
     this.ciChat_LeaveClan = new MenuItem();
     this.menuItem3 = new MenuItem();
     this.ciChat_Kick = new MenuItem();
     this.ciChat_Ban = new MenuItem();
     this.menuItem7 = new MenuItem();
     this.ciChat_TeamInvite = new MenuItem();
     this.textBoxMsg = new GPGTextArea();
     this.pbMiddle = new SkinStatusStrip();
     this.miStatus_Online = new MenuItem();
     this.miStatus_Away = new MenuItem();
     this.miStatus_DND = new MenuItem();
     this.menuItem1 = new MenuItem();
     this.menuItem2 = new MenuItem();
     this.gpgContextMenuChatText = new GPGContextMenu();
     this.ciChatText_Clear = new MenuItem();
     this.ciChatText_Copy = new MenuItem();
     this.ciChatText_Filter = new MenuItem();
     this.ciChatText_Filter_Self = new MenuItem();
     this.ciChatText_Filter_System = new MenuItem();
     this.ciChatText_Filter_Events = new MenuItem();
     this.ciChatText_Filter_Errors = new MenuItem();
     this.ciChatText_Filter_Game = new MenuItem();
     this.ciChatText_Filter_Friends = new MenuItem();
     this.ciChatText_Filter_Clan = new MenuItem();
     this.ciChatText_Filter_Admin = new MenuItem();
     this.ciChatText_Filter_Other = new MenuItem();
     this.menuItem4 = new MenuItem();
     this.ciChatText_Filters_Reset = new MenuItem();
     this.miShowColumns = new MenuItem();
     this.ciChatText_ShowEmotes = new MenuItem();
     this.menuItm15 = new MenuItem();
     this.ciChatText_PrivateMsg = new MenuItem();
     this.ciChatText_Ignore = new MenuItem();
     this.ciChatText_Unignore = new MenuItem();
     this.ciChatText_ViewRank = new MenuItem();
     this.ciChatText_WebStats = new MenuItem();
     this.ciChatText_ViewPlayer = new MenuItem();
     this.ciChatText_Replays = new MenuItem();
     this.menuItem6 = new MenuItem();
     this.ciChatText_FriendInvite = new MenuItem();
     this.ciChatText_FriendRemove = new MenuItem();
     this.menuItem11 = new MenuItem();
     this.ciChatText_ClanInvite = new MenuItem();
     this.ciChatText_ClanRequest = new MenuItem();
     this.ciChatText_ClanRemove = new MenuItem();
     this.ciChatText_Promote = new MenuItem();
     this.ciChatText_Demote = new MenuItem();
     this.ciChatText_ViewClan = new MenuItem();
     this.ciChatText_LeaveClan = new MenuItem();
     this.menuItem18 = new MenuItem();
     this.ciChatText_Kick = new MenuItem();
     this.ciChatText_Ban = new MenuItem();
     this.menuItem12 = new MenuItem();
     this.ciChatText_Solution = new MenuItem();
     this.miTranslate = new MenuItem();
     this.menuItem23 = new MenuItem();
     this.menuItem24 = new MenuItem();
     this.menuItem25 = new MenuItem();
     this.menuItem26 = new MenuItem();
     this.menuItem27 = new MenuItem();
     this.menuItem28 = new MenuItem();
     this.menuItem29 = new MenuItem();
     this.dockManager = new DockManager();
     this.gpgContextMenuEmote = new GPGContextMenu();
     this.ciEmote_Manager = new MenuItem();
     this.menuItem13 = new MenuItem();
     this.ciEmote_Hide = new MenuItem();
     this.ciEmote_Share = new MenuItem();
     this.ciEmote_Animate = new MenuItem();
     this.menuItem9 = new MenuItem();
     this.ciEmote_Delete = new MenuItem();
     this.pManualTabs = new GPGPanel();
     this.btnChatTab = new SkinButton();
     this.btnFriendsTab = new SkinButton();
     this.btnClanTab = new SkinButton();
     this.ilMenuItems = new ImageList(this.components);
     this.gpgPanelChatAndInput = new GPGPanel();
     this.splitContainerChatAndInput = new SplitContainer();
     this.gpgTextListCommands = new GPGTextList();
     this.gpgPanelGathering = new GPGPanel();
     this.gpgPanelGatheringDropDown = new GPGPanel();
     this.splitContainerBody = new SplitContainer();
     this.gpgPanelClan = new GPGPanel();
     this.gpgPanelFriends = new GPGPanel();
     this.gpgPanel2 = new GPGPanel();
     this.tabChatroom = new SkinButton();
     this.repositoryItemPictureEdit1.BeginInit();
     this.repositoryItemMemoEdit1.BeginInit();
     this.pBottom.SuspendLayout();
     this.msQuickButtons.SuspendLayout();
     ((ISupportInitialize) this.pbBottomRight).BeginInit();
     ((ISupportInitialize) this.pbBottom).BeginInit();
     ((ISupportInitialize) this.pbBottomLeft).BeginInit();
     this.pTop.SuspendLayout();
     this.msMainMenu.SuspendLayout();
     ((ISupportInitialize) this.pbClose).BeginInit();
     ((ISupportInitialize) this.pbRestore).BeginInit();
     ((ISupportInitialize) this.pbMinimize).BeginInit();
     ((ISupportInitialize) this.pbTopRight).BeginInit();
     ((ISupportInitialize) this.pbTop).BeginInit();
     ((ISupportInitialize) this.pbTopLeft).BeginInit();
     this.splitContainerFriends.Panel1.SuspendLayout();
     this.splitContainerFriends.Panel2.SuspendLayout();
     this.splitContainerFriends.SuspendLayout();
     this.gpgScrollPanelFriends.SuspendLayout();
     this.splitContainerClan.Panel1.SuspendLayout();
     this.splitContainerClan.Panel2.SuspendLayout();
     this.splitContainerClan.SuspendLayout();
     this.gpgScrollPanelClan.SuspendLayout();
     this.gpgScrollPanelNoClan.SuspendLayout();
     ((ISupportInitialize) this.pbLeftBorder).BeginInit();
     ((ISupportInitialize) this.pbRightBorder).BeginInit();
     this.rimPictureEdit.BeginInit();
     this.rimMemoEdit.BeginInit();
     this.rimPictureEdit2.BeginInit();
     this.rimMemoEdit2.BeginInit();
     this.gpgChatGrid.BeginInit();
     this.gvChat.BeginInit();
     this.rimPictureEdit3.BeginInit();
     this.rimMemoEdit3.BeginInit();
     this.rimTextEdit.BeginInit();
     this.pcTextEntry.BeginInit();
     this.textBoxMsg.Properties.BeginInit();
     this.dockManager.BeginInit();
     this.pManualTabs.SuspendLayout();
     this.gpgPanelChatAndInput.SuspendLayout();
     this.splitContainerChatAndInput.Panel1.SuspendLayout();
     this.splitContainerChatAndInput.Panel2.SuspendLayout();
     this.splitContainerChatAndInput.SuspendLayout();
     this.gpgPanelGathering.SuspendLayout();
     this.gpgPanelGatheringDropDown.SuspendLayout();
     this.splitContainerBody.Panel1.SuspendLayout();
     this.splitContainerBody.Panel2.SuspendLayout();
     this.splitContainerBody.SuspendLayout();
     this.gpgPanelClan.SuspendLayout();
     this.gpgPanelFriends.SuspendLayout();
     this.gpgPanel2.SuspendLayout();
     base.SuspendLayout();
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1";
     this.repositoryItemPictureEdit1.PictureAlignment = ContentAlignment.TopCenter;
     this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
     this.skinGatheringDisplayChat.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinGatheringDisplayChat.AutoStyle = true;
     this.skinGatheringDisplayChat.BackColor = System.Drawing.Color.Black;
     this.skinGatheringDisplayChat.ButtonState = 0;
     this.skinGatheringDisplayChat.CurrentRoom = null;
     this.skinGatheringDisplayChat.DialogResult = DialogResult.OK;
     this.skinGatheringDisplayChat.DisabledForecolor = System.Drawing.Color.Gray;
     this.skinGatheringDisplayChat.DrawColor = System.Drawing.Color.WhiteSmoke;
     this.skinGatheringDisplayChat.DrawEdges = true;
     this.skinGatheringDisplayChat.FocusColor = System.Drawing.Color.FromArgb(0x40, 0x40, 0x40);
     this.skinGatheringDisplayChat.HorizontalScalingMode = ScalingModes.Stretch;
     this.skinGatheringDisplayChat.Icon = null;
     this.skinGatheringDisplayChat.IsStyled = true;
     this.skinGatheringDisplayChat.Location = new Point(7, 0);
     this.skinGatheringDisplayChat.Name = "skinGatheringDisplayChat";
     this.skinGatheringDisplayChat.Size = new Size(0xf8, 0x19);
     this.skinGatheringDisplayChat.SkinBasePath = @"Controls\Button\ChatroomList";
     base.ttDefault.SetSuperTip(this.skinGatheringDisplayChat, null);
     this.skinGatheringDisplayChat.TabIndex = 12;
     this.skinGatheringDisplayChat.TabStop = true;
     this.skinGatheringDisplayChat.Text = "Loading...";
     this.skinGatheringDisplayChat.TextAlign = ContentAlignment.MiddleLeft;
     this.skinGatheringDisplayChat.TextPadding = new Padding(0x24, 0, 0, 0);
     this.pnlUserListChat.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.pnlUserListChat.AutoRefresh = false;
     this.pnlUserListChat.AutoScroll = true;
     this.pnlUserListChat.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.pnlUserListChat.Location = new Point(2, 0x25);
     this.pnlUserListChat.Name = "pnlUserListChat";
     this.pnlUserListChat.Size = new Size(0x106, 420);
     this.pnlUserListChat.Style = UserListStyles.Chatroom;
     base.ttDefault.SetSuperTip(this.pnlUserListChat, null);
     this.pnlUserListChat.TabIndex = 3;
     this.gridColumnTitle.Caption = "gridColumnTitle";
     this.gridColumnTitle.FieldName = "Title";
     this.gridColumnTitle.Name = "gridColumnTitle";
     this.gridColumnTitle.Visible = true;
     this.gridColumnTitle.VisibleIndex = 0;
     this.gridColumnMembers.Caption = "gridColumnMembers";
     this.gridColumnMembers.FieldName = "Members";
     this.gridColumnMembers.Name = "gridColumnMembers";
     this.gridColumnMembers.Visible = true;
     this.gridColumnMembers.VisibleIndex = 1;
     this.btnSend.Location = new Point(0x200, 0x22d);
     this.btnSend.Name = "btnSend";
     this.btnSend.Size = new Size(0x3b, 0x17);
     base.ttDefault.SetSuperTip(this.btnSend, null);
     this.btnSend.TabIndex = 5;
     this.btnSend.Text = "Send";
     this.btnSend.UseVisualStyleBackColor = true;
     this.btnSend.Click += new EventHandler(this.buttonSend_Click);
     this.pBottom.Controls.Add(this.skinDropDownStatus);
     this.pBottom.Controls.Add(this.msQuickButtons);
     this.pBottom.Controls.Add(this.pbBottomRight);
     this.pBottom.Controls.Add(this.pbBottom);
     this.pBottom.Controls.Add(this.pbBottomLeft);
     this.pBottom.Dock = DockStyle.Bottom;
     this.pBottom.Location = new Point(0, 0x296);
     this.pBottom.Name = "pBottom";
     this.pBottom.Size = new Size(0x3e8, 0x58);
     base.ttDefault.SetSuperTip(this.pBottom, null);
     this.pBottom.TabIndex = 5;
     this.pBottom.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.skinDropDownStatus.AutoStyle = true;
     this.skinDropDownStatus.BackColor = System.Drawing.Color.Black;
     this.skinDropDownStatus.ButtonState = 0;
     this.skinDropDownStatus.DialogResult = DialogResult.OK;
     this.skinDropDownStatus.DisabledForecolor = System.Drawing.Color.Gray;
     this.skinDropDownStatus.DrawColor = System.Drawing.Color.Black;
     this.skinDropDownStatus.DrawEdges = true;
     this.skinDropDownStatus.FocusColor = System.Drawing.Color.FromArgb(0x40, 0x40, 0x40);
     this.skinDropDownStatus.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinDropDownStatus.ForeColor = System.Drawing.Color.Black;
     this.skinDropDownStatus.HorizontalScalingMode = ScalingModes.Tile;
     this.skinDropDownStatus.Icon = null;
     this.skinDropDownStatus.IsStyled = true;
     this.skinDropDownStatus.Location = new Point(0x3d, 0x2b);
     this.skinDropDownStatus.Name = "skinDropDownStatus";
     this.skinDropDownStatus.Size = new Size(0x4e, 0x1a);
     this.skinDropDownStatus.SkinBasePath = @"Controls\Button\Dropdown";
     base.ttDefault.SetSuperTip(this.skinDropDownStatus, null);
     this.skinDropDownStatus.TabIndex = 12;
     this.skinDropDownStatus.TabStop = true;
     this.skinDropDownStatus.TextAlign = ContentAlignment.MiddleLeft;
     this.skinDropDownStatus.TextPadding = new Padding(6, 0, 0, 0);
     this.msQuickButtons.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.msQuickButtons.AutoSize = false;
     this.msQuickButtons.BackgroundImage = (Image) manager.GetObject("msQuickButtons.BackgroundImage");
     this.msQuickButtons.Dock = DockStyle.None;
     this.msQuickButtons.GripMargin = new Padding(0);
     this.msQuickButtons.ImageScalingSize = new Size(0x2d, 0x2d);
     this.msQuickButtons.Items.AddRange(new ToolStripItem[] { this.btnHome, this.btnChat, this.btnHostGame, this.btnJoinGame, this.btnRankedGame, this.btnArrangedTeam, this.btnPlayNow, this.btnViewRankings, this.btnVault, this.btnWorldMap, this.btnReplayVault, this.btnFeedback, this.btnOptions, this.btnMore });
     this.msQuickButtons.Location = new Point(0x90, 0x21);
     this.msQuickButtons.Name = "msQuickButtons";
     this.msQuickButtons.Padding = new Padding(0, 0, 10, 0);
     this.msQuickButtons.RenderMode = ToolStripRenderMode.Professional;
     this.msQuickButtons.ShowItemToolTips = true;
     this.msQuickButtons.Size = new Size(0x335, 0x34);
     base.ttDefault.SetSuperTip(this.msQuickButtons, null);
     this.msQuickButtons.TabIndex = 3;
     this.msQuickButtons.Paint += new PaintEventHandler(this.msQuickButtons_Paint);
     this.msQuickButtons.SizeChanged += new EventHandler(this.msQuickButtons_SizeChanged);
     this.msQuickButtons.MouseUp += new MouseEventHandler(this.OnMouseUp);
     this.msQuickButtons.ItemClicked += new ToolStripItemClickedEventHandler(this.msQuickButtons_ItemClicked);
     this.msQuickButtons.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.msQuickButtons.Click += new EventHandler(this.msQuickButtons_Click);
     this.btnHome.AutoSize = false;
     this.btnHome.AutoToolTip = true;
     this.btnHome.BackColor = System.Drawing.Color.Transparent;
     this.btnHome.Image = (Image) manager.GetObject("btnHome.Image");
     this.btnHome.ImageScaling = ToolStripItemImageScaling.None;
     this.btnHome.Name = "btnHome";
     this.btnHome.ShortcutKeys = Keys.F1;
     this.btnHome.Size = new Size(0x34, 0x34);
     this.btnHome.ToolTipText = "<LOC>Home";
     this.btnHome.Click += new EventHandler(this.btnHome_Click);
     this.btnChat.AutoSize = false;
     this.btnChat.AutoToolTip = true;
     this.btnChat.Image = (Image) manager.GetObject("btnChat.Image");
     this.btnChat.ImageScaling = ToolStripItemImageScaling.None;
     this.btnChat.Name = "btnChat";
     this.btnChat.ShortcutKeys = Keys.F2;
     this.btnChat.Size = new Size(0x34, 0x34);
     this.btnChat.ToolTipText = "<LOC>Chat";
     this.btnChat.Click += new EventHandler(this.btnChat_Click);
     this.btnHostGame.AutoSize = false;
     this.btnHostGame.AutoToolTip = true;
     this.btnHostGame.Enabled = false;
     this.btnHostGame.Image = (Image) manager.GetObject("btnHostGame.Image");
     this.btnHostGame.ImageScaling = ToolStripItemImageScaling.None;
     this.btnHostGame.Name = "btnHostGame";
     this.btnHostGame.ShortcutKeys = Keys.F3;
     this.btnHostGame.Size = new Size(0x34, 0x34);
     this.btnHostGame.ToolTipText = "<LOC>Host Custom Game";
     this.btnHostGame.Click += new EventHandler(this.btnHostGame_Click);
     this.btnJoinGame.AutoSize = false;
     this.btnJoinGame.AutoToolTip = true;
     this.btnJoinGame.Enabled = false;
     this.btnJoinGame.Image = (Image) manager.GetObject("btnJoinGame.Image");
     this.btnJoinGame.ImageScaling = ToolStripItemImageScaling.None;
     this.btnJoinGame.Name = "btnJoinGame";
     this.btnJoinGame.ShortcutKeys = Keys.F4;
     this.btnJoinGame.Size = new Size(0x34, 0x34);
     this.btnJoinGame.ToolTipText = "<LOC>Join Custom Game";
     this.btnJoinGame.Click += new EventHandler(this.btnJoinGame_Click);
     this.btnRankedGame.AutoSize = false;
     this.btnRankedGame.AutoToolTip = true;
     this.btnRankedGame.Enabled = false;
     this.btnRankedGame.Image = (Image) manager.GetObject("btnRankedGame.Image");
     this.btnRankedGame.ImageScaling = ToolStripItemImageScaling.None;
     this.btnRankedGame.Name = "btnRankedGame";
     this.btnRankedGame.ShortcutKeys = Keys.F5;
     this.btnRankedGame.Size = new Size(0x34, 0x34);
     this.btnRankedGame.ToolTipText = "<LOC>Play Ranked Game";
     this.btnRankedGame.Click += new EventHandler(this.btnRankedGame_Click);
     this.btnArrangedTeam.AutoSize = false;
     this.btnArrangedTeam.AutoToolTip = true;
     this.btnArrangedTeam.Enabled = false;
     this.btnArrangedTeam.Image = (Image) manager.GetObject("btnArrangedTeam.Image");
     this.btnArrangedTeam.ImageScaling = ToolStripItemImageScaling.None;
     this.btnArrangedTeam.Name = "btnArrangedTeam";
     this.btnArrangedTeam.ShortcutKeys = Keys.F8;
     this.btnArrangedTeam.Size = new Size(0x34, 0x34);
     this.btnArrangedTeam.ToolTipText = "<LOC>Play Arranged Team Game";
     this.btnArrangedTeam.Click += new EventHandler(this.btnArrangedTeam_Click);
     this.btnPlayNow.AutoSize = false;
     this.btnPlayNow.AutoToolTip = true;
     this.btnPlayNow.Enabled = false;
     this.btnPlayNow.Image = (Image) manager.GetObject("btnPlayNow.Image");
     this.btnPlayNow.ImageScaling = ToolStripItemImageScaling.None;
     this.btnPlayNow.Name = "btnPlayNow";
     this.btnPlayNow.ShortcutKeys = Keys.F8;
     this.btnPlayNow.Size = new Size(0x34, 0x34);
     this.btnPlayNow.ToolTipText = "<LOC>Play ranked game with your last used preferences.";
     this.btnPlayNow.Click += new EventHandler(this.btnPlayNow_Click);
     this.btnViewRankings.AutoSize = false;
     this.btnViewRankings.AutoToolTip = true;
     this.btnViewRankings.Image = (Image) manager.GetObject("btnViewRankings.Image");
     this.btnViewRankings.ImageScaling = ToolStripItemImageScaling.None;
     this.btnViewRankings.Name = "btnViewRankings";
     this.btnViewRankings.ShortcutKeys = Keys.F6;
     this.btnViewRankings.Size = new Size(0x34, 0x34);
     this.btnViewRankings.ToolTipText = "<LOC>View Rankings";
     this.btnViewRankings.Click += new EventHandler(this.btnViewRankings_Click);
     this.btnVault.AutoSize = false;
     this.btnVault.AutoToolTip = true;
     this.btnVault.Image = (Image) manager.GetObject("btnVault.Image");
     this.btnVault.ImageScaling = ToolStripItemImageScaling.None;
     this.btnVault.Name = "btnVault";
     this.btnVault.ShortcutKeys = Keys.F8;
     this.btnVault.Size = new Size(0x34, 0x34);
     this.btnVault.ToolTipText = "<LOC>The Vault";
     this.btnVault.Click += new EventHandler(this.btnVault_Click);
     this.btnWorldMap.AutoSize = false;
     this.btnWorldMap.AutoToolTip = true;
     this.btnWorldMap.Image = (Image) manager.GetObject("btnWorldMap.Image");
     this.btnWorldMap.ImageScaling = ToolStripItemImageScaling.None;
     this.btnWorldMap.Name = "btnWorldMap";
     this.btnWorldMap.ShortcutKeys = Keys.F8;
     this.btnWorldMap.Size = new Size(0x34, 0x34);
     this.btnWorldMap.ToolTipText = "<LOC>World Map";
     this.btnWorldMap.Click += new EventHandler(this.btnWorldMap_Click);
     this.btnReplayVault.AutoSize = false;
     this.btnReplayVault.AutoToolTip = true;
     this.btnReplayVault.Image = (Image) manager.GetObject("btnReplayVault.Image");
     this.btnReplayVault.ImageScaling = ToolStripItemImageScaling.None;
     this.btnReplayVault.Name = "btnReplayVault";
     this.btnReplayVault.ShortcutKeys = Keys.F8;
     this.btnReplayVault.Size = new Size(0x34, 0x34);
     this.btnReplayVault.ToolTipText = "<LOC>Replay Vault";
     this.btnReplayVault.Click += new EventHandler(this.btnReplayVault_Click);
     this.btnFeedback.AutoSize = false;
     this.btnFeedback.AutoToolTip = true;
     this.btnFeedback.Image = (Image) manager.GetObject("btnFeedback.Image");
     this.btnFeedback.ImageScaling = ToolStripItemImageScaling.None;
     this.btnFeedback.Name = "btnFeedback";
     this.btnFeedback.ShortcutKeys = Keys.F7;
     this.btnFeedback.Size = new Size(0x34, 0x34);
     this.btnFeedback.ToolTipText = "<LOC>Submit Feedback";
     this.btnFeedback.Click += new EventHandler(this.btnFeedback_Click);
     this.btnOptions.AutoSize = false;
     this.btnOptions.AutoToolTip = true;
     this.btnOptions.Image = (Image) manager.GetObject("btnOptions.Image");
     this.btnOptions.ImageScaling = ToolStripItemImageScaling.None;
     this.btnOptions.Name = "btnOptions";
     this.btnOptions.ShortcutKeys = Keys.F8;
     this.btnOptions.Size = new Size(0x34, 0x34);
     this.btnOptions.ToolTipText = "<LOC>Options";
     this.btnOptions.Click += new EventHandler(this.btnOptions_Click);
     this.btnMore.AutoSize = false;
     this.btnMore.AutoToolTip = true;
     this.btnMore.Image = (Image) manager.GetObject("btnMore.Image");
     this.btnMore.ImageScaling = ToolStripItemImageScaling.None;
     this.btnMore.Name = "btnMore";
     this.btnMore.ShortcutKeys = Keys.F6;
     this.btnMore.Size = new Size(20, 0x34);
     this.btnMore.ToolTipText = "<LOC>More...";
     this.btnMore.Click += new EventHandler(this.btnMore_Click);
     this.pbBottomRight.Dock = DockStyle.Right;
     this.pbBottomRight.Image = (Image) manager.GetObject("pbBottomRight.Image");
     this.pbBottomRight.Location = new Point(0x3aa, 0);
     this.pbBottomRight.Name = "pbBottomRight";
     this.pbBottomRight.Size = new Size(0x3e, 0x58);
     this.pbBottomRight.SizeMode = PictureBoxSizeMode.AutoSize;
     base.ttDefault.SetSuperTip(this.pbBottomRight, null);
     this.pbBottomRight.TabIndex = 2;
     this.pbBottomRight.TabStop = false;
     this.pbBottomRight.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbBottomRight.MouseUp += new MouseEventHandler(this.OnMouseUp);
     this.pbBottom.Dock = DockStyle.Fill;
     this.pbBottom.Image = (Image) manager.GetObject("pbBottom.Image");
     this.pbBottom.Location = new Point(0x3d, 0);
     this.pbBottom.Name = "pbBottom";
     this.pbBottom.Size = new Size(0x3ab, 0x58);
     this.pbBottom.SizeMode = PictureBoxSizeMode.StretchImage;
     base.ttDefault.SetSuperTip(this.pbBottom, null);
     this.pbBottom.TabIndex = 1;
     this.pbBottom.TabStop = false;
     this.pbBottom.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbBottom.MouseUp += new MouseEventHandler(this.OnMouseUp);
     this.pbBottomLeft.Dock = DockStyle.Left;
     this.pbBottomLeft.Image = (Image) manager.GetObject("pbBottomLeft.Image");
     this.pbBottomLeft.Location = new Point(0, 0);
     this.pbBottomLeft.Name = "pbBottomLeft";
     this.pbBottomLeft.Size = new Size(0x3d, 0x58);
     this.pbBottomLeft.SizeMode = PictureBoxSizeMode.AutoSize;
     base.ttDefault.SetSuperTip(this.pbBottomLeft, null);
     this.pbBottomLeft.TabIndex = 0;
     this.pbBottomLeft.TabStop = false;
     this.pbBottomLeft.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbBottomLeft.MouseUp += new MouseEventHandler(this.OnMouseUp);
     this.pTop.Controls.Add(this.msMainMenu);
     this.pTop.Controls.Add(this.pbClose);
     this.pTop.Controls.Add(this.pbRestore);
     this.pTop.Controls.Add(this.pbMinimize);
     this.pTop.Controls.Add(this.pbTopRight);
     this.pTop.Controls.Add(this.pbTop);
     this.pTop.Controls.Add(this.pbTopLeft);
     this.pTop.Dock = DockStyle.Top;
     this.pTop.Location = new Point(0, 0);
     this.pTop.Name = "pTop";
     this.pTop.Size = new Size(0x3e8, 0xc9);
     base.ttDefault.SetSuperTip(this.pTop, null);
     this.pTop.TabIndex = 4;
     this.pTop.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.msMainMenu.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.msMainMenu.AutoSize = false;
     this.msMainMenu.BackColor = System.Drawing.Color.Transparent;
     this.msMainMenu.BackgroundImage = (Image) manager.GetObject("msMainMenu.BackgroundImage");
     this.msMainMenu.Dock = DockStyle.None;
     this.msMainMenu.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.msMainMenu.ImageScalingSize = new Size(0, 0);
     this.msMainMenu.Items.AddRange(new ToolStripItem[] { this.miMainGroup, this.miAdmin, this.miGameGroup, this.miRankings, this.miLadders, this.miTools, this.miHelp });
     this.msMainMenu.Location = new Point(0x3d, 0x2e);
     this.msMainMenu.Name = "msMainMenu";
     this.msMainMenu.Size = new Size(0x35f, 0x18);
     base.ttDefault.SetSuperTip(this.msMainMenu, null);
     this.msMainMenu.TabIndex = 9;
     this.msMainMenu.Text = "menuStrip1";
     this.miMainGroup.DropDownItems.AddRange(new ToolStripItem[] { this.miMain_Logout, this.miMain_Exit, this.miChangeEmail, this.miConsolidateAccounts });
     this.miMainGroup.Name = "miMainGroup";
     this.miMainGroup.Size = new Size(90, 20);
     this.miMainGroup.Text = "<LOC>Main";
     this.miMainGroup.TextAlign = ContentAlignment.BottomCenter;
     this.miMain_Logout.Name = "miMain_Logout";
     this.miMain_Logout.Size = new Size(0xfb, 0x16);
     this.miMain_Logout.Text = "<LOC>Logout";
     this.miMain_Logout.Click += new EventHandler(this.miMain_Logout_Click);
     this.miMain_Exit.Name = "miMain_Exit";
     this.miMain_Exit.Size = new Size(0xfb, 0x16);
     this.miMain_Exit.Text = "<LOC>Exit";
     this.miMain_Exit.Click += new EventHandler(this.miMain_Exit_Click);
     this.miChangeEmail.Name = "miChangeEmail";
     this.miChangeEmail.Size = new Size(0xfb, 0x16);
     this.miChangeEmail.Text = "<LOC>Change Email Address";
     this.miChangeEmail.Click += new EventHandler(this.mChangeEmail_Click);
     this.miConsolidateAccounts.Name = "miConsolidateAccounts";
     this.miConsolidateAccounts.Size = new Size(0xfb, 0x16);
     this.miConsolidateAccounts.Text = "<LOC>Consolidate Accounts";
     this.miConsolidateAccounts.Click += new EventHandler(this.miConsolidateAccounts_Click);
     this.miAdmin.DropDownItems.AddRange(new ToolStripItem[] { this.miCustomAdmin, this.miAdhocSQL, this.adhocChartsToolStripMenuItem, this.miPacketSniffer, this.miShowEventLog, this.miAdmin_CreateVolunteerEffort, this.miAdmin_ViewVolunteers, this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem, this.miAdmin_Security, this.miAdmin_Avatars, this.spaceSiegeLobbyToolStripMenuItem, this.manageServerGamesToolStripMenuItem });
     this.miAdmin.Name = "miAdmin";
     this.miAdmin.Size = new Size(0x63, 20);
     this.miAdmin.Text = "<LOC>Admin";
     this.miAdmin.TextAlign = ContentAlignment.BottomCenter;
     this.miCustomAdmin.Name = "miCustomAdmin";
     this.miCustomAdmin.Size = new Size(0x18e, 0x16);
     this.miCustomAdmin.Text = "Custom Tools";
     this.miAdhocSQL.Name = "miAdhocSQL";
     this.miAdhocSQL.Size = new Size(0x18e, 0x16);
     this.miAdhocSQL.Text = "Adhoc SQL";
     this.miAdhocSQL.Click += new EventHandler(this.miAdhocSQL_Click);
     this.adhocChartsToolStripMenuItem.Name = "adhocChartsToolStripMenuItem";
     this.adhocChartsToolStripMenuItem.Size = new Size(0x18e, 0x16);
     this.adhocChartsToolStripMenuItem.Text = "Adhoc Charts";
     this.adhocChartsToolStripMenuItem.Click += new EventHandler(this.adhocChartsToolStripMenuItem_Click);
     this.miPacketSniffer.Name = "miPacketSniffer";
     this.miPacketSniffer.Size = new Size(0x18e, 0x16);
     this.miPacketSniffer.Tag = "Dev";
     this.miPacketSniffer.Text = "UDP Packet Sniffer";
     this.miPacketSniffer.Click += new EventHandler(this.miPacketSniffer_Click);
     this.miShowEventLog.Name = "miShowEventLog";
     this.miShowEventLog.Size = new Size(0x18e, 0x16);
     this.miShowEventLog.Tag = "Dev";
     this.miShowEventLog.Text = "Show Event Log";
     this.miShowEventLog.Click += new EventHandler(this.miEventLog_Click);
     this.miAdmin_CreateVolunteerEffort.Name = "miAdmin_CreateVolunteerEffort";
     this.miAdmin_CreateVolunteerEffort.Size = new Size(0x18e, 0x16);
     this.miAdmin_CreateVolunteerEffort.Text = "Create Volunteer Effort";
     this.miAdmin_CreateVolunteerEffort.Click += new EventHandler(this.miAdmin_CreateVolunteerEffort_Click);
     this.miAdmin_ViewVolunteers.Name = "miAdmin_ViewVolunteers";
     this.miAdmin_ViewVolunteers.Size = new Size(0x18e, 0x16);
     this.miAdmin_ViewVolunteers.Text = "View Volunteers";
     this.miAdmin_ViewVolunteers.Click += new EventHandler(this.miAdmin_ViewVolunteers_Click);
     this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem.Name = "forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem";
     this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem.Size = new Size(0x18e, 0x16);
     this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem.Tag = "Dev";
     this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem.Text = "Force all users to restart GPGnet (must be THE Admin)";
     this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem.Click += new EventHandler(this.forceAllUsersToRestartGPGnetmustBeTHEAdminToolStripMenuItem_Click);
     this.miAdmin_Security.Name = "miAdmin_Security";
     this.miAdmin_Security.Size = new Size(0x18e, 0x16);
     this.miAdmin_Security.Text = "Security";
     this.miAdmin_Security.Click += new EventHandler(this.miAdmin_Security_Click);
     this.miAdmin_Avatars.Name = "miAdmin_Avatars";
     this.miAdmin_Avatars.Size = new Size(0x18e, 0x16);
     this.miAdmin_Avatars.Text = "Assign Player Avatars";
     this.miAdmin_Avatars.Click += new EventHandler(this.miAdmin_Avatars_Click);
     this.spaceSiegeLobbyToolStripMenuItem.Name = "spaceSiegeLobbyToolStripMenuItem";
     this.spaceSiegeLobbyToolStripMenuItem.Size = new Size(0x18e, 0x16);
     this.spaceSiegeLobbyToolStripMenuItem.Text = "Space Siege Lobby";
     this.spaceSiegeLobbyToolStripMenuItem.Click += new EventHandler(this.spaceSiegeLobbyToolStripMenuItem_Click);
     this.manageServerGamesToolStripMenuItem.Name = "manageServerGamesToolStripMenuItem";
     this.manageServerGamesToolStripMenuItem.Size = new Size(0x18e, 0x16);
     this.manageServerGamesToolStripMenuItem.Text = "Manage Server Games";
     this.manageServerGamesToolStripMenuItem.Click += new EventHandler(this.manageServerGamesToolStripMenuItem_Click);
     this.miGameGroup.DropDownItems.AddRange(new ToolStripItem[] { this.miCustomGame, this.miJoinGame, this.miAutomatch, this.lOCArrangedTeamGameToolStripMenuItem, this.miGame_Vault, this.miCreateTournament, this.miTournamentSchedule, this.miGame_RedeemPrize });
     this.miGameGroup.Enabled = false;
     this.miGameGroup.Name = "miGameGroup";
     this.miGameGroup.Size = new Size(0x61, 20);
     this.miGameGroup.Text = "<LOC>Game";
     this.miGameGroup.TextAlign = ContentAlignment.BottomCenter;
     this.miCustomGame.Image = GPG.Multiplayer.Client.Properties.Resources.host;
     this.miCustomGame.Name = "miCustomGame";
     this.miCustomGame.Size = new Size(0x110, 0x16);
     this.miCustomGame.Text = "<LOC>Host Custom Game";
     this.miCustomGame.Click += new EventHandler(this.miCustomGame_Click);
     this.miJoinGame.Image = GPG.Multiplayer.Client.Properties.Resources.jointeam2;
     this.miJoinGame.Name = "miJoinGame";
     this.miJoinGame.Size = new Size(0x110, 0x16);
     this.miJoinGame.Text = "<LOC>Join Custom Game";
     this.miJoinGame.Click += new EventHandler(this.miJoinGame_Click);
     this.miAutomatch.Name = "miAutomatch";
     this.miAutomatch.Size = new Size(0x110, 0x16);
     this.miAutomatch.Text = "<LOC>Play Ranked Game";
     this.miAutomatch.Click += new EventHandler(this.miAutomatch_Click);
     this.lOCArrangedTeamGameToolStripMenuItem.Name = "lOCArrangedTeamGameToolStripMenuItem";
     this.lOCArrangedTeamGameToolStripMenuItem.Size = new Size(0x110, 0x16);
     this.lOCArrangedTeamGameToolStripMenuItem.Text = "<LOC>Arranged Team Game";
     this.lOCArrangedTeamGameToolStripMenuItem.Click += new EventHandler(this.lOCArrangedTeamGameToolStripMenuItem_Click);
     this.miGame_Vault.Name = "miGame_Vault";
     this.miGame_Vault.Size = new Size(0x110, 0x16);
     this.miGame_Vault.Text = "<LOC>Replay Vault";
     this.miGame_Vault.Click += new EventHandler(this.miGame_Vault_Click);
     this.miCreateTournament.Name = "miCreateTournament";
     this.miCreateTournament.Size = new Size(0x110, 0x16);
     this.miCreateTournament.Text = "<LOC>Create Tournament";
     this.miCreateTournament.Visible = false;
     this.miCreateTournament.Click += new EventHandler(this.miCreateTournament_Click);
     this.miTournamentSchedule.Name = "miTournamentSchedule";
     this.miTournamentSchedule.Size = new Size(0x110, 0x16);
     this.miTournamentSchedule.Text = "<LOC>Tournament Schedule";
     this.miTournamentSchedule.Click += new EventHandler(this.miTournamentSchedule_Click);
     this.miGame_RedeemPrize.Enabled = false;
     this.miGame_RedeemPrize.Name = "miGame_RedeemPrize";
     this.miGame_RedeemPrize.Size = new Size(0x110, 0x16);
     this.miGame_RedeemPrize.Text = "<LOC>Redeem Tournament Prize";
     this.miGame_RedeemPrize.Visible = false;
     this.miGame_RedeemPrize.Click += new EventHandler(this.miGame_RedeemPrize_Click);
     this.miRankings.DropDownItems.AddRange(new ToolStripItem[] { this.miRankings_1v1, this.lOC2v2RankingsToolStripMenuItem, this.lOC3v3RankingsToolStripMenuItem, this.lOC4v4RankingsToolStripMenuItem, this.lOCClanRankingsToolStripMenuItem });
     this.miRankings.Name = "miRankings";
     this.miRankings.Size = new Size(0x74, 20);
     this.miRankings.Text = "<LOC>Rankings";
     this.miRankings.TextAlign = ContentAlignment.BottomCenter;
     this.miRankings_1v1.Image = GPG.Multiplayer.Client.Properties.Resources.rankings1;
     this.miRankings_1v1.Name = "miRankings_1v1";
     this.miRankings_1v1.Size = new Size(0xd6, 0x16);
     this.miRankings_1v1.Text = "<LOC>1v1 Rankings...";
     this.miRankings_1v1.Click += new EventHandler(this.miRankings_1v1_Click);
     this.lOC2v2RankingsToolStripMenuItem.Name = "lOC2v2RankingsToolStripMenuItem";
     this.lOC2v2RankingsToolStripMenuItem.Size = new Size(0xd6, 0x16);
     this.lOC2v2RankingsToolStripMenuItem.Text = "<LOC>2v2 Rankings...";
     this.lOC2v2RankingsToolStripMenuItem.Click += new EventHandler(this.lOC2v2RankingsToolStripMenuItem_Click);
     this.lOC3v3RankingsToolStripMenuItem.Name = "lOC3v3RankingsToolStripMenuItem";
     this.lOC3v3RankingsToolStripMenuItem.Size = new Size(0xd6, 0x16);
     this.lOC3v3RankingsToolStripMenuItem.Text = "<LOC>3v3 Rankings...";
     this.lOC3v3RankingsToolStripMenuItem.Click += new EventHandler(this.lOC3v3RankingsToolStripMenuItem_Click);
     this.lOC4v4RankingsToolStripMenuItem.Name = "lOC4v4RankingsToolStripMenuItem";
     this.lOC4v4RankingsToolStripMenuItem.Size = new Size(0xd6, 0x16);
     this.lOC4v4RankingsToolStripMenuItem.Text = "<LOC>4v4 Rankings...";
     this.lOC4v4RankingsToolStripMenuItem.Click += new EventHandler(this.lOC4v4RankingsToolStripMenuItem_Click);
     this.lOCClanRankingsToolStripMenuItem.Name = "lOCClanRankingsToolStripMenuItem";
     this.lOCClanRankingsToolStripMenuItem.Size = new Size(0xd6, 0x16);
     this.lOCClanRankingsToolStripMenuItem.Text = "<LOC>Clan Rankings...";
     this.lOCClanRankingsToolStripMenuItem.Click += new EventHandler(this.lOCClanRankingsToolStripMenuItem_Click);
     this.miLadders.DropDownItems.AddRange(new ToolStripItem[] { this.miLadders_AcceptAll, this.miLadders_DeclineAll });
     this.miLadders.Name = "miLadders";
     this.miLadders.Size = new Size(0x6c, 20);
     this.miLadders.Text = "<LOC>Ladders";
     this.miLadders.TextAlign = ContentAlignment.BottomCenter;
     this.miLadders_AcceptAll.Name = "miLadders_AcceptAll";
     this.miLadders_AcceptAll.Size = new Size(0xf8, 0x16);
     this.miLadders_AcceptAll.Text = "<LOC>Accept All Challenges";
     this.miLadders_AcceptAll.Click += new EventHandler(this.miLadders_AcceptAll_Click);
     this.miLadders_DeclineAll.Name = "miLadders_DeclineAll";
     this.miLadders_DeclineAll.Size = new Size(0xf8, 0x16);
     this.miLadders_DeclineAll.Text = "<LOC>Decline All Challenges";
     this.miLadders_DeclineAll.Click += new EventHandler(this.miLadders_DeclineAll_Click);
     this.miTools.DropDownItems.AddRange(new ToolStripItem[] { this.miTools_Feedback, this.miTools_GameKeys, this.miTools_Chat, this.miTools_ContentManager, this.miTools_Options, this.miTools_LocPatches, this.miManageGames });
     this.miTools.Name = "miTools";
     this.miTools.Size = new Size(0x5d, 20);
     this.miTools.Text = "<LOC>Tools";
     this.miTools.TextAlign = ContentAlignment.BottomCenter;
     this.miTools_Feedback.Name = "miTools_Feedback";
     this.miTools_Feedback.Size = new Size(210, 0x16);
     this.miTools_Feedback.Text = "<LOC>Feedback";
     this.miTools_Feedback.Click += new EventHandler(this.miTools_Feedback_Click);
     this.miTools_GameKeys.Name = "miTools_GameKeys";
     this.miTools_GameKeys.Size = new Size(210, 0x16);
     this.miTools_GameKeys.Text = "<LOC>Game Keys...";
     this.miTools_GameKeys.Visible = false;
     this.miTools_GameKeys.Click += new EventHandler(this.miTools_GameKeys_Click);
     this.miTools_Chat.DropDownItems.AddRange(new ToolStripItem[] { this.miTools_Chat_Emotes });
     this.miTools_Chat.Name = "miTools_Chat";
     this.miTools_Chat.Size = new Size(210, 0x16);
     this.miTools_Chat.Text = "<LOC>Chat";
     this.miTools_Chat_Emotes.Name = "miTools_Chat_Emotes";
     this.miTools_Chat_Emotes.Size = new Size(0xaf, 0x16);
     this.miTools_Chat_Emotes.Text = "<LOC>Emotes...";
     this.miTools_Chat_Emotes.Click += new EventHandler(this.miTools_Chat_Emotes_Click);
     this.miTools_ContentManager.Name = "miTools_ContentManager";
     this.miTools_ContentManager.Size = new Size(210, 0x16);
     this.miTools_ContentManager.Text = "<LOC>The Vault";
     this.miTools_ContentManager.Click += new EventHandler(this.miTools_ContentManager_Click);
     this.miTools_Options.Name = "miTools_Options";
     this.miTools_Options.Size = new Size(210, 0x16);
     this.miTools_Options.Text = "<LOC>Options...";
     this.miTools_Options.Click += new EventHandler(this.miTools_Options_Click);
     this.miTools_LocPatches.Enabled = false;
     this.miTools_LocPatches.Name = "miTools_LocPatches";
     this.miTools_LocPatches.Size = new Size(210, 0x16);
     this.miTools_LocPatches.Text = "Loc Patches";
     this.miTools_LocPatches.Visible = false;
     this.miTools_LocPatches.Click += new EventHandler(this.miTools_LocPatches_Click);
     this.miManageGames.Name = "miManageGames";
     this.miManageGames.Size = new Size(210, 0x16);
     this.miManageGames.Text = "<LOC>Manage Games";
     this.miManageGames.Click += new EventHandler(this.miManageGames_Click);
     this.miHelp.DropDownItems.AddRange(new ToolStripItem[] { this.miHelp_Solutions, this.miHelp_Volunteer, this.miHelp_SupComHome, this.miHelp_GPGHome, this.miForums, this.miHelp_ReportIssue, this.miSpaceSiegeWeb, this.miHelp_About });
     this.miHelp.Name = "miHelp";
     this.miHelp.Size = new Size(0x58, 20);
     this.miHelp.Text = "<LOC>Help";
     this.miHelp.TextAlign = ContentAlignment.BottomCenter;
     this.miHelp_Solutions.Name = "miHelp_Solutions";
     this.miHelp_Solutions.Size = new Size(0x151, 0x16);
     this.miHelp_Solutions.Text = "<LOC>GPGnet Knowledge Base";
     this.miHelp_Solutions.Click += new EventHandler(this.miHelp_Solutions_Click);
     this.miHelp_Volunteer.Name = "miHelp_Volunteer";
     this.miHelp_Volunteer.Size = new Size(0x151, 0x16);
     this.miHelp_Volunteer.Text = "<LOC>Volunteer Opportunities";
     this.miHelp_Volunteer.Click += new EventHandler(this.miHelp_Volunteer_Click);
     this.miHelp_SupComHome.Name = "miHelp_SupComHome";
     this.miHelp_SupComHome.Size = new Size(0x151, 0x16);
     this.miHelp_SupComHome.Text = "<LOC>SupremeCommander.com";
     this.miHelp_SupComHome.Click += new EventHandler(this.miHelp_SupComHome_Click);
     this.miHelp_GPGHome.Name = "miHelp_GPGHome";
     this.miHelp_GPGHome.Size = new Size(0x151, 0x16);
     this.miHelp_GPGHome.Text = "<LOC>GasPowered.com";
     this.miHelp_GPGHome.Click += new EventHandler(this.miHelp_GPGHome_Click);
     this.miForums.Name = "miForums";
     this.miForums.Size = new Size(0x151, 0x16);
     this.miForums.Text = "<LOC>Forums.GasPowered.com";
     this.miForums.Click += new EventHandler(this.miForums_Click);
     this.miHelp_ReportIssue.Name = "miHelp_ReportIssue";
     this.miHelp_ReportIssue.Size = new Size(0x151, 0x16);
     this.miHelp_ReportIssue.Text = "<LOC>Report an Issue";
     this.miHelp_ReportIssue.Click += new EventHandler(this.miHelp_ReportIssue_Click);
     this.miHelp_About.Name = "miHelp_About";
     this.miHelp_About.Size = new Size(0x151, 0x16);
     this.miHelp_About.Text = "<LOC>About GPGnet: Supreme Commander";
     this.miHelp_About.Click += new EventHandler(this.aboutGPGNetToolStripMenuItem_Click);
     this.miSpaceSiegeWeb.Name = "miSpaceSiegeWeb";
     this.miSpaceSiegeWeb.Size = new Size(0x151, 0x16);
     this.miSpaceSiegeWeb.Text = "<LOC>spacesiege.com";
     this.miSpaceSiegeWeb.Visible = false;
     this.miSpaceSiegeWeb.Click += new EventHandler(this.lOCToolStripMenuItem_Click);
     this.pbClose.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.pbClose.Image = (Image) manager.GetObject("pbClose.Image");
     this.pbClose.Location = new Point(0x39a, 10);
     this.pbClose.Name = "pbClose";
     this.pbClose.Size = new Size(0x21, 0x20);
     this.pbClose.SizeMode = PictureBoxSizeMode.AutoSize;
     base.ttDefault.SetSuperTip(this.pbClose, null);
     this.pbClose.TabIndex = 6;
     this.pbClose.TabStop = false;
     this.pbClose.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbClose.Click += new EventHandler(this.pbClose_Click);
     this.pbRestore.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.pbRestore.Image = (Image) manager.GetObject("pbRestore.Image");
     this.pbRestore.Location = new Point(0x37b, 10);
     this.pbRestore.Name = "pbRestore";
     this.pbRestore.Size = new Size(0x21, 0x20);
     this.pbRestore.SizeMode = PictureBoxSizeMode.AutoSize;
     base.ttDefault.SetSuperTip(this.pbRestore, null);
     this.pbRestore.TabIndex = 5;
     this.pbRestore.TabStop = false;
     this.pbRestore.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbRestore.Click += new EventHandler(this.pbRestore_Click);
     this.pbMinimize.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.pbMinimize.Image = (Image) manager.GetObject("pbMinimize.Image");
     this.pbMinimize.Location = new Point(0x35b, 10);
     this.pbMinimize.Name = "pbMinimize";
     this.pbMinimize.Size = new Size(0x21, 0x20);
     this.pbMinimize.SizeMode = PictureBoxSizeMode.AutoSize;
     base.ttDefault.SetSuperTip(this.pbMinimize, null);
     this.pbMinimize.TabIndex = 4;
     this.pbMinimize.TabStop = false;
     this.pbMinimize.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbMinimize.Click += new EventHandler(this.pbMinimize_Click);
     this.pbTopRight.Dock = DockStyle.Right;
     this.pbTopRight.Image = (Image) manager.GetObject("pbTopRight.Image");
     this.pbTopRight.Location = new Point(0x359, 0);
     this.pbTopRight.Name = "pbTopRight";
     this.pbTopRight.Size = new Size(0x8f, 0xc9);
     this.pbTopRight.SizeMode = PictureBoxSizeMode.AutoSize;
     base.ttDefault.SetSuperTip(this.pbTopRight, null);
     this.pbTopRight.TabIndex = 3;
     this.pbTopRight.TabStop = false;
     this.pbTopRight.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbTopRight.MouseUp += new MouseEventHandler(this.OnMouseUp);
     this.pbTop.Dock = DockStyle.Fill;
     this.pbTop.Image = (Image) manager.GetObject("pbTop.Image");
     this.pbTop.Location = new Point(0xa3, 0);
     this.pbTop.Name = "pbTop";
     this.pbTop.Size = new Size(0x345, 0xc9);
     this.pbTop.SizeMode = PictureBoxSizeMode.StretchImage;
     base.ttDefault.SetSuperTip(this.pbTop, null);
     this.pbTop.TabIndex = 2;
     this.pbTop.TabStop = false;
     this.pbTop.DoubleClick += new EventHandler(this.pbRestore_Click);
     this.pbTop.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbTop.MouseUp += new MouseEventHandler(this.OnMouseUp);
     this.pbTopLeft.Dock = DockStyle.Left;
     this.pbTopLeft.Image = (Image) manager.GetObject("pbTopLeft.Image");
     this.pbTopLeft.Location = new Point(0, 0);
     this.pbTopLeft.Name = "pbTopLeft";
     this.pbTopLeft.Size = new Size(0xa3, 0xc9);
     this.pbTopLeft.SizeMode = PictureBoxSizeMode.AutoSize;
     base.ttDefault.SetSuperTip(this.pbTopLeft, null);
     this.pbTopLeft.TabIndex = 0;
     this.pbTopLeft.TabStop = false;
     this.pbTopLeft.DoubleClick += new EventHandler(this.pbRestore_Click);
     this.pbTopLeft.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbTopLeft.MouseUp += new MouseEventHandler(this.OnMouseUp);
     this.wbMain.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.wbMain.Location = new Point(0x31, 0x48);
     this.wbMain.MinimumSize = new Size(20, 20);
     this.wbMain.Name = "wbMain";
     this.wbMain.Size = new Size(0x38b, 90);
     base.ttDefault.SetSuperTip(this.wbMain, null);
     this.wbMain.TabIndex = 8;
     this.wbMain.Url = new Uri("", UriKind.Relative);
     this.splitContainerFriends.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerFriends.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.splitContainerFriends.FixedPanel = FixedPanel.Panel1;
     this.splitContainerFriends.IsSplitterFixed = true;
     this.splitContainerFriends.Location = new Point(2, 2);
     this.splitContainerFriends.Name = "splitContainerFriends";
     this.splitContainerFriends.Orientation = Orientation.Horizontal;
     this.splitContainerFriends.Panel1.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.splitContainerFriends.Panel1.Controls.Add(this.gpgLabelFriendInvites2);
     this.splitContainerFriends.Panel1.Controls.Add(this.gpgLabelFriendInvitesCount2);
     base.ttDefault.SetSuperTip(this.splitContainerFriends.Panel1, null);
     this.splitContainerFriends.Panel1MinSize = 20;
     this.splitContainerFriends.Panel2.Controls.Add(this.gpgScrollPanelFriends);
     base.ttDefault.SetSuperTip(this.splitContainerFriends.Panel2, null);
     this.splitContainerFriends.Size = new Size(0x106, 0x1c7);
     this.splitContainerFriends.SplitterDistance = 0x17;
     this.splitContainerFriends.SplitterWidth = 1;
     base.ttDefault.SetSuperTip(this.splitContainerFriends, null);
     this.splitContainerFriends.TabIndex = 5;
     this.gpgLabelFriendInvites2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelFriendInvites2.AutoSize = true;
     this.gpgLabelFriendInvites2.AutoStyle = true;
     this.gpgLabelFriendInvites2.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgLabelFriendInvites2.Font = new Font("Arial", 9.75f);
     this.gpgLabelFriendInvites2.ForeColor = System.Drawing.Color.White;
     this.gpgLabelFriendInvites2.IgnoreMouseWheel = false;
     this.gpgLabelFriendInvites2.IsStyled = false;
     this.gpgLabelFriendInvites2.Location = new Point(3, 4);
     this.gpgLabelFriendInvites2.Name = "gpgLabelFriendInvites2";
     this.gpgLabelFriendInvites2.Size = new Size(0x8b, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelFriendInvites2, null);
     this.gpgLabelFriendInvites2.TabIndex = 12;
     this.gpgLabelFriendInvites2.Text = "<LOC>View Invitations";
     this.gpgLabelFriendInvites2.TextStyle = TextStyles.Link;
     this.gpgLabelFriendInvites2.Click += new EventHandler(this.gpgLabelFriendInvites2_Click);
     this.gpgLabelFriendInvitesCount2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelFriendInvitesCount2.AutoSize = true;
     this.gpgLabelFriendInvitesCount2.AutoStyle = true;
     this.gpgLabelFriendInvitesCount2.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gpgLabelFriendInvitesCount2.ForeColor = System.Drawing.Color.White;
     this.gpgLabelFriendInvitesCount2.IgnoreMouseWheel = false;
     this.gpgLabelFriendInvitesCount2.IsStyled = false;
     this.gpgLabelFriendInvitesCount2.Location = new Point(0x7b, 3);
     this.gpgLabelFriendInvitesCount2.Margin = new Padding(0);
     this.gpgLabelFriendInvitesCount2.Name = "gpgLabelFriendInvitesCount2";
     this.gpgLabelFriendInvitesCount2.Size = new Size(0x17, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelFriendInvitesCount2, null);
     this.gpgLabelFriendInvitesCount2.TabIndex = 11;
     this.gpgLabelFriendInvitesCount2.Text = "(0)";
     this.gpgLabelFriendInvitesCount2.TextStyle = TextStyles.Default;
     this.gpgScrollPanelFriends.AutoScroll = true;
     this.gpgScrollPanelFriends.BackColor = System.Drawing.Color.Black;
     this.gpgScrollPanelFriends.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgScrollPanelFriends.BorderThickness = 2;
     this.gpgScrollPanelFriends.ChildControl = null;
     this.gpgScrollPanelFriends.Controls.Add(this.pnlUserListFriends);
     this.gpgScrollPanelFriends.Controls.Add(this.gpgLabelNoFriends);
     this.gpgScrollPanelFriends.Dock = DockStyle.Fill;
     this.gpgScrollPanelFriends.DrawBorder = false;
     this.gpgScrollPanelFriends.Location = new Point(0, 0);
     this.gpgScrollPanelFriends.Name = "gpgScrollPanelFriends";
     this.gpgScrollPanelFriends.Size = new Size(0x106, 0x1af);
     base.ttDefault.SetSuperTip(this.gpgScrollPanelFriends, null);
     this.gpgScrollPanelFriends.TabIndex = 0;
     this.pnlUserListFriends.AutoRefresh = true;
     this.pnlUserListFriends.AutoScroll = true;
     this.pnlUserListFriends.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.pnlUserListFriends.Dock = DockStyle.Fill;
     this.pnlUserListFriends.Location = new Point(0, 0);
     this.pnlUserListFriends.Name = "pnlUserListFriends";
     this.pnlUserListFriends.Size = new Size(0x106, 0x1af);
     this.pnlUserListFriends.Style = UserListStyles.OnlineOffline;
     base.ttDefault.SetSuperTip(this.pnlUserListFriends, null);
     this.pnlUserListFriends.TabIndex = 0;
     this.gpgLabelNoFriends.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelNoFriends.AutoStyle = true;
     this.gpgLabelNoFriends.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgLabelNoFriends.Dock = DockStyle.Fill;
     this.gpgLabelNoFriends.Font = new Font("Arial", 9.75f);
     this.gpgLabelNoFriends.ForeColor = System.Drawing.Color.White;
     this.gpgLabelNoFriends.IgnoreMouseWheel = false;
     this.gpgLabelNoFriends.IsStyled = false;
     this.gpgLabelNoFriends.Location = new Point(0, 0);
     this.gpgLabelNoFriends.Name = "gpgLabelNoFriends";
     this.gpgLabelNoFriends.Size = new Size(0x106, 0x1af);
     base.ttDefault.SetSuperTip(this.gpgLabelNoFriends, null);
     this.gpgLabelNoFriends.TabIndex = 1;
     this.gpgLabelNoFriends.Text = manager.GetString("gpgLabelNoFriends.Text");
     this.gpgLabelNoFriends.TextAlign = ContentAlignment.MiddleCenter;
     this.gpgLabelNoFriends.TextStyle = TextStyles.Default;
     this.splitContainerClan.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerClan.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.splitContainerClan.FixedPanel = FixedPanel.Panel1;
     this.splitContainerClan.IsSplitterFixed = true;
     this.splitContainerClan.Location = new Point(2, 0x16);
     this.splitContainerClan.Margin = new Padding(0);
     this.splitContainerClan.Name = "splitContainerClan";
     this.splitContainerClan.Orientation = Orientation.Horizontal;
     this.splitContainerClan.Panel1.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.splitContainerClan.Panel1.Controls.Add(this.gpgLabelClanRequests);
     this.splitContainerClan.Panel1.Controls.Add(this.gpgLabelClanRequestCount);
     base.ttDefault.SetSuperTip(this.splitContainerClan.Panel1, null);
     this.splitContainerClan.Panel1MinSize = 20;
     this.splitContainerClan.Panel2.Controls.Add(this.gpgScrollPanelClan);
     this.splitContainerClan.Panel2.Controls.Add(this.gpgScrollPanelNoClan);
     base.ttDefault.SetSuperTip(this.splitContainerClan.Panel2, null);
     this.splitContainerClan.Size = new Size(0x106, 0x1b3);
     this.splitContainerClan.SplitterDistance = 20;
     this.splitContainerClan.SplitterWidth = 1;
     base.ttDefault.SetSuperTip(this.splitContainerClan, null);
     this.splitContainerClan.TabIndex = 6;
     this.gpgLabelClanRequests.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelClanRequests.AutoSize = true;
     this.gpgLabelClanRequests.AutoStyle = true;
     this.gpgLabelClanRequests.Font = new Font("Arial", 9.75f);
     this.gpgLabelClanRequests.ForeColor = System.Drawing.Color.White;
     this.gpgLabelClanRequests.IgnoreMouseWheel = false;
     this.gpgLabelClanRequests.IsStyled = false;
     this.gpgLabelClanRequests.Location = new Point(-1, 0);
     this.gpgLabelClanRequests.Name = "gpgLabelClanRequests";
     this.gpgLabelClanRequests.Size = new Size(0x89, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelClanRequests, null);
     this.gpgLabelClanRequests.TabIndex = 2;
     this.gpgLabelClanRequests.Text = "<LOC>View Requests";
     this.gpgLabelClanRequests.TextStyle = TextStyles.Link;
     this.gpgLabelClanRequests.Click += new EventHandler(this.gpgLabelClanRequests_Click);
     this.gpgLabelClanRequestCount.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelClanRequestCount.AutoSize = true;
     this.gpgLabelClanRequestCount.AutoStyle = true;
     this.gpgLabelClanRequestCount.Font = new Font("Arial", 9.75f);
     this.gpgLabelClanRequestCount.ForeColor = System.Drawing.Color.White;
     this.gpgLabelClanRequestCount.IgnoreMouseWheel = false;
     this.gpgLabelClanRequestCount.IsStyled = false;
     this.gpgLabelClanRequestCount.Location = new Point(140, 0);
     this.gpgLabelClanRequestCount.Name = "gpgLabelClanRequestCount";
     this.gpgLabelClanRequestCount.Size = new Size(0x17, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelClanRequestCount, null);
     this.gpgLabelClanRequestCount.TabIndex = 1;
     this.gpgLabelClanRequestCount.Text = "(0)";
     this.gpgLabelClanRequestCount.TextStyle = TextStyles.Default;
     this.gpgScrollPanelClan.AutoScroll = true;
     this.gpgScrollPanelClan.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgScrollPanelClan.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgScrollPanelClan.BorderThickness = 2;
     this.gpgScrollPanelClan.ChildControl = null;
     this.gpgScrollPanelClan.Controls.Add(this.pnlUserListClan);
     this.gpgScrollPanelClan.Dock = DockStyle.Fill;
     this.gpgScrollPanelClan.DrawBorder = false;
     this.gpgScrollPanelClan.Location = new Point(0, 0);
     this.gpgScrollPanelClan.Name = "gpgScrollPanelClan";
     this.gpgScrollPanelClan.Size = new Size(0x106, 0x19e);
     base.ttDefault.SetSuperTip(this.gpgScrollPanelClan, null);
     this.gpgScrollPanelClan.TabIndex = 1;
     this.pnlUserListClan.AutoRefresh = true;
     this.pnlUserListClan.AutoScroll = true;
     this.pnlUserListClan.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.pnlUserListClan.Dock = DockStyle.Fill;
     this.pnlUserListClan.Location = new Point(0, 0);
     this.pnlUserListClan.Name = "pnlUserListClan";
     this.pnlUserListClan.Size = new Size(0x106, 0x19e);
     this.pnlUserListClan.Style = UserListStyles.Clan;
     base.ttDefault.SetSuperTip(this.pnlUserListClan, null);
     this.pnlUserListClan.TabIndex = 0;
     this.gpgScrollPanelNoClan.AutoScroll = true;
     this.gpgScrollPanelNoClan.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgScrollPanelNoClan.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgScrollPanelNoClan.BorderThickness = 2;
     this.gpgScrollPanelNoClan.ChildControl = null;
     this.gpgScrollPanelNoClan.Controls.Add(this.gpgLabelClanInvites);
     this.gpgScrollPanelNoClan.Controls.Add(this.gpgLabelCreateClan);
     this.gpgScrollPanelNoClan.Controls.Add(this.gpgLabelClanInviteCount);
     this.gpgScrollPanelNoClan.Controls.Add(this.gpgLabelNoClan);
     this.gpgScrollPanelNoClan.Dock = DockStyle.Fill;
     this.gpgScrollPanelNoClan.DrawBorder = false;
     this.gpgScrollPanelNoClan.Location = new Point(0, 0);
     this.gpgScrollPanelNoClan.Name = "gpgScrollPanelNoClan";
     this.gpgScrollPanelNoClan.Size = new Size(0x106, 0x19e);
     base.ttDefault.SetSuperTip(this.gpgScrollPanelNoClan, null);
     this.gpgScrollPanelNoClan.TabIndex = 5;
     this.gpgLabelClanInvites.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelClanInvites.AutoSize = true;
     this.gpgLabelClanInvites.AutoStyle = true;
     this.gpgLabelClanInvites.Font = new Font("Arial", 9.75f);
     this.gpgLabelClanInvites.ForeColor = System.Drawing.Color.White;
     this.gpgLabelClanInvites.IgnoreMouseWheel = false;
     this.gpgLabelClanInvites.IsStyled = false;
     this.gpgLabelClanInvites.Location = new Point(4, 0x5c);
     this.gpgLabelClanInvites.Name = "gpgLabelClanInvites";
     this.gpgLabelClanInvites.Size = new Size(0x8b, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelClanInvites, null);
     this.gpgLabelClanInvites.TabIndex = 9;
     this.gpgLabelClanInvites.Text = "<LOC>View Invitations";
     this.gpgLabelClanInvites.TextStyle = TextStyles.Link;
     this.gpgLabelClanInvites.Click += new EventHandler(this.gpgLabelClanInvites_Click);
     this.gpgLabelCreateClan.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelCreateClan.AutoSize = true;
     this.gpgLabelCreateClan.AutoStyle = true;
     this.gpgLabelCreateClan.Font = new Font("Arial", 9.75f);
     this.gpgLabelCreateClan.ForeColor = System.Drawing.Color.White;
     this.gpgLabelCreateClan.IgnoreMouseWheel = false;
     this.gpgLabelCreateClan.IsStyled = false;
     this.gpgLabelCreateClan.Location = new Point(4, 0x43);
     this.gpgLabelCreateClan.Name = "gpgLabelCreateClan";
     this.gpgLabelCreateClan.Size = new Size(0x76, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelCreateClan, null);
     this.gpgLabelCreateClan.TabIndex = 8;
     this.gpgLabelCreateClan.Text = "<LOC>Create Clan";
     this.gpgLabelCreateClan.TextStyle = TextStyles.Link;
     this.gpgLabelCreateClan.Click += new EventHandler(this.gpgLabelCreateClan_Click);
     this.gpgLabelClanInviteCount.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelClanInviteCount.AutoSize = true;
     this.gpgLabelClanInviteCount.AutoStyle = true;
     this.gpgLabelClanInviteCount.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gpgLabelClanInviteCount.ForeColor = System.Drawing.Color.White;
     this.gpgLabelClanInviteCount.IgnoreMouseWheel = false;
     this.gpgLabelClanInviteCount.IsStyled = false;
     this.gpgLabelClanInviteCount.Location = new Point(0x7b, 0x5c);
     this.gpgLabelClanInviteCount.Margin = new Padding(0);
     this.gpgLabelClanInviteCount.Name = "gpgLabelClanInviteCount";
     this.gpgLabelClanInviteCount.Size = new Size(0x17, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabelClanInviteCount, null);
     this.gpgLabelClanInviteCount.TabIndex = 7;
     this.gpgLabelClanInviteCount.Text = "(0)";
     this.gpgLabelClanInviteCount.TextStyle = TextStyles.Default;
     this.gpgLabelNoClan.AutoGrowDirection = GrowDirections.None;
     this.gpgLabelNoClan.AutoStyle = true;
     this.gpgLabelNoClan.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgLabelNoClan.Dock = DockStyle.Top;
     this.gpgLabelNoClan.Font = new Font("Arial", 9.75f);
     this.gpgLabelNoClan.ForeColor = System.Drawing.Color.White;
     this.gpgLabelNoClan.IgnoreMouseWheel = false;
     this.gpgLabelNoClan.IsStyled = false;
     this.gpgLabelNoClan.Location = new Point(0, 0);
     this.gpgLabelNoClan.Name = "gpgLabelNoClan";
     this.gpgLabelNoClan.Size = new Size(0x106, 0x35);
     base.ttDefault.SetSuperTip(this.gpgLabelNoClan, null);
     this.gpgLabelNoClan.TabIndex = 4;
     this.gpgLabelNoClan.Text = "<LOC id=_310c9adeef7ceaff3fb510305d0d2d37>You are not currently a member of a clan.  To join one, choose from the following options";
     this.gpgLabelNoClan.TextAlign = ContentAlignment.TopCenter;
     this.gpgLabelNoClan.TextStyle = TextStyles.Default;
     this.skinLabelClanName.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.skinLabelClanName.AutoStyle = false;
     this.skinLabelClanName.BackColor = System.Drawing.Color.Black;
     this.skinLabelClanName.Cursor = Cursors.Hand;
     this.skinLabelClanName.DrawEdges = true;
     this.skinLabelClanName.Font = new Font("Verdana", 10f, FontStyle.Bold);
     this.skinLabelClanName.ForeColor = System.Drawing.Color.White;
     this.skinLabelClanName.HorizontalScalingMode = ScalingModes.Tile;
     this.skinLabelClanName.IsStyled = false;
     this.skinLabelClanName.Location = new Point(2, 2);
     this.skinLabelClanName.Margin = new Padding(0);
     this.skinLabelClanName.Name = "skinLabelClanName";
     this.skinLabelClanName.Size = new Size(0x106, 20);
     this.skinLabelClanName.SkinBasePath = @"Controls\Background Label\Rectangle";
     base.ttDefault.SetSuperTip(this.skinLabelClanName, null);
     this.skinLabelClanName.TabIndex = 3;
     this.skinLabelClanName.TextAlign = ContentAlignment.MiddleCenter;
     this.skinLabelClanName.TextPadding = new Padding(0);
     this.skinLabelClanName.Click += new EventHandler(this.skinLabelClanName_Click);
     this.pbLeftBorder.Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.pbLeftBorder.Image = (Image) manager.GetObject("pbLeftBorder.Image");
     this.pbLeftBorder.Location = new Point(0, 0xc9);
     this.pbLeftBorder.Name = "pbLeftBorder";
     this.pbLeftBorder.Size = new Size(6, 0x200);
     this.pbLeftBorder.SizeMode = PictureBoxSizeMode.StretchImage;
     base.ttDefault.SetSuperTip(this.pbLeftBorder, null);
     this.pbLeftBorder.TabIndex = 6;
     this.pbLeftBorder.TabStop = false;
     this.pbLeftBorder.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.pbRightBorder.Anchor = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top;
     this.pbRightBorder.Image = (Image) manager.GetObject("pbRightBorder.Image");
     this.pbRightBorder.Location = new Point(0x3e3, 0xc9);
     this.pbRightBorder.Name = "pbRightBorder";
     this.pbRightBorder.Size = new Size(5, 0x1f7);
     this.pbRightBorder.SizeMode = PictureBoxSizeMode.StretchImage;
     base.ttDefault.SetSuperTip(this.pbRightBorder, null);
     this.pbRightBorder.TabIndex = 7;
     this.pbRightBorder.TabStop = false;
     this.pbRightBorder.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.rimPictureEdit.Name = "rimPictureEdit";
     this.rimMemoEdit.Name = "rimMemoEdit";
     this.rimPictureEdit2.Name = "rimPictureEdit2";
     this.rimMemoEdit2.Name = "rimMemoEdit2";
     this.gpgChatGrid.CustomizeStyle = true;
     this.gpgChatGrid.Dock = DockStyle.Fill;
     this.gpgChatGrid.EmbeddedNavigator.Name = "";
     this.gpgChatGrid.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gpgChatGrid.IgnoreMouseWheel = false;
     this.gpgChatGrid.Location = new Point(0, 0);
     this.gpgChatGrid.LookAndFeel.SkinName = "London Liquid Sky";
     this.gpgChatGrid.LookAndFeel.Style = LookAndFeelStyle.UltraFlat;
     this.gpgChatGrid.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gpgChatGrid.MainView = this.gvChat;
     this.gpgChatGrid.Name = "gpgChatGrid";
     this.gpgChatGrid.RepositoryItems.AddRange(new RepositoryItem[] { this.rimPictureEdit3, this.rimTextEdit, this.rimMemoEdit3 });
     this.gpgChatGrid.ShowOnlyPredefinedDetails = true;
     this.gpgChatGrid.Size = new Size(0x2bd, 0x1a0);
     this.gpgChatGrid.TabIndex = 10;
     this.gpgChatGrid.ViewCollection.AddRange(new BaseView[] { this.gvChat });
     this.gvChat.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.ColumnFilterButton.BackColor2 = System.Drawing.Color.FromArgb(20, 20, 20);
     this.gvChat.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.Gray;
     this.gvChat.Appearance.ColumnFilterButton.Options.UseBackColor = true;
     this.gvChat.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
     this.gvChat.Appearance.ColumnFilterButton.Options.UseForeColor = true;
     this.gvChat.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.FromArgb(20, 20, 20);
     this.gvChat.Appearance.ColumnFilterButtonActive.BackColor2 = System.Drawing.Color.FromArgb(0x4e, 0x4e, 0x4e);
     this.gvChat.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.FromArgb(20, 20, 20);
     this.gvChat.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Blue;
     this.gvChat.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.gvChat.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.gvChat.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true;
     this.gvChat.Appearance.Empty.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.Empty.Options.UseBackColor = true;
     this.gvChat.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.FromArgb(0xd4, 0xd0, 200);
     this.gvChat.Appearance.FilterCloseButton.BackColor2 = System.Drawing.Color.FromArgb(90, 90, 90);
     this.gvChat.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.FromArgb(0xd4, 0xd0, 200);
     this.gvChat.Appearance.FilterCloseButton.ForeColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.FilterCloseButton.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gvChat.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.gvChat.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.gvChat.Appearance.FilterCloseButton.Options.UseForeColor = true;
     this.gvChat.Appearance.FilterPanel.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.FilterPanel.BackColor2 = System.Drawing.Color.FromArgb(0xd4, 0xd0, 200);
     this.gvChat.Appearance.FilterPanel.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.FilterPanel.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.gvChat.Appearance.FilterPanel.Options.UseBackColor = true;
     this.gvChat.Appearance.FilterPanel.Options.UseForeColor = true;
     this.gvChat.Appearance.FixedLine.BackColor = System.Drawing.Color.FromArgb(0x3a, 0x3a, 0x3a);
     this.gvChat.Appearance.FixedLine.Options.UseBackColor = true;
     this.gvChat.Appearance.FocusedCell.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.FocusedCell.Font = new Font("Tahoma", 10f);
     this.gvChat.Appearance.FocusedCell.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.FocusedCell.Options.UseBackColor = true;
     this.gvChat.Appearance.FocusedCell.Options.UseFont = true;
     this.gvChat.Appearance.FocusedCell.Options.UseForeColor = true;
     this.gvChat.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(0x40, 0x40, 0x40);
     this.gvChat.Appearance.FocusedRow.BackColor2 = System.Drawing.Color.Black;
     this.gvChat.Appearance.FocusedRow.Font = new Font("Arial", 9.75f, FontStyle.Bold);
     this.gvChat.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.FocusedRow.Options.UseBackColor = true;
     this.gvChat.Appearance.FocusedRow.Options.UseFont = true;
     this.gvChat.Appearance.FocusedRow.Options.UseForeColor = true;
     this.gvChat.Appearance.FooterPanel.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.FooterPanel.BorderColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.FooterPanel.Font = new Font("Tahoma", 10f);
     this.gvChat.Appearance.FooterPanel.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.FooterPanel.Options.UseBackColor = true;
     this.gvChat.Appearance.FooterPanel.Options.UseBorderColor = true;
     this.gvChat.Appearance.FooterPanel.Options.UseFont = true;
     this.gvChat.Appearance.FooterPanel.Options.UseForeColor = true;
     this.gvChat.Appearance.GroupButton.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.GroupButton.BorderColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.GroupButton.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.GroupButton.Options.UseBackColor = true;
     this.gvChat.Appearance.GroupButton.Options.UseBorderColor = true;
     this.gvChat.Appearance.GroupButton.Options.UseForeColor = true;
     this.gvChat.Appearance.GroupFooter.BackColor = System.Drawing.Color.FromArgb(10, 10, 10);
     this.gvChat.Appearance.GroupFooter.BorderColor = System.Drawing.Color.FromArgb(10, 10, 10);
     this.gvChat.Appearance.GroupFooter.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.GroupFooter.Options.UseBackColor = true;
     this.gvChat.Appearance.GroupFooter.Options.UseBorderColor = true;
     this.gvChat.Appearance.GroupFooter.Options.UseForeColor = true;
     this.gvChat.Appearance.GroupPanel.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.GroupPanel.BackColor2 = System.Drawing.Color.White;
     this.gvChat.Appearance.GroupPanel.Font = new Font("Tahoma", 10f, FontStyle.Bold);
     this.gvChat.Appearance.GroupPanel.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.GroupPanel.Options.UseBackColor = true;
     this.gvChat.Appearance.GroupPanel.Options.UseFont = true;
     this.gvChat.Appearance.GroupPanel.Options.UseForeColor = true;
     this.gvChat.Appearance.GroupRow.BackColor = System.Drawing.Color.Gray;
     this.gvChat.Appearance.GroupRow.Font = new Font("Tahoma", 10f);
     this.gvChat.Appearance.GroupRow.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.GroupRow.Options.UseBackColor = true;
     this.gvChat.Appearance.GroupRow.Options.UseFont = true;
     this.gvChat.Appearance.GroupRow.Options.UseForeColor = true;
     this.gvChat.Appearance.HeaderPanel.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.HeaderPanel.Font = new Font("Tahoma", 10f, FontStyle.Bold);
     this.gvChat.Appearance.HeaderPanel.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.HeaderPanel.Options.UseBackColor = true;
     this.gvChat.Appearance.HeaderPanel.Options.UseBorderColor = true;
     this.gvChat.Appearance.HeaderPanel.Options.UseFont = true;
     this.gvChat.Appearance.HeaderPanel.Options.UseForeColor = true;
     this.gvChat.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.HideSelectionRow.Font = new Font("Tahoma", 10f);
     this.gvChat.Appearance.HideSelectionRow.ForeColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.gvChat.Appearance.HideSelectionRow.Options.UseFont = true;
     this.gvChat.Appearance.HideSelectionRow.Options.UseForeColor = true;
     this.gvChat.Appearance.HorzLine.BackColor = System.Drawing.Color.Yellow;
     this.gvChat.Appearance.HorzLine.Options.UseBackColor = true;
     this.gvChat.Appearance.Preview.BackColor = System.Drawing.Color.White;
     this.gvChat.Appearance.Preview.Font = new Font("Tahoma", 10f);
     this.gvChat.Appearance.Preview.ForeColor = System.Drawing.Color.Purple;
     this.gvChat.Appearance.Preview.Options.UseBackColor = true;
     this.gvChat.Appearance.Preview.Options.UseFont = true;
     this.gvChat.Appearance.Preview.Options.UseForeColor = true;
     this.gvChat.Appearance.Row.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.Row.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0xb2);
     this.gvChat.Appearance.Row.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.Row.Options.UseBackColor = true;
     this.gvChat.Appearance.Row.Options.UseFont = true;
     this.gvChat.Appearance.Row.Options.UseForeColor = true;
     this.gvChat.Appearance.RowSeparator.BackColor = System.Drawing.Color.Black;
     this.gvChat.Appearance.RowSeparator.BackColor2 = System.Drawing.Color.Black;
     this.gvChat.Appearance.RowSeparator.Options.UseBackColor = true;
     this.gvChat.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(0x40, 0x40, 0x40);
     this.gvChat.Appearance.SelectedRow.BackColor2 = System.Drawing.Color.Black;
     this.gvChat.Appearance.SelectedRow.Font = new Font("Arial", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.gvChat.Appearance.SelectedRow.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gvChat.Appearance.SelectedRow.Options.UseFont = true;
     this.gvChat.Appearance.SelectedRow.Options.UseForeColor = true;
     this.gvChat.Appearance.TopNewRow.Font = new Font("Tahoma", 10f);
     this.gvChat.Appearance.TopNewRow.ForeColor = System.Drawing.Color.White;
     this.gvChat.Appearance.TopNewRow.Options.UseFont = true;
     this.gvChat.Appearance.TopNewRow.Options.UseForeColor = true;
     this.gvChat.Appearance.VertLine.BackColor = System.Drawing.Color.Yellow;
     this.gvChat.Appearance.VertLine.Options.UseBackColor = true;
     this.gvChat.BorderStyle = BorderStyles.NoBorder;
     this.gvChat.Columns.AddRange(new GridColumn[] { this.colIcon, this.colPlayer, this.colText, this.gcVisible, this.colTimeStamp });
     this.gvChat.FocusRectStyle = DrawFocusRectStyle.None;
     this.gvChat.GridControl = this.gpgChatGrid;
     this.gvChat.GroupPanelText = "<LOC>Drag a column header here to group by that column.";
     this.gvChat.Name = "gvChat";
     this.gvChat.OptionsDetail.AllowZoomDetail = false;
     this.gvChat.OptionsDetail.EnableMasterViewMode = false;
     this.gvChat.OptionsDetail.ShowDetailTabs = false;
     this.gvChat.OptionsDetail.SmartDetailExpand = false;
     this.gvChat.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gvChat.OptionsSelection.MultiSelect = true;
     this.gvChat.OptionsView.RowAutoHeight = true;
     this.gvChat.OptionsView.ShowColumnHeaders = false;
     this.gvChat.OptionsView.ShowFilterPanelMode = ShowFilterPanelMode.Never;
     this.gvChat.OptionsView.ShowGroupPanel = false;
     this.gvChat.OptionsView.ShowHorzLines = false;
     this.gvChat.OptionsView.ShowIndicator = false;
     this.gvChat.OptionsView.ShowVertLines = false;
     this.gvChat.PaintStyleName = "Web";
     this.gvChat.CustomDrawCell += new RowCellCustomDrawEventHandler(this.gvChat_CustomDrawCell);
     this.gvChat.RowCountChanged += new EventHandler(this.gvChat_RowCountChanged);
     this.gvChat.TopRowChanged += new EventHandler(this.gvChat_TopRowChanged);
     this.gvChat.CalcRowHeight += new RowHeightEventHandler(this.gvChat_CalcRowHeight);
     this.colIcon.Caption = "<LOC>Player Icon";
     this.colIcon.ColumnEdit = this.rimPictureEdit3;
     this.colIcon.FieldName = "Icon";
     this.colIcon.MinWidth = 0x2a;
     this.colIcon.Name = "colIcon";
     this.colIcon.OptionsColumn.AllowEdit = false;
     this.colIcon.OptionsColumn.FixedWidth = true;
     this.colIcon.OptionsColumn.ReadOnly = true;
     this.colIcon.Width = 0x2a;
     this.rimPictureEdit3.Name = "rimPictureEdit3";
     this.rimPictureEdit3.PictureAlignment = ContentAlignment.TopCenter;
     this.colPlayer.Caption = "<LOC>Player Name";
     this.colPlayer.ColumnEdit = this.rimMemoEdit3;
     this.colPlayer.FieldName = "PlayerInfo";
     this.colPlayer.Name = "colPlayer";
     this.colPlayer.OptionsColumn.AllowEdit = false;
     this.colPlayer.OptionsColumn.FixedWidth = true;
     this.colPlayer.OptionsColumn.ReadOnly = true;
     this.colPlayer.Visible = true;
     this.colPlayer.VisibleIndex = 0;
     this.colPlayer.Width = 150;
     this.rimMemoEdit3.MaxLength = 500;
     this.rimMemoEdit3.Name = "rimMemoEdit3";
     this.colText.Caption = "<LOC>Chat Content";
     this.colText.ColumnEdit = this.rimMemoEdit3;
     this.colText.FieldName = "Text";
     this.colText.Name = "colText";
     this.colText.OptionsColumn.AllowEdit = false;
     this.colText.OptionsColumn.ReadOnly = true;
     this.colText.Visible = true;
     this.colText.VisibleIndex = 1;
     this.colText.Width = 0x188;
     this.gcVisible.Caption = "Visible";
     this.gcVisible.FieldName = "IsVisible";
     this.gcVisible.Name = "gcVisible";
     this.gcVisible.OptionsColumn.ShowInCustomizationForm = false;
     this.colTimeStamp.AppearanceCell.ForeColor = System.Drawing.Color.White;
     this.colTimeStamp.AppearanceCell.Options.UseForeColor = true;
     this.colTimeStamp.Caption = "<LOC>Time";
     this.colTimeStamp.FieldName = "TimeStamp";
     this.colTimeStamp.Name = "colTimeStamp";
     this.colTimeStamp.OptionsColumn.AllowEdit = false;
     this.colTimeStamp.OptionsColumn.ReadOnly = true;
     this.rimTextEdit.AutoHeight = false;
     this.rimTextEdit.Name = "rimTextEdit";
     this.ilIcons.ImageStream = (ImageListStreamer) manager.GetObject("ilIcons.ImageStream");
     this.ilIcons.TransparentColor = System.Drawing.Color.Transparent;
     this.ilIcons.Images.SetKeyName(0, "pdahlke-netlab19.png");
     this.gridColumn1.Caption = "Player Icon";
     this.gridColumn1.ColumnEdit = this.repositoryItemPictureEdit1;
     this.gridColumn1.FieldName = "Icon";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.OptionsColumn.AllowEdit = false;
     this.gridColumn1.OptionsColumn.FixedWidth = true;
     this.gridColumn1.OptionsColumn.ReadOnly = true;
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width = 40;
     this.gridColumn2.Caption = "Player Name";
     this.gridColumn2.ColumnEdit = this.repositoryItemMemoEdit1;
     this.gridColumn2.FieldName = "PlayerInfo";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.OptionsColumn.AllowEdit = false;
     this.gridColumn2.OptionsColumn.FixedWidth = true;
     this.gridColumn2.OptionsColumn.ReadOnly = true;
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn2.Width = 100;
     this.gridColumn3.Caption = "Chat Content";
     this.gridColumn3.ColumnEdit = this.repositoryItemMemoEdit1;
     this.gridColumn3.FieldName = "Text";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.OptionsColumn.AllowEdit = false;
     this.gridColumn3.OptionsColumn.ReadOnly = true;
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     this.gridColumn3.Width = 0x192;
     this.pcTextEntry.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.pcTextEntry.Appearance.BackColor = System.Drawing.Color.Black;
     this.pcTextEntry.Appearance.Options.UseBackColor = true;
     this.pcTextEntry.BorderStyle = BorderStyles.NoBorder;
     this.pcTextEntry.Location = new Point(0x18, 0x28e);
     this.pcTextEntry.LookAndFeel.Style = LookAndFeelStyle.Flat;
     this.pcTextEntry.LookAndFeel.UseDefaultLookAndFeel = false;
     this.pcTextEntry.LookAndFeel.UseWindowsXPTheme = true;
     this.pcTextEntry.Name = "pcTextEntry";
     this.pcTextEntry.Size = new Size(0x2cc, 0x18);
     base.ttDefault.SetSuperTip(this.pcTextEntry, null);
     this.pcTextEntry.TabIndex = 12;
     this.pcTextEntry.Text = "panelControl1";
     this.gpgContextMenuChat.MenuItems.AddRange(new MenuItem[] { 
         this.ciChat_WhisperPlayer, this.ciChat_IgnorePlayer, this.ciChat_UnignorePlayer, this.ciChat_ViewRank, this.ciChat_WebStats, this.ciChat_ViewPlayer, this.miViewReplays, this.menuItem10, this.ciChat_InviteFriend, this.ciChat_RemoveFriend, this.menuItem8, this.ciChat_InviteToClan, this.ciChat_RequestClanInvite, this.ciChat_ViewClan, this.ciChat_PromoteClan, this.ciChat_DemoteClan, 
         this.ciChat_RemoveClan, this.ciChat_LeaveClan, this.menuItem3, this.ciChat_Kick, this.ciChat_Ban, this.menuItem7, this.ciChat_TeamInvite
      });
     this.ciChat_WhisperPlayer.Index = 0;
     this.ciChat_WhisperPlayer.Text = "<LOC>Send private message";
     this.ciChat_WhisperPlayer.Click += new EventHandler(this.ciChat_WhisperPlayer_Click);
     this.ciChat_IgnorePlayer.Index = 1;
     this.ciChat_IgnorePlayer.Text = "<LOC>Ignore this player";
     this.ciChat_IgnorePlayer.Click += new EventHandler(this.ciChat_IgnorePlayer_Click);
     this.ciChat_UnignorePlayer.Index = 2;
     this.ciChat_UnignorePlayer.Text = "<LOC>Unignore this player";
     this.ciChat_UnignorePlayer.Click += new EventHandler(this.ciChat_UnignorePlayer_Click);
     this.ciChat_ViewRank.Index = 3;
     this.ciChat_ViewRank.Text = "<LOC>View in ranking ladder";
     this.ciChat_ViewRank.Visible = false;
     this.ciChat_ViewRank.Click += new EventHandler(this.ciChat_ViewRank_Click);
     this.ciChat_WebStats.Index = 4;
     this.ciChat_WebStats.Text = "<LOC>View web statistics";
     this.ciChat_WebStats.Click += new EventHandler(this.ciChat_WebStats_Click);
     this.ciChat_ViewPlayer.Index = 5;
     this.ciChat_ViewPlayer.Text = "<LOC>View this player's profile";
     this.ciChat_ViewPlayer.Click += new EventHandler(this.ciChat_ViewPlayer_Click);
     this.miViewReplays.Index = 6;
     this.miViewReplays.Text = "<LOC>View this player's Replays";
     this.miViewReplays.Click += new EventHandler(this.miViewReplays_Click);
     this.menuItem10.Index = 7;
     this.menuItem10.Text = "-";
     this.ciChat_InviteFriend.Index = 8;
     this.ciChat_InviteFriend.Text = "<LOC>Invite player to join Friends list";
     this.ciChat_InviteFriend.Click += new EventHandler(this.ciChat_InviteFriend_Click);
     this.ciChat_RemoveFriend.Index = 9;
     this.ciChat_RemoveFriend.Text = "<LOC>Remove player from Friends list";
     this.ciChat_RemoveFriend.Click += new EventHandler(this.ciChat_RemoveFriend_Click);
     this.menuItem8.Index = 10;
     this.menuItem8.Text = "-";
     this.ciChat_InviteToClan.Index = 11;
     this.ciChat_InviteToClan.Text = "<LOC>Invite this player to join clan";
     this.ciChat_InviteToClan.Click += new EventHandler(this.ciChat_InviteToClan_Click);
     this.ciChat_RequestClanInvite.Index = 12;
     this.ciChat_RequestClanInvite.Text = "<LOC>Request to join this player's clan";
     this.ciChat_RequestClanInvite.Click += new EventHandler(this.ciChat_RequestClanInvite_Click);
     this.ciChat_ViewClan.Index = 13;
     this.ciChat_ViewClan.Text = "<LOC>View this clan's profile";
     this.ciChat_ViewClan.Click += new EventHandler(this.ciChat_ViewClan_Click);
     this.ciChat_PromoteClan.Index = 14;
     this.ciChat_PromoteClan.Text = "<LOC>Promote";
     this.ciChat_PromoteClan.Click += new EventHandler(this.ciChat_PromoteClan_Click);
     this.ciChat_DemoteClan.Index = 15;
     this.ciChat_DemoteClan.Text = "<LOC>Demote";
     this.ciChat_DemoteClan.Click += new EventHandler(this.ciChat_DemoteClan_Click);
     this.ciChat_RemoveClan.Index = 0x10;
     this.ciChat_RemoveClan.Text = "<LOC>Remove from clan";
     this.ciChat_RemoveClan.Click += new EventHandler(this.ciChat_RemoveClan_Click);
     this.ciChat_LeaveClan.Index = 0x11;
     this.ciChat_LeaveClan.Text = "<LOC>Leave clan";
     this.ciChat_LeaveClan.Click += new EventHandler(this.ciChat_LeaveClan_Click);
     this.menuItem3.Index = 0x12;
     this.menuItem3.Text = "-";
     this.ciChat_Kick.Index = 0x13;
     this.ciChat_Kick.Text = "<LOC>Kick";
     this.ciChat_Kick.Click += new EventHandler(this.ciChat_Kick_Click);
     this.ciChat_Ban.Index = 20;
     this.ciChat_Ban.Text = "<LOC>Ban";
     this.ciChat_Ban.Click += new EventHandler(this.ciChat_Ban_Click);
     this.menuItem7.Index = 0x15;
     this.menuItem7.Text = "-";
     this.ciChat_TeamInvite.Index = 0x16;
     this.ciChat_TeamInvite.Text = "<LOC>Invite to Arranged Team";
     this.ciChat_TeamInvite.Click += new EventHandler(this.ciChat_TeamInvite_Click);
     this.textBoxMsg.BorderColor = System.Drawing.Color.White;
     this.textBoxMsg.Dock = DockStyle.Fill;
     this.textBoxMsg.Location = new Point(0, 0);
     this.textBoxMsg.Name = "textBoxMsg";
     this.textBoxMsg.Properties.AcceptsReturn = false;
     this.textBoxMsg.Properties.Appearance.BackColor = System.Drawing.Color.Black;
     this.textBoxMsg.Properties.Appearance.BorderColor = System.Drawing.Color.FromArgb(0x52, 0x83, 190);
     this.textBoxMsg.Properties.Appearance.ForeColor = System.Drawing.Color.White;
     this.textBoxMsg.Properties.Appearance.Options.UseBackColor = true;
     this.textBoxMsg.Properties.Appearance.Options.UseBorderColor = true;
     this.textBoxMsg.Properties.Appearance.Options.UseForeColor = true;
     this.textBoxMsg.Properties.AppearanceFocused.BackColor = System.Drawing.Color.FromArgb(0x2e, 0x2e, 0x49);
     this.textBoxMsg.Properties.AppearanceFocused.BackColor2 = System.Drawing.Color.FromArgb(0, 0, 0);
     this.textBoxMsg.Properties.AppearanceFocused.BorderColor = System.Drawing.Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.textBoxMsg.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.textBoxMsg.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.textBoxMsg.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.textBoxMsg.Properties.BorderStyle = BorderStyles.NoBorder;
     this.textBoxMsg.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.textBoxMsg.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.textBoxMsg.Properties.MaxLength = 0x400;
     this.textBoxMsg.Size = new Size(0x2bd, 0x25);
     this.textBoxMsg.TabIndex = 0;
     this.textBoxMsg.EditValueChanging += new ChangingEventHandler(this.textBoxMsg_EditValueChanging);
     this.pbMiddle.AutoStyle = false;
     this.pbMiddle.BackColor = System.Drawing.Color.Black;
     this.pbMiddle.DrawEdges = true;
     this.pbMiddle.Font = new Font("Arial", 8f);
     this.pbMiddle.ForeColor = System.Drawing.Color.White;
     this.pbMiddle.HorizontalScalingMode = ScalingModes.Tile;
     this.pbMiddle.IsStyled = false;
     this.pbMiddle.ItemPadding = 6;
     this.pbMiddle.Location = new Point(0x26, 0xf2);
     this.pbMiddle.Name = "pbMiddle";
     this.pbMiddle.Size = new Size(0x7d, 0x19);
     this.pbMiddle.SkinBasePath = @"Controls\Background Label\Rectangle";
     base.ttDefault.SetSuperTip(this.pbMiddle, null);
     this.pbMiddle.TabIndex = 0x10;
     this.pbMiddle.TextAlign = ContentAlignment.MiddleLeft;
     this.pbMiddle.TextPadding = new Padding(20, 0, 0, 0);
     this.miStatus_Online.Index = -1;
     this.miStatus_Online.Text = "<LOC>Online";
     this.miStatus_Away.Index = -1;
     this.miStatus_Away.Text = "Away";
     this.miStatus_DND.Index = -1;
     this.miStatus_DND.Text = "DND";
     this.menuItem1.Index = -1;
     this.menuItem1.Text = "<LOC>Online";
     this.menuItem2.Index = -1;
     this.menuItem2.Text = "<LOC>Online";
     this.gpgContextMenuChatText.MenuItems.AddRange(new MenuItem[] { 
         this.ciChatText_Clear, this.ciChatText_Copy, this.ciChatText_Filter, this.miShowColumns, this.ciChatText_ShowEmotes, this.menuItm15, this.ciChatText_PrivateMsg, this.ciChatText_Ignore, this.ciChatText_Unignore, this.ciChatText_ViewRank, this.ciChatText_WebStats, this.ciChatText_ViewPlayer, this.ciChatText_Replays, this.menuItem6, this.ciChatText_FriendInvite, this.ciChatText_FriendRemove, 
         this.menuItem11, this.ciChatText_ClanInvite, this.ciChatText_ClanRequest, this.ciChatText_ClanRemove, this.ciChatText_Promote, this.ciChatText_Demote, this.ciChatText_ViewClan, this.ciChatText_LeaveClan, this.menuItem18, this.ciChatText_Kick, this.ciChatText_Ban, this.menuItem12, this.ciChatText_Solution, this.miTranslate
      });
     this.ciChatText_Clear.Index = 0;
     this.ciChatText_Clear.Text = "<LOC>Clear Chat";
     this.ciChatText_Clear.Click += new EventHandler(this.ciChatText_Clear_Click);
     this.ciChatText_Copy.Index = 1;
     this.ciChatText_Copy.Text = "<LOC>Copy to Clipboard";
     this.ciChatText_Copy.Click += new EventHandler(this.ciChatText_Copy_Click);
     this.ciChatText_Filter.Index = 2;
     this.ciChatText_Filter.MenuItems.AddRange(new MenuItem[] { this.ciChatText_Filter_Self, this.ciChatText_Filter_System, this.ciChatText_Filter_Events, this.ciChatText_Filter_Errors, this.ciChatText_Filter_Game, this.ciChatText_Filter_Friends, this.ciChatText_Filter_Clan, this.ciChatText_Filter_Admin, this.ciChatText_Filter_Other, this.menuItem4, this.ciChatText_Filters_Reset });
     this.ciChatText_Filter.Text = "<LOC>Filter by";
     this.ciChatText_Filter_Self.Checked = true;
     this.ciChatText_Filter_Self.Index = 0;
     this.ciChatText_Filter_Self.Text = "<LOC>Self";
     this.ciChatText_Filter_Self.Click += new EventHandler(this.ciChatText_Filter_Self_Click);
     this.ciChatText_Filter_System.Checked = true;
     this.ciChatText_Filter_System.Index = 1;
     this.ciChatText_Filter_System.Text = "<LOC>System Messages";
     this.ciChatText_Filter_System.Click += new EventHandler(this.ciChatText_Filter_System_Click);
     this.ciChatText_Filter_Events.Checked = true;
     this.ciChatText_Filter_Events.Index = 2;
     this.ciChatText_Filter_Events.Text = "<LOC>System Events";
     this.ciChatText_Filter_Events.Click += new EventHandler(this.ciChatText_Filter_Events_Click);
     this.ciChatText_Filter_Errors.Checked = true;
     this.ciChatText_Filter_Errors.Index = 3;
     this.ciChatText_Filter_Errors.Text = "<LOC>System Errors";
     this.ciChatText_Filter_Errors.Click += new EventHandler(this.ciChatText_Filter_Errors_Click);
     this.ciChatText_Filter_Game.Checked = true;
     this.ciChatText_Filter_Game.Index = 4;
     this.ciChatText_Filter_Game.Text = "<LOC>Game Events";
     this.ciChatText_Filter_Game.Click += new EventHandler(this.ciChatText_Filter_Game_Click);
     this.ciChatText_Filter_Friends.Checked = true;
     this.ciChatText_Filter_Friends.Index = 5;
     this.ciChatText_Filter_Friends.Text = "<LOC>Friends";
     this.ciChatText_Filter_Friends.Click += new EventHandler(this.ciChatText_Filter_Friends_Click);
     this.ciChatText_Filter_Clan.Checked = true;
     this.ciChatText_Filter_Clan.Index = 6;
     this.ciChatText_Filter_Clan.Text = "<LOC>Clan";
     this.ciChatText_Filter_Clan.Click += new EventHandler(this.ciChatText_Filter_Clan_Click);
     this.ciChatText_Filter_Admin.Checked = true;
     this.ciChatText_Filter_Admin.Index = 7;
     this.ciChatText_Filter_Admin.Text = "<LOC>Admins";
     this.ciChatText_Filter_Admin.Click += new EventHandler(this.ciChatText_Filter_Admin_Click);
     this.ciChatText_Filter_Other.Checked = true;
     this.ciChatText_Filter_Other.Index = 8;
     this.ciChatText_Filter_Other.Text = "<LOC>Other";
     this.ciChatText_Filter_Other.Click += new EventHandler(this.ciChatText_Filter_Other_Click);
     this.menuItem4.Index = 9;
     this.menuItem4.Text = "-";
     this.ciChatText_Filters_Reset.Index = 10;
     this.ciChatText_Filters_Reset.Text = "<LOC>Reset Filters";
     this.ciChatText_Filters_Reset.Click += new EventHandler(this.ciChatText_Filters_Reset_Click);
     this.miShowColumns.Index = 3;
     this.miShowColumns.Text = "<LOC>Show Columns";
     this.miShowColumns.Click += new EventHandler(this.miShowColumns_Click);
     this.ciChatText_ShowEmotes.Index = 4;
     this.ciChatText_ShowEmotes.Text = "<LOC>Show emotes";
     this.ciChatText_ShowEmotes.Click += new EventHandler(this.ciChatText_ShowEmotes_Click);
     this.menuItm15.Index = 5;
     this.menuItm15.Text = "-";
     this.ciChatText_PrivateMsg.Index = 6;
     this.ciChatText_PrivateMsg.Text = "<LOC>Send private message";
     this.ciChatText_PrivateMsg.Click += new EventHandler(this.ciChatText_PrivateMsg_Click);
     this.ciChatText_Ignore.Index = 7;
     this.ciChatText_Ignore.Text = "<LOC>Ignore this player";
     this.ciChatText_Ignore.Click += new EventHandler(this.ciChatText_Ignore_Click);
     this.ciChatText_Unignore.Index = 8;
     this.ciChatText_Unignore.Text = "<LOC>Unignore this player";
     this.ciChatText_Unignore.Click += new EventHandler(this.ciChatText_Unignore_Click);
     this.ciChatText_ViewRank.Index = 9;
     this.ciChatText_ViewRank.Text = "<LOC>View in ranking ladder";
     this.ciChatText_ViewRank.Visible = false;
     this.ciChatText_ViewRank.Click += new EventHandler(this.ciChatText_ViewRank_Click);
     this.ciChatText_WebStats.Index = 10;
     this.ciChatText_WebStats.Text = "<LOC>View web statistics";
     this.ciChatText_WebStats.Click += new EventHandler(this.ciChatText_WebStats_Click);
     this.ciChatText_ViewPlayer.Index = 11;
     this.ciChatText_ViewPlayer.Text = "<LOC>View this player's profile";
     this.ciChatText_ViewPlayer.Click += new EventHandler(this.ciChatText_ViewPlayer_Click);
     this.ciChatText_Replays.Index = 12;
     this.ciChatText_Replays.Text = "<LOC>View this player's Replays";
     this.ciChatText_Replays.Click += new EventHandler(this.ciChatText_Replays_Click);
     this.menuItem6.Index = 13;
     this.menuItem6.Text = "-";
     this.ciChatText_FriendInvite.Index = 14;
     this.ciChatText_FriendInvite.Text = "<LOC>Invite this player to join Friends list";
     this.ciChatText_FriendInvite.Click += new EventHandler(this.ciChatText_FriendInvite_Click);
     this.ciChatText_FriendRemove.Index = 15;
     this.ciChatText_FriendRemove.Text = "<LOC>Remove this player from Friends list";
     this.ciChatText_FriendRemove.Click += new EventHandler(this.ciChatText_FriendRemove_Click);
     this.menuItem11.Index = 0x10;
     this.menuItem11.Text = "-";
     this.ciChatText_ClanInvite.Index = 0x11;
     this.ciChatText_ClanInvite.Text = "<LOC>Invite this player to join clan";
     this.ciChatText_ClanInvite.Click += new EventHandler(this.ciChatText_ClanInvite_Click);
     this.ciChatText_ClanRequest.Index = 0x12;
     this.ciChatText_ClanRequest.Text = "<LOC>Request to join this player's clan";
     this.ciChatText_ClanRequest.Click += new EventHandler(this.ciChatText_ClanRequest_Click);
     this.ciChatText_ClanRemove.Index = 0x13;
     this.ciChatText_ClanRemove.Text = "<LOC>Remove this player from clan";
     this.ciChatText_ClanRemove.Click += new EventHandler(this.ciChatText_ClanRemove_Click);
     this.ciChatText_Promote.Index = 20;
     this.ciChatText_Promote.Text = "<LOC>Promote";
     this.ciChatText_Promote.Click += new EventHandler(this.ciChatText_Promote_Click);
     this.ciChatText_Demote.Index = 0x15;
     this.ciChatText_Demote.Text = "<LOC>Demote";
     this.ciChatText_Demote.Click += new EventHandler(this.ciChatText_Demote_Click);
     this.ciChatText_ViewClan.Index = 0x16;
     this.ciChatText_ViewClan.Text = "<LOC>View this clan's profile";
     this.ciChatText_ViewClan.Click += new EventHandler(this.ciChatText_ViewClan_Click);
     this.ciChatText_LeaveClan.Index = 0x17;
     this.ciChatText_LeaveClan.Text = "<LOC>Leave clan";
     this.ciChatText_LeaveClan.Click += new EventHandler(this.ciChatText_LeaveClan_Click);
     this.menuItem18.Index = 0x18;
     this.menuItem18.Text = "-";
     this.ciChatText_Kick.Index = 0x19;
     this.ciChatText_Kick.Text = "<LOC>Kick";
     this.ciChatText_Kick.Click += new EventHandler(this.ciChatText_Kick_Click);
     this.ciChatText_Ban.Index = 0x1a;
     this.ciChatText_Ban.Text = "<LOC>Ban";
     this.ciChatText_Ban.Click += new EventHandler(this.ciChatText_Ban_Click);
     this.menuItem12.Index = 0x1b;
     this.menuItem12.Text = "-";
     this.ciChatText_Solution.Index = 0x1c;
     this.ciChatText_Solution.Text = "<LOC>Point user to solution";
     this.ciChatText_Solution.Click += new EventHandler(this.ciChatText_Solution_Click);
     this.miTranslate.Index = 0x1d;
     this.miTranslate.MenuItems.AddRange(new MenuItem[] { this.menuItem23, this.menuItem24, this.menuItem25, this.menuItem26, this.menuItem27, this.menuItem28, this.menuItem29 });
     this.miTranslate.Text = "Translate to English";
     this.miTranslate.Visible = false;
     this.menuItem23.Index = 0;
     this.menuItem23.Text = "German ";
     this.menuItem23.Click += new EventHandler(this.menuItem23_Click);
     this.menuItem24.Index = 1;
     this.menuItem24.Text = "French";
     this.menuItem24.Click += new EventHandler(this.menuItem24_Click);
     this.menuItem25.Index = 2;
     this.menuItem25.Text = "Itialian";
     this.menuItem25.Click += new EventHandler(this.menuItem25_Click);
     this.menuItem26.Index = 3;
     this.menuItem26.Text = "Spanish";
     this.menuItem26.Click += new EventHandler(this.menuItem26_Click);
     this.menuItem27.Index = 4;
     this.menuItem27.Text = "Russian";
     this.menuItem27.Click += new EventHandler(this.menuItem27_Click);
     this.menuItem28.Index = 5;
     this.menuItem28.Text = "Korean";
     this.menuItem28.Click += new EventHandler(this.menuItem28_Click);
     this.menuItem29.Index = 6;
     this.menuItem29.Text = "Japanese";
     this.menuItem29.Click += new EventHandler(this.menuItem29_Click);
     this.gpgContextMenuEmote.MenuItems.AddRange(new MenuItem[] { this.ciEmote_Manager, this.menuItem13, this.ciEmote_Hide, this.ciEmote_Share, this.ciEmote_Animate, this.menuItem9, this.ciEmote_Delete });
     this.ciEmote_Manager.Index = 0;
     this.ciEmote_Manager.Text = "<LOC>Emote manager...";
     this.ciEmote_Manager.Click += new EventHandler(this.ciEmote_Manager_Click);
     this.menuItem13.Index = 1;
     this.menuItem13.Text = "-";
     this.ciEmote_Hide.Index = 2;
     this.ciEmote_Hide.Text = "<LOC>Hide emotes";
     this.ciEmote_Hide.Click += new EventHandler(this.ciEmote_Hide_Click);
     this.ciEmote_Share.Index = 3;
     this.ciEmote_Share.Text = "<LOC>Share emotes";
     this.ciEmote_Share.Click += new EventHandler(this.ciEmote_Share_Click);
     this.ciEmote_Animate.Index = 4;
     this.ciEmote_Animate.Text = "<LOC>Animate emotes";
     this.ciEmote_Animate.Click += new EventHandler(this.ciEmote_Animate_Click);
     this.menuItem9.Index = 5;
     this.menuItem9.Text = "-";
     this.ciEmote_Delete.Index = 6;
     this.ciEmote_Delete.Text = "<LOC>Delete emote";
     this.ciEmote_Delete.Click += new EventHandler(this.ciEmote_Delete_Click);
     this.pManualTabs.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.pManualTabs.BackColor = System.Drawing.Color.Transparent;
     this.pManualTabs.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.pManualTabs.BorderThickness = 2;
     this.pManualTabs.Controls.Add(this.btnChatTab);
     this.pManualTabs.Controls.Add(this.btnFriendsTab);
     this.pManualTabs.Controls.Add(this.btnClanTab);
     this.pManualTabs.DrawBorder = false;
     this.pManualTabs.Location = new Point(0x2cb, 0x1b);
     this.pManualTabs.Name = "pManualTabs";
     this.pManualTabs.Size = new Size(0xeb, 0x16);
     base.ttDefault.SetSuperTip(this.pManualTabs, null);
     this.pManualTabs.TabIndex = 0x11;
     this.btnChatTab.AutoStyle = true;
     this.btnChatTab.BackColor = System.Drawing.Color.Black;
     this.btnChatTab.ButtonState = 0;
     this.btnChatTab.DialogResult = DialogResult.OK;
     this.btnChatTab.DisabledForecolor = System.Drawing.Color.Gray;
     this.btnChatTab.DrawColor = System.Drawing.Color.White;
     this.btnChatTab.DrawEdges = true;
     this.btnChatTab.FocusColor = System.Drawing.Color.Yellow;
     this.btnChatTab.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnChatTab.ForeColor = System.Drawing.Color.White;
     this.btnChatTab.HorizontalScalingMode = ScalingModes.Tile;
     this.btnChatTab.IsStyled = true;
     this.btnChatTab.Location = new Point(0, 0);
     this.btnChatTab.Name = "btnChatTab";
     this.btnChatTab.Size = new Size(0x54, 0x16);
     this.btnChatTab.SkinBasePath = @"Controls\Button\TabSmallActive";
     base.ttDefault.SetSuperTip(this.btnChatTab, null);
     this.btnChatTab.TabIndex = 0;
     this.btnChatTab.TabStop = true;
     this.btnChatTab.Text = "<LOC>Chat";
     this.btnChatTab.TextAlign = ContentAlignment.MiddleCenter;
     this.btnChatTab.TextPadding = new Padding(0);
     this.btnChatTab.Click += new EventHandler(this.btnChatTab_Click);
     this.btnFriendsTab.AutoStyle = true;
     this.btnFriendsTab.BackColor = System.Drawing.Color.Black;
     this.btnFriendsTab.ButtonState = 0;
     this.btnFriendsTab.DialogResult = DialogResult.OK;
     this.btnFriendsTab.DisabledForecolor = System.Drawing.Color.Gray;
     this.btnFriendsTab.DrawColor = System.Drawing.Color.White;
     this.btnFriendsTab.DrawEdges = true;
     this.btnFriendsTab.FocusColor = System.Drawing.Color.Yellow;
     this.btnFriendsTab.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnFriendsTab.ForeColor = System.Drawing.Color.White;
     this.btnFriendsTab.HorizontalScalingMode = ScalingModes.Tile;
     this.btnFriendsTab.IsStyled = true;
     this.btnFriendsTab.Location = new Point(0x4b, 0);
     this.btnFriendsTab.Name = "btnFriendsTab";
     this.btnFriendsTab.Size = new Size(0x54, 0x16);
     this.btnFriendsTab.SkinBasePath = @"Controls\Button\TabSmall";
     base.ttDefault.SetSuperTip(this.btnFriendsTab, null);
     this.btnFriendsTab.TabIndex = 1;
     this.btnFriendsTab.TabStop = true;
     this.btnFriendsTab.Text = "<LOC>Friends";
     this.btnFriendsTab.TextAlign = ContentAlignment.MiddleCenter;
     this.btnFriendsTab.TextPadding = new Padding(0);
     this.btnFriendsTab.Click += new EventHandler(this.btnFriendsTab_Click);
     this.btnClanTab.AutoStyle = true;
     this.btnClanTab.BackColor = System.Drawing.Color.Black;
     this.btnClanTab.ButtonState = 0;
     this.btnClanTab.DialogResult = DialogResult.OK;
     this.btnClanTab.DisabledForecolor = System.Drawing.Color.Gray;
     this.btnClanTab.DrawColor = System.Drawing.Color.White;
     this.btnClanTab.DrawEdges = true;
     this.btnClanTab.FocusColor = System.Drawing.Color.Yellow;
     this.btnClanTab.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.btnClanTab.ForeColor = System.Drawing.Color.White;
     this.btnClanTab.HorizontalScalingMode = ScalingModes.Tile;
     this.btnClanTab.IsStyled = true;
     this.btnClanTab.Location = new Point(150, 0);
     this.btnClanTab.Name = "btnClanTab";
     this.btnClanTab.Size = new Size(0x54, 0x16);
     this.btnClanTab.SkinBasePath = @"Controls\Button\TabSmall";
     base.ttDefault.SetSuperTip(this.btnClanTab, null);
     this.btnClanTab.TabIndex = 2;
     this.btnClanTab.TabStop = true;
     this.btnClanTab.Text = "<LOC>Clan";
     this.btnClanTab.TextAlign = ContentAlignment.MiddleCenter;
     this.btnClanTab.TextPadding = new Padding(0);
     this.btnClanTab.Click += new EventHandler(this.btnClanTab_Click);
     this.ilMenuItems.ImageStream = (ImageListStreamer) manager.GetObject("ilMenuItems.ImageStream");
     this.ilMenuItems.TransparentColor = System.Drawing.Color.Transparent;
     this.ilMenuItems.Images.SetKeyName(0, "rankings.png");
     this.gpgPanelChatAndInput.BackColor = System.Drawing.Color.FromArgb(0x33, 0x33, 0x33);
     this.gpgPanelChatAndInput.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelChatAndInput.BorderThickness = 2;
     this.gpgPanelChatAndInput.Controls.Add(this.splitContainerChatAndInput);
     this.gpgPanelChatAndInput.Dock = DockStyle.Fill;
     this.gpgPanelChatAndInput.DrawBorder = true;
     this.gpgPanelChatAndInput.Location = new Point(0, 0);
     this.gpgPanelChatAndInput.Name = "gpgPanelChatAndInput";
     this.gpgPanelChatAndInput.Size = new Size(0x2c1, 0x1cb);
     base.ttDefault.SetSuperTip(this.gpgPanelChatAndInput, null);
     this.gpgPanelChatAndInput.TabIndex = 0x12;
     this.splitContainerChatAndInput.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerChatAndInput.Location = new Point(2, 2);
     this.splitContainerChatAndInput.Name = "splitContainerChatAndInput";
     this.splitContainerChatAndInput.Orientation = Orientation.Horizontal;
     this.splitContainerChatAndInput.Panel1.Controls.Add(this.gpgTextListCommands);
     this.splitContainerChatAndInput.Panel1.Controls.Add(this.gpgChatGrid);
     base.ttDefault.SetSuperTip(this.splitContainerChatAndInput.Panel1, null);
     this.splitContainerChatAndInput.Panel2.Controls.Add(this.textBoxMsg);
     base.ttDefault.SetSuperTip(this.splitContainerChatAndInput.Panel2, null);
     this.splitContainerChatAndInput.Size = new Size(0x2bd, 0x1c7);
     this.splitContainerChatAndInput.SplitterDistance = 0x1a0;
     this.splitContainerChatAndInput.SplitterWidth = 2;
     base.ttDefault.SetSuperTip(this.splitContainerChatAndInput, null);
     this.splitContainerChatAndInput.TabIndex = 0;
     this.splitContainerChatAndInput.Paint += new PaintEventHandler(this.splitContainerChatAndInput_Paint);
     this.gpgTextListCommands.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgTextListCommands.AnchorControl = this.textBoxMsg;
     this.gpgTextListCommands.AutoScroll = true;
     this.gpgTextListCommands.AutoSize = true;
     this.gpgTextListCommands.BackColor = System.Drawing.Color.Black;
     this.gpgTextListCommands.Location = new Point(0, 0x18c);
     this.gpgTextListCommands.Margin = new Padding(0);
     this.gpgTextListCommands.MaxLines = 6;
     this.gpgTextListCommands.Name = "gpgTextListCommands";
     this.gpgTextListCommands.SelectedIndex = -1;
     this.gpgTextListCommands.Size = new Size(0x2bd, 20);
     base.ttDefault.SetSuperTip(this.gpgTextListCommands, null);
     this.gpgTextListCommands.TabIndex = 14;
     this.gpgTextListCommands.TextLines = null;
     this.gpgTextListCommands.Visible = false;
     this.gpgPanelGathering.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgPanelGathering.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelGathering.BorderThickness = 2;
     this.gpgPanelGathering.Controls.Add(this.gpgPanelGatheringDropDown);
     this.gpgPanelGathering.Controls.Add(this.pnlUserListChat);
     this.gpgPanelGathering.Dock = DockStyle.Fill;
     this.gpgPanelGathering.DrawBorder = true;
     this.gpgPanelGathering.Location = new Point(0, 0);
     this.gpgPanelGathering.Name = "gpgPanelGathering";
     this.gpgPanelGathering.Size = new Size(0x10a, 0x1cb);
     base.ttDefault.SetSuperTip(this.gpgPanelGathering, null);
     this.gpgPanelGathering.TabIndex = 0x13;
     this.gpgPanelGathering.Paint += new PaintEventHandler(this.gpgPanel1_Paint);
     this.gpgPanelGatheringDropDown.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgPanelGatheringDropDown.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgPanelGatheringDropDown.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelGatheringDropDown.BorderThickness = 2;
     this.gpgPanelGatheringDropDown.Controls.Add(this.skinGatheringDisplayChat);
     this.gpgPanelGatheringDropDown.DrawBorder = false;
     this.gpgPanelGatheringDropDown.Location = new Point(2, 7);
     this.gpgPanelGatheringDropDown.Name = "gpgPanelGatheringDropDown";
     this.gpgPanelGatheringDropDown.Size = new Size(0x106, 0x19);
     base.ttDefault.SetSuperTip(this.gpgPanelGatheringDropDown, null);
     this.gpgPanelGatheringDropDown.TabIndex = 13;
     this.splitContainerBody.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.splitContainerBody.Location = new Point(11, 0xe9);
     this.splitContainerBody.Name = "splitContainerBody";
     this.splitContainerBody.Panel1.Controls.Add(this.gpgPanelChatAndInput);
     base.ttDefault.SetSuperTip(this.splitContainerBody.Panel1, null);
     this.splitContainerBody.Panel2.Controls.Add(this.gpgPanelGathering);
     this.splitContainerBody.Panel2.Controls.Add(this.gpgPanelClan);
     this.splitContainerBody.Panel2.Controls.Add(this.gpgPanelFriends);
     base.ttDefault.SetSuperTip(this.splitContainerBody.Panel2, null);
     this.splitContainerBody.Size = new Size(0x3d1, 0x1cb);
     this.splitContainerBody.SplitterDistance = 0x2c1;
     this.splitContainerBody.SplitterWidth = 6;
     base.ttDefault.SetSuperTip(this.splitContainerBody, null);
     this.splitContainerBody.TabIndex = 20;
     this.splitContainerBody.SplitterMoved += new SplitterEventHandler(this.splitContainerBody_SplitterMoved);
     this.gpgPanelClan.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgPanelClan.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelClan.BorderThickness = 2;
     this.gpgPanelClan.Controls.Add(this.splitContainerClan);
     this.gpgPanelClan.Controls.Add(this.skinLabelClanName);
     this.gpgPanelClan.Dock = DockStyle.Fill;
     this.gpgPanelClan.DrawBorder = true;
     this.gpgPanelClan.Location = new Point(0, 0);
     this.gpgPanelClan.Name = "gpgPanelClan";
     this.gpgPanelClan.Size = new Size(0x10a, 0x1cb);
     base.ttDefault.SetSuperTip(this.gpgPanelClan, null);
     this.gpgPanelClan.TabIndex = 0x15;
     this.gpgPanelFriends.BackColor = System.Drawing.Color.FromArgb(0x24, 0x23, 0x23);
     this.gpgPanelFriends.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanelFriends.BorderThickness = 2;
     this.gpgPanelFriends.Controls.Add(this.splitContainerFriends);
     this.gpgPanelFriends.Dock = DockStyle.Fill;
     this.gpgPanelFriends.DrawBorder = true;
     this.gpgPanelFriends.Location = new Point(0, 0);
     this.gpgPanelFriends.Name = "gpgPanelFriends";
     this.gpgPanelFriends.Size = new Size(0x10a, 0x1cb);
     base.ttDefault.SetSuperTip(this.gpgPanelFriends, null);
     this.gpgPanelFriends.TabIndex = 0x15;
     this.gpgPanel2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.gpgPanel2.BackgroundImage = (Image) manager.GetObject("gpgPanel2.BackgroundImage");
     this.gpgPanel2.BorderColor = System.Drawing.Color.FromArgb(0xcc, 0xcc, 0xff);
     this.gpgPanel2.BorderThickness = 2;
     this.gpgPanel2.Controls.Add(this.tabChatroom);
     this.gpgPanel2.Controls.Add(this.pManualTabs);
     this.gpgPanel2.DrawBorder = false;
     this.gpgPanel2.Location = new Point(5, 0xb9);
     this.gpgPanel2.Name = "gpgPanel2";
     this.gpgPanel2.Size = new Size(990, 0x30);
     base.ttDefault.SetSuperTip(this.gpgPanel2, null);
     this.gpgPanel2.TabIndex = 0x15;
     this.tabChatroom.AutoStyle = true;
     this.tabChatroom.BackColor = System.Drawing.Color.Black;
     this.tabChatroom.ButtonState = 0;
     this.tabChatroom.DialogResult = DialogResult.OK;
     this.tabChatroom.DisabledForecolor = System.Drawing.Color.Gray;
     this.tabChatroom.DrawColor = System.Drawing.Color.White;
     this.tabChatroom.DrawEdges = true;
     this.tabChatroom.FocusColor = System.Drawing.Color.Yellow;
     this.tabChatroom.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.tabChatroom.ForeColor = System.Drawing.Color.White;
     this.tabChatroom.HorizontalScalingMode = ScalingModes.Tile;
     this.tabChatroom.IsStyled = true;
     this.tabChatroom.Location = new Point(4, 0x15);
     this.tabChatroom.Name = "tabChatroom";
     this.tabChatroom.Size = new Size(0x89, 0x1c);
     this.tabChatroom.SkinBasePath = @"Dialog\ContentManager\TabLargeActive";
     base.ttDefault.SetSuperTip(this.tabChatroom, null);
     this.tabChatroom.TabIndex = 0x16;
     this.tabChatroom.TabStop = true;
     this.tabChatroom.TextAlign = ContentAlignment.MiddleLeft;
     this.tabChatroom.TextPadding = new Padding(6, 0, 0, 0);
     base.AutoScaleMode = AutoScaleMode.None;
     this.BackColor = System.Drawing.Color.Black;
     this.BackgroundImage = (Image) manager.GetObject("$this.BackgroundImage");
     base.ClientSize = new Size(0x3e8, 750);
     base.Controls.Add(this.gpgPanel2);
     base.Controls.Add(this.splitContainerBody);
     base.Controls.Add(this.pbMiddle);
     base.Controls.Add(this.wbMain);
     base.Controls.Add(this.pcTextEntry);
     base.Controls.Add(this.pBottom);
     base.Controls.Add(this.pbLeftBorder);
     base.Controls.Add(this.pbRightBorder);
     base.Controls.Add(this.pTop);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = (Icon) manager.GetObject("$this.Icon");
     base.MainMenuStrip = this.msMainMenu;
     this.MinimumSize = new Size(640, 500);
     base.Name = "FrmMain";
     base.StartPosition = FormStartPosition.CenterScreen;
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>GPGnet: Supreme Commander";
     base.MouseUp += new MouseEventHandler(this.OnMouseUp);
     base.VisibleChanged += new EventHandler(this.FrmMain_VisibleChanged);
     base.MouseMove += new MouseEventHandler(this.OnMouseMove);
     this.repositoryItemPictureEdit1.EndInit();
     this.repositoryItemMemoEdit1.EndInit();
     this.pBottom.ResumeLayout(false);
     this.pBottom.PerformLayout();
     this.msQuickButtons.ResumeLayout(false);
     this.msQuickButtons.PerformLayout();
     ((ISupportInitialize) this.pbBottomRight).EndInit();
     ((ISupportInitialize) this.pbBottom).EndInit();
     ((ISupportInitialize) this.pbBottomLeft).EndInit();
     this.pTop.ResumeLayout(false);
     this.pTop.PerformLayout();
     this.msMainMenu.ResumeLayout(false);
     this.msMainMenu.PerformLayout();
     ((ISupportInitialize) this.pbClose).EndInit();
     ((ISupportInitialize) this.pbRestore).EndInit();
     ((ISupportInitialize) this.pbMinimize).EndInit();
     ((ISupportInitialize) this.pbTopRight).EndInit();
     ((ISupportInitialize) this.pbTop).EndInit();
     ((ISupportInitialize) this.pbTopLeft).EndInit();
     this.splitContainerFriends.Panel1.ResumeLayout(false);
     this.splitContainerFriends.Panel1.PerformLayout();
     this.splitContainerFriends.Panel2.ResumeLayout(false);
     this.splitContainerFriends.ResumeLayout(false);
     this.gpgScrollPanelFriends.ResumeLayout(false);
     this.splitContainerClan.Panel1.ResumeLayout(false);
     this.splitContainerClan.Panel1.PerformLayout();
     this.splitContainerClan.Panel2.ResumeLayout(false);
     this.splitContainerClan.ResumeLayout(false);
     this.gpgScrollPanelClan.ResumeLayout(false);
     this.gpgScrollPanelNoClan.ResumeLayout(false);
     this.gpgScrollPanelNoClan.PerformLayout();
     ((ISupportInitialize) this.pbLeftBorder).EndInit();
     ((ISupportInitialize) this.pbRightBorder).EndInit();
     this.rimPictureEdit.EndInit();
     this.rimMemoEdit.EndInit();
     this.rimPictureEdit2.EndInit();
     this.rimMemoEdit2.EndInit();
     this.gpgChatGrid.EndInit();
     this.gvChat.EndInit();
     this.rimPictureEdit3.EndInit();
     this.rimMemoEdit3.EndInit();
     this.rimTextEdit.EndInit();
     this.pcTextEntry.EndInit();
     this.textBoxMsg.Properties.EndInit();
     this.dockManager.EndInit();
     this.pManualTabs.ResumeLayout(false);
     this.gpgPanelChatAndInput.ResumeLayout(false);
     this.splitContainerChatAndInput.Panel1.ResumeLayout(false);
     this.splitContainerChatAndInput.Panel1.PerformLayout();
     this.splitContainerChatAndInput.Panel2.ResumeLayout(false);
     this.splitContainerChatAndInput.ResumeLayout(false);
     this.gpgPanelGathering.ResumeLayout(false);
     this.gpgPanelGatheringDropDown.ResumeLayout(false);
     this.splitContainerBody.Panel1.ResumeLayout(false);
     this.splitContainerBody.Panel2.ResumeLayout(false);
     this.splitContainerBody.ResumeLayout(false);
     this.gpgPanelClan.ResumeLayout(false);
     this.gpgPanelFriends.ResumeLayout(false);
     this.gpgPanel2.ResumeLayout(false);
     base.ResumeLayout(false);
 }
 void Awake()
 {
     dockManager = GameObject.FindGameObjectWithTag("DockManager").GetComponent<DockManager>();
 }
 public static void Parse(DockManager dockManager, XmlDocument doc)
 {
     m_dockManager = dockManager;
     CreatePanels(doc.DocumentElement);
 }
Exemple #44
0
 private void InitializeDocking()
 {
     _projectTree = new ProjectTree(this);
     _dock = new DockManager(MainDock);
 }
Exemple #45
0
 private DockPanel GetPanelByDockingStyle(DockManager manager, DockingStyle style)
 {
     for (int i = 0; i < manager.RootPanels.Count; i++)
     {
         DockPanel panel = manager.RootPanels[i];
         if (panel == null || panel.Dock == DockingStyle.Float)
             continue;
         if (panel.Dock == style)
             return panel;
     }
     return null;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
     this.barDockMgr = new DevExpress.XtraBars.BarAndDockingController(this.components);
     this.dockMgr = new DevExpress.XtraBars.Docking.DockManager();
     this.pnlCountersTree = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
     this.cmdNewTab = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem1 = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.barSubItem2 = new DevExpress.XtraBars.BarSubItem();
     this.lsttopToolbarImages = new DevExpress.Utils.ImageCollection(this.components);
     this.tabsMgr = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components);
     this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
     this.imgRibbon = new DevExpress.Utils.ImageCollection(this.components);
     this.bar4 = new DevExpress.XtraBars.Bar();
     this.ribbonMain = new DevExpress.XtraBars.Ribbon.RibbonControl();
     this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
     this.chkPanelCounters = new DevExpress.XtraBars.BarCheckItem();
     this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem();
     this.cmdScaleUp = new DevExpress.XtraBars.BarButtonItem();
     this.cmdScaleDown = new DevExpress.XtraBars.BarButtonItem();
     this.cmdAddCounters = new DevExpress.XtraBars.BarButtonItem();
     this.cmdCreateRootNode = new DevExpress.XtraBars.BarButtonItem();
     this.cmdCreateChildNode = new DevExpress.XtraBars.BarButtonItem();
     this.cmdRemoveNode = new DevExpress.XtraBars.BarButtonItem();
     this.cmdCreateFolderFromActiveMonitor = new DevExpress.XtraBars.BarButtonItem();
     this.cmdSaveCountersToCurrentFolder = new DevExpress.XtraBars.BarButtonItem();
     this.cmdSetCounterMachineNames = new DevExpress.XtraBars.BarButtonItem();
     this.cmdAddNodeToNewTab = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem13 = new DevExpress.XtraBars.BarButtonItem();
     this.chkTextReport = new DevExpress.XtraBars.BarCheckItem();
     this.chkShowToolbar = new DevExpress.XtraBars.BarCheckItem();
     this.chkLegend = new DevExpress.XtraBars.BarCheckItem();
     this.chkShowVGrid = new DevExpress.XtraBars.BarCheckItem();
     this.chkShowHGrid = new DevExpress.XtraBars.BarCheckItem();
     this.barStaticItem2 = new DevExpress.XtraBars.BarStaticItem();
     this.cmdRenameFolder = new DevExpress.XtraBars.BarButtonItem();
     this.cmdRenameTab = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonGroup2 = new DevExpress.XtraBars.BarButtonGroup();
     this.cmdImport = new DevExpress.XtraBars.BarButtonItem();
     this.cmdExport = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonGroup3 = new DevExpress.XtraBars.BarButtonGroup();
     this.barButtonGroup4 = new DevExpress.XtraBars.BarButtonGroup();
     this.barButtonGroup5 = new DevExpress.XtraBars.BarButtonGroup();
     this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem6 = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem7 = new DevExpress.XtraBars.BarButtonItem();
     this.lblVersionCaption = new DevExpress.XtraBars.BarStaticItem();
     this.lblVersion = new DevExpress.XtraBars.BarStaticItem();
     this.cmdCloseTab = new DevExpress.XtraBars.BarButtonItem();
     this.cmdSetInstanceName = new DevExpress.XtraBars.BarButtonItem();
     this.ribPageGeneral = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup16 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribPageActiveMonitor = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup5 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup6 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup15 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribPageLibFolder = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup7 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup12 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup10 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup11 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribPageLibCounter = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup13 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup14 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
     this.ribbonPageGroup17 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup18 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup19 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup20 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonStatusBar1 = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
     this.ribbonPageGroup8 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.ribbonPageGroup9 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
     this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.popupMenu2 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.popupMenu3 = new DevExpress.XtraBars.PopupMenu(this.components);
     this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).BeginInit();
     this.pnlCountersTree.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).BeginInit();
     this.SuspendLayout();
     //
     // barDockMgr
     //
     this.barDockMgr.AppearancesRibbon.PageHeader.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
     this.barDockMgr.AppearancesRibbon.PageHeader.BackColor2 = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.barDockMgr.AppearancesRibbon.PageHeader.Options.UseBackColor = true;
     this.barDockMgr.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;
     this.barDockMgr.PaintStyleName = "Skin";
     this.barDockMgr.PropertiesBar.AllowLinkLighting = false;
     //
     // dockMgr
     //
     this.dockMgr.Controller = this.barDockMgr;
     this.dockMgr.Form = this;
     this.dockMgr.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
                                                                                      this.pnlCountersTree});
     this.dockMgr.TopZIndexControls.AddRange(new string[] {
                                                              "DevExpress.XtraBars.BarDockControl",
                                                              "System.Windows.Forms.StatusBar",
                                                              "DevExpress.XtraBars.Ribbon.RibbonStatusBar",
                                                              "DevExpress.XtraBars.Ribbon.RibbonControl"});
     //
     // pnlCountersTree
     //
     this.pnlCountersTree.Controls.Add(this.dockPanel1_Container);
     this.pnlCountersTree.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
     this.pnlCountersTree.ID = new System.Guid("67d03641-787f-4ee4-abc7-e67c35e02bd4");
     this.pnlCountersTree.Location = new System.Drawing.Point(0, 144);
     this.pnlCountersTree.Name = "pnlCountersTree";
     this.pnlCountersTree.Size = new System.Drawing.Size(206, 326);
     this.pnlCountersTree.Text = "Counter Library";
     //
     // dockPanel1_Container
     //
     this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25);
     this.dockPanel1_Container.Name = "dockPanel1_Container";
     this.dockPanel1_Container.Size = new System.Drawing.Size(200, 298);
     this.dockPanel1_Container.TabIndex = 0;
     //
     // cmdNewTab
     //
     this.cmdNewTab.Caption = "&New tab";
     this.cmdNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdNewTab.Glyph")));
     this.cmdNewTab.Hint = "New Tab";
     this.cmdNewTab.Id = 3;
     this.cmdNewTab.ImageIndex = 0;
     this.cmdNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N));
     this.cmdNewTab.Name = "cmdNewTab";
     this.cmdNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdNewTab_ItemClick);
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "&File";
     this.barSubItem1.Id = 0;
     this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                                                                                              new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)});
     this.barSubItem1.Name = "barSubItem1";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "E&xit";
     this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph")));
     this.barButtonItem1.Hint = "Exit";
     this.barButtonItem1.Id = 1;
     this.barButtonItem1.ImageIndex = 1;
     this.barButtonItem1.Name = "barButtonItem1";
     //
     // barSubItem2
     //
     this.barSubItem2.Caption = "&Tabs";
     this.barSubItem2.Id = 2;
     this.barSubItem2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                                                                                              new DevExpress.XtraBars.LinkPersistInfo(this.cmdNewTab)});
     this.barSubItem2.Name = "barSubItem2";
     //
     // lsttopToolbarImages
     //
     this.lsttopToolbarImages.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("lsttopToolbarImages.ImageStream")));
     //
     // tabsMgr
     //
     this.tabsMgr.AllowDragDrop = DevExpress.Utils.DefaultBoolean.True;
     this.tabsMgr.AppearancePage.HeaderActive.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.tabsMgr.AppearancePage.HeaderActive.BorderColor = System.Drawing.Color.Red;
     this.tabsMgr.AppearancePage.HeaderActive.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.tabsMgr.AppearancePage.HeaderActive.Options.UseBackColor = true;
     this.tabsMgr.AppearancePage.HeaderActive.Options.UseBorderColor = true;
     this.tabsMgr.AppearancePage.HeaderActive.Options.UseFont = true;
     this.tabsMgr.Controller = this.barDockMgr;
     this.tabsMgr.HeaderButtons = ((DevExpress.XtraTab.TabButtons)(((DevExpress.XtraTab.TabButtons.Prev | DevExpress.XtraTab.TabButtons.Next)
         | DevExpress.XtraTab.TabButtons.Close)));
     this.tabsMgr.MdiParent = this;
     this.tabsMgr.SelectedPageChanged += new System.EventHandler(this.tabsMgr_SelectedPageChanged);
     this.tabsMgr.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabsMgr_MouseDown);
     //
     // defaultLookAndFeel1
     //
     this.defaultLookAndFeel1.LookAndFeel.SkinName = "The Asphalt World";
     //
     // imgRibbon
     //
     this.imgRibbon.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgRibbon.ImageStream")));
     //
     // bar4
     //
     this.bar4.BarName = "barActions";
     this.bar4.DockCol = 0;
     this.bar4.DockRow = 0;
     this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar4.FloatLocation = new System.Drawing.Point(229, 161);
     this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                                                                                       new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1)});
     this.bar4.OptionsBar.AllowDelete = true;
     this.bar4.OptionsBar.AllowQuickCustomization = false;
     this.bar4.OptionsBar.DisableClose = true;
     this.bar4.OptionsBar.DisableCustomization = true;
     this.bar4.OptionsBar.DrawDragBorder = false;
     this.bar4.OptionsBar.UseWholeRow = true;
     this.bar4.Text = "Actions";
     //
     // ribbonMain
     //
     this.ribbonMain.Images = this.imgRibbon;
     this.ribbonMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
                                                                          this.barSubItem1,
                                                                          this.barButtonItem1,
                                                                          this.barSubItem2,
                                                                          this.cmdNewTab,
                                                                          this.barButtonGroup1,
                                                                          this.chkPanelCounters,
                                                                          this.barStaticItem1,
                                                                          this.cmdScaleUp,
                                                                          this.cmdScaleDown,
                                                                          this.cmdAddCounters,
                                                                          this.cmdCreateRootNode,
                                                                          this.cmdCreateChildNode,
                                                                          this.cmdRemoveNode,
                                                                          this.cmdCreateFolderFromActiveMonitor,
                                                                          this.cmdSaveCountersToCurrentFolder,
                                                                          this.cmdSetCounterMachineNames,
                                                                          this.cmdAddNodeToNewTab,
                                                                          this.barButtonItem13,
                                                                          this.chkTextReport,
                                                                          this.chkShowToolbar,
                                                                          this.chkLegend,
                                                                          this.chkShowVGrid,
                                                                          this.chkShowHGrid,
                                                                          this.barStaticItem2,
                                                                          this.cmdRenameFolder,
                                                                          this.cmdRenameTab,
                                                                          this.barButtonGroup2,
                                                                          this.cmdImport,
                                                                          this.cmdExport,
                                                                          this.barButtonGroup3,
                                                                          this.barButtonGroup4,
                                                                          this.barButtonGroup5,
                                                                          this.barButtonItem2,
                                                                          this.barButtonItem3,
                                                                          this.barButtonItem4,
                                                                          this.barButtonItem5,
                                                                          this.barButtonItem6,
                                                                          this.barButtonItem7,
                                                                          this.lblVersionCaption,
                                                                          this.lblVersion,
                                                                          this.cmdCloseTab,
                                                                          this.cmdSetInstanceName});
     this.ribbonMain.Location = new System.Drawing.Point(0, 0);
     this.ribbonMain.MaxItemId = 42;
     this.ribbonMain.Name = "ribbonMain";
     this.ribbonMain.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
                                                                                    this.ribPageGeneral,
                                                                                    this.ribPageActiveMonitor,
                                                                                    this.ribPageLibFolder,
                                                                                    this.ribPageLibCounter,
                                                                                    this.ribbonPage1});
     this.ribbonMain.SelectedPage = this.ribPageActiveMonitor;
     this.ribbonMain.Size = new System.Drawing.Size(712, 144);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.barButtonItem1);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdNewTab, true);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdRenameTab);
     this.ribbonMain.Toolbar.ItemLinks.Add(this.cmdAddCounters, true);
     this.ribbonMain.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Below;
     this.ribbonMain.SelectedPageChanged += new System.EventHandler(this.ribbonMain_SelectedPageChanged);
     //
     // barButtonGroup1
     //
     this.barButtonGroup1.Caption = "barButtonGroup1";
     this.barButtonGroup1.Id = 0;
     this.barButtonGroup1.Name = "barButtonGroup1";
     //
     // chkPanelCounters
     //
     this.chkPanelCounters.Caption = "Show Counter Library";
     this.chkPanelCounters.Checked = true;
     this.chkPanelCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.Glyph")));
     this.chkPanelCounters.Hint = "Show counter library panel";
     this.chkPanelCounters.Id = 1;
     this.chkPanelCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L));
     this.chkPanelCounters.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkPanelCounters.LargeGlyph")));
     this.chkPanelCounters.Name = "chkPanelCounters";
     this.chkPanelCounters.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.Caption;
     this.chkPanelCounters.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkPanelCounters_CheckedChanged);
     //
     // barStaticItem1
     //
     this.barStaticItem1.Caption = "Actions on the active perfomance monitor";
     this.barStaticItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barStaticItem1.Glyph")));
     this.barStaticItem1.Id = 2;
     this.barStaticItem1.Name = "barStaticItem1";
     this.barStaticItem1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large;
     this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // cmdScaleUp
     //
     this.cmdScaleUp.Caption = "Scale up";
     this.cmdScaleUp.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleUp.Glyph")));
     this.cmdScaleUp.Hint = "Scale up current counter";
     this.cmdScaleUp.Id = 3;
     this.cmdScaleUp.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Add);
     this.cmdScaleUp.Name = "cmdScaleUp";
     this.cmdScaleUp.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdScaleUp_ItemClick);
     //
     // cmdScaleDown
     //
     this.cmdScaleDown.Caption = "Scale down                 ";
     this.cmdScaleDown.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdScaleDown.Glyph")));
     this.cmdScaleDown.Hint = "Scale down current counter";
     this.cmdScaleDown.Id = 4;
     this.cmdScaleDown.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Subtract);
     this.cmdScaleDown.Name = "cmdScaleDown";
     this.cmdScaleDown.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
     //
     // cmdAddCounters
     //
     this.cmdAddCounters.Caption = "Add counter(s)";
     this.cmdAddCounters.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddCounters.Glyph")));
     this.cmdAddCounters.Hint = "Add Counters...";
     this.cmdAddCounters.Id = 5;
     this.cmdAddCounters.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A));
     this.cmdAddCounters.Name = "cmdAddCounters";
     this.cmdAddCounters.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddCounters_ItemClick);
     //
     // cmdCreateRootNode
     //
     this.cmdCreateRootNode.Caption = "Create Root";
     this.cmdCreateRootNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateRootNode.Glyph")));
     this.cmdCreateRootNode.Hint = "Create root folder in library";
     this.cmdCreateRootNode.Id = 6;
     this.cmdCreateRootNode.Name = "cmdCreateRootNode";
     this.cmdCreateRootNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateRootNode_ItemClick);
     //
     // cmdCreateChildNode
     //
     this.cmdCreateChildNode.Caption = "Create Child";
     this.cmdCreateChildNode.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateChildNode.Glyph")));
     this.cmdCreateChildNode.Hint = "Create sub folder in library";
     this.cmdCreateChildNode.Id = 7;
     this.cmdCreateChildNode.Name = "cmdCreateChildNode";
     this.cmdCreateChildNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateChildNode_ItemClick);
     //
     // cmdRemoveNode
     //
     this.cmdRemoveNode.Caption = "&Remove";
     this.cmdRemoveNode.Hint = "Remove folder or counter from library";
     this.cmdRemoveNode.Id = 8;
     this.cmdRemoveNode.ImageIndex = 1;
     this.cmdRemoveNode.Name = "cmdRemoveNode";
     this.cmdRemoveNode.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRemoveNode_ItemClick);
     //
     // cmdCreateFolderFromActiveMonitor
     //
     this.cmdCreateFolderFromActiveMonitor.Caption = "Import Tab Counters to new folder";
     this.cmdCreateFolderFromActiveMonitor.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdCreateFolderFromActiveMonitor.Glyph")));
     this.cmdCreateFolderFromActiveMonitor.Hint = "Import tab counters to a new library folder";
     this.cmdCreateFolderFromActiveMonitor.Id = 10;
     this.cmdCreateFolderFromActiveMonitor.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
         | System.Windows.Forms.Keys.N));
     this.cmdCreateFolderFromActiveMonitor.Name = "cmdCreateFolderFromActiveMonitor";
     this.cmdCreateFolderFromActiveMonitor.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdCreateFolderFromActiveMonitor_ItemClick);
     //
     // cmdSaveCountersToCurrentFolder
     //
     this.cmdSaveCountersToCurrentFolder.Caption = "Import tab counters to selected folder";
     this.cmdSaveCountersToCurrentFolder.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSaveCountersToCurrentFolder.Glyph")));
     this.cmdSaveCountersToCurrentFolder.Hint = "Import tab counters to the selected library folder";
     this.cmdSaveCountersToCurrentFolder.Id = 11;
     this.cmdSaveCountersToCurrentFolder.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
         | System.Windows.Forms.Keys.F));
     this.cmdSaveCountersToCurrentFolder.Name = "cmdSaveCountersToCurrentFolder";
     this.cmdSaveCountersToCurrentFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSaveCountersToCurrentFolder_ItemClick);
     //
     // cmdSetCounterMachineNames
     //
     this.cmdSetCounterMachineNames.Caption = "Set machine name";
     this.cmdSetCounterMachineNames.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetCounterMachineNames.Glyph")));
     this.cmdSetCounterMachineNames.Hint = "set the machine name for the library counter(s)";
     this.cmdSetCounterMachineNames.Id = 12;
     this.cmdSetCounterMachineNames.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M));
     this.cmdSetCounterMachineNames.Name = "cmdSetCounterMachineNames";
     this.cmdSetCounterMachineNames.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdChangeMachinNameForCOunters_ItemClick);
     //
     // cmdAddNodeToNewTab
     //
     this.cmdAddNodeToNewTab.Caption = "Add folder to new tab";
     this.cmdAddNodeToNewTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdAddNodeToNewTab.Glyph")));
     this.cmdAddNodeToNewTab.Hint = "add this library folder\'s counters to a new tab";
     this.cmdAddNodeToNewTab.Id = 13;
     this.cmdAddNodeToNewTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
         | System.Windows.Forms.Keys.Right));
     this.cmdAddNodeToNewTab.Name = "cmdAddNodeToNewTab";
     this.cmdAddNodeToNewTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdAddNodeToNewTab_ItemClick);
     //
     // barButtonItem13
     //
     this.barButtonItem13.Caption = "Add to selected tab";
     this.barButtonItem13.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem13.Glyph")));
     this.barButtonItem13.Hint = "add this library folder/counter to the current tab";
     this.barButtonItem13.Id = 16;
     this.barButtonItem13.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Right));
     this.barButtonItem13.Name = "barButtonItem13";
     this.barButtonItem13.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem13_ItemClick);
     //
     // chkTextReport
     //
     this.chkTextReport.Caption = "Text Report";
     this.chkTextReport.Glyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.Glyph")));
     this.chkTextReport.Hint = "Set the perfmon display to \"Text Report\"";
     this.chkTextReport.Id = 17;
     this.chkTextReport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.R));
     this.chkTextReport.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("chkTextReport.LargeGlyph")));
     this.chkTextReport.Name = "chkTextReport";
     this.chkTextReport.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkTextReport_CheckedChanged);
     //
     // chkShowToolbar
     //
     this.chkShowToolbar.Caption = "Toolbar";
     this.chkShowToolbar.Checked = true;
     this.chkShowToolbar.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowToolbar.Glyph")));
     this.chkShowToolbar.Hint = "Show/Hide the perfmon toolbar";
     this.chkShowToolbar.Id = 18;
     this.chkShowToolbar.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.T));
     this.chkShowToolbar.Name = "chkShowToolbar";
     this.chkShowToolbar.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowToolbar_CheckedChanged);
     //
     // chkLegend
     //
     this.chkLegend.Caption = "Legend";
     this.chkLegend.Checked = true;
     this.chkLegend.Glyph = ((System.Drawing.Image)(resources.GetObject("chkLegend.Glyph")));
     this.chkLegend.Hint = "Show/Hide the perfmon legend";
     this.chkLegend.Id = 19;
     this.chkLegend.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.L));
     this.chkLegend.Name = "chkLegend";
     this.chkLegend.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkLegend_CheckedChanged);
     //
     // chkShowVGrid
     //
     this.chkShowVGrid.Caption = "Vertical Grid Lines";
     this.chkShowVGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowVGrid.Glyph")));
     this.chkShowVGrid.Hint = "Show/Hide perfmon vertical grid lines";
     this.chkShowVGrid.Id = 20;
     this.chkShowVGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.V));
     this.chkShowVGrid.Name = "chkShowVGrid";
     this.chkShowVGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowVGrid_CheckedChanged);
     //
     // chkShowHGrid
     //
     this.chkShowHGrid.Caption = "Horizontal Grid Lines";
     this.chkShowHGrid.Glyph = ((System.Drawing.Image)(resources.GetObject("chkShowHGrid.Glyph")));
     this.chkShowHGrid.Hint = "Show/Hide perfmon Horizontal grid lines";
     this.chkShowHGrid.Id = 21;
     this.chkShowHGrid.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.H));
     this.chkShowHGrid.Name = "chkShowHGrid";
     this.chkShowHGrid.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.chkShowHGrid_CheckedChanged);
     //
     // barStaticItem2
     //
     this.barStaticItem2.Caption = "Perf+                                                                            " +
         "";
     this.barStaticItem2.Id = 22;
     this.barStaticItem2.Name = "barStaticItem2";
     this.barStaticItem2.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // cmdRenameFolder
     //
     this.cmdRenameFolder.Caption = "&Rename";
     this.cmdRenameFolder.Id = 23;
     this.cmdRenameFolder.Name = "cmdRenameFolder";
     this.cmdRenameFolder.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameFolder_ItemClick);
     //
     // cmdRenameTab
     //
     this.cmdRenameTab.Caption = "&Rename Tab";
     this.cmdRenameTab.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdRenameTab.Glyph")));
     this.cmdRenameTab.Hint = "Rename Tab";
     this.cmdRenameTab.Id = 25;
     this.cmdRenameTab.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R));
     this.cmdRenameTab.Name = "cmdRenameTab";
     this.cmdRenameTab.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdRenameTab_ItemClick);
     //
     // barButtonGroup2
     //
     this.barButtonGroup2.Caption = "Share";
     this.barButtonGroup2.Id = 26;
     this.barButtonGroup2.Name = "barButtonGroup2";
     //
     // cmdImport
     //
     this.cmdImport.Caption = "&Import Library...";
     this.cmdImport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdImport.Glyph")));
     this.cmdImport.Hint = "Import existing library counters from file";
     this.cmdImport.Id = 27;
     this.cmdImport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I));
     this.cmdImport.Name = "cmdImport";
     this.cmdImport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdImport_ItemClick);
     //
     // cmdExport
     //
     this.cmdExport.Caption = "Export Library...";
     this.cmdExport.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdExport.Glyph")));
     this.cmdExport.Hint = "Export coutner library to file";
     this.cmdExport.Id = 28;
     this.cmdExport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E));
     this.cmdExport.Name = "cmdExport";
     this.cmdExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdExport_ItemClick);
     //
     // barButtonGroup3
     //
     this.barButtonGroup3.Caption = "barButtonGroup3";
     this.barButtonGroup3.Id = 29;
     this.barButtonGroup3.Name = "barButtonGroup3";
     //
     // barButtonGroup4
     //
     this.barButtonGroup4.Caption = "View ptions";
     this.barButtonGroup4.Id = 30;
     this.barButtonGroup4.ItemLinks.Add(this.chkLegend);
     this.barButtonGroup4.ItemLinks.Add(this.chkShowToolbar);
     this.barButtonGroup4.Name = "barButtonGroup4";
     //
     // barButtonGroup5
     //
     this.barButtonGroup5.Caption = "barButtonGroup5";
     this.barButtonGroup5.Id = 31;
     this.barButtonGroup5.ItemLinks.Add(this.chkShowHGrid);
     this.barButtonGroup5.ItemLinks.Add(this.chkShowVGrid);
     this.barButtonGroup5.Name = "barButtonGroup5";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "Team Agile";
     this.barButtonItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.Glyph")));
     this.barButtonItem2.Id = 32;
     this.barButtonItem2.Name = "barButtonItem2";
     this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick);
     //
     // barButtonItem3
     //
     this.barButtonItem3.Caption = "Other Tools from Roy";
     this.barButtonItem3.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem3.Glyph")));
     this.barButtonItem3.Id = 33;
     this.barButtonItem3.Name = "barButtonItem3";
     this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick_1);
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption = "Roy\'s Blog";
     this.barButtonItem4.Id = 34;
     this.barButtonItem4.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem4.LargeGlyph")));
     this.barButtonItem4.Name = "barButtonItem4";
     this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
     //
     // barButtonItem5
     //
     this.barButtonItem5.Caption = "Bug/ Feature request";
     this.barButtonItem5.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.Glyph")));
     this.barButtonItem5.Id = 35;
     this.barButtonItem5.Name = "barButtonItem5";
     this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem5_ItemClick);
     //
     // barButtonItem6
     //
     this.barButtonItem6.Caption = "Email the author";
     this.barButtonItem6.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem6.Glyph")));
     this.barButtonItem6.Id = 36;
     this.barButtonItem6.Name = "barButtonItem6";
     this.barButtonItem6.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem6_ItemClick);
     //
     // barButtonItem7
     //
     this.barButtonItem7.Caption = "barButtonItem7";
     this.barButtonItem7.Id = 37;
     this.barButtonItem7.Name = "barButtonItem7";
     //
     // lblVersionCaption
     //
     this.lblVersionCaption.Caption = "Version:";
     this.lblVersionCaption.Id = 38;
     this.lblVersionCaption.Name = "lblVersionCaption";
     this.lblVersionCaption.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // lblVersion
     //
     this.lblVersion.Caption = "       1.0      ";
     this.lblVersion.Id = 39;
     this.lblVersion.Name = "lblVersion";
     this.lblVersion.TextAlignment = System.Drawing.StringAlignment.Near;
     //
     // cmdCloseTab
     //
     this.cmdCloseTab.Caption = "&Close";
     this.cmdCloseTab.Id = 40;
     this.cmdCloseTab.Name = "cmdCloseTab";
     //
     // cmdSetInstanceName
     //
     this.cmdSetInstanceName.Caption = "Set Target Application Instance";
     this.cmdSetInstanceName.Glyph = ((System.Drawing.Image)(resources.GetObject("cmdSetInstanceName.Glyph")));
     this.cmdSetInstanceName.Hint = "Set the counter(s) target application instance";
     this.cmdSetInstanceName.Id = 41;
     this.cmdSetInstanceName.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T));
     this.cmdSetInstanceName.Name = "cmdSetInstanceName";
     this.cmdSetInstanceName.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdSetInstanceName_ItemClick);
     //
     // ribPageGeneral
     //
     this.ribPageGeneral.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                              this.ribbonPageGroup1,
                                                                                              this.ribbonPageGroup2,
                                                                                              this.ribbonPageGroup4,
                                                                                              this.ribbonPageGroup16});
     this.ribPageGeneral.Name = "ribPageGeneral";
     this.ribPageGeneral.Text = "General";
     //
     // ribbonPageGroup1
     //
     this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1);
     this.ribbonPageGroup1.Name = "ribbonPageGroup1";
     this.ribbonPageGroup1.ShowCaptionButton = false;
     this.ribbonPageGroup1.Text = "Program";
     //
     // ribbonPageGroup2
     //
     this.ribbonPageGroup2.ItemLinks.Add(this.cmdNewTab);
     this.ribbonPageGroup2.ItemLinks.Add(this.cmdRenameTab);
     this.ribbonPageGroup2.Name = "ribbonPageGroup2";
     this.ribbonPageGroup2.ShowCaptionButton = false;
     this.ribbonPageGroup2.Text = "Tabs";
     //
     // ribbonPageGroup4
     //
     this.ribbonPageGroup4.ItemLinks.Add(this.chkPanelCounters);
     this.ribbonPageGroup4.Name = "ribbonPageGroup4";
     this.ribbonPageGroup4.Text = "Panels";
     //
     // ribbonPageGroup16
     //
     this.ribbonPageGroup16.ItemLinks.Add(this.cmdImport);
     this.ribbonPageGroup16.ItemLinks.Add(this.cmdExport);
     this.ribbonPageGroup16.Name = "ribbonPageGroup16";
     this.ribbonPageGroup16.Text = "Share";
     //
     // ribPageActiveMonitor
     //
     this.ribPageActiveMonitor.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                                    this.ribbonPageGroup5,
                                                                                                    this.ribbonPageGroup6,
                                                                                                    this.ribbonPageGroup3,
                                                                                                    this.ribbonPageGroup15});
     this.ribPageActiveMonitor.Name = "ribPageActiveMonitor";
     this.ribPageActiveMonitor.Text = "Active Monitor";
     //
     // ribbonPageGroup5
     //
     this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleUp);
     this.ribbonPageGroup5.ItemLinks.Add(this.cmdScaleDown);
     this.ribbonPageGroup5.Name = "ribbonPageGroup5";
     this.ribbonPageGroup5.Text = "Active Counter";
     //
     // ribbonPageGroup6
     //
     this.ribbonPageGroup6.ItemLinks.Add(this.cmdAddCounters, true);
     this.ribbonPageGroup6.ItemLinks.Add(this.cmdRenameTab);
     this.ribbonPageGroup6.ItemLinks.Add(this.cmdNewTab);
     this.ribbonPageGroup6.Name = "ribbonPageGroup6";
     this.ribbonPageGroup6.Text = "Monitor";
     //
     // ribbonPageGroup3
     //
     this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup4);
     this.ribbonPageGroup3.ItemLinks.Add(this.barButtonGroup5);
     this.ribbonPageGroup3.ItemLinks.Add(this.chkTextReport);
     this.ribbonPageGroup3.Name = "ribbonPageGroup3";
     this.ribbonPageGroup3.Text = "Toggle Visible";
     //
     // ribbonPageGroup15
     //
     this.ribbonPageGroup15.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor);
     this.ribbonPageGroup15.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder);
     this.ribbonPageGroup15.Name = "ribbonPageGroup15";
     this.ribbonPageGroup15.Text = "Library";
     //
     // ribPageLibFolder
     //
     this.ribPageLibFolder.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                                this.ribbonPageGroup7,
                                                                                                this.ribbonPageGroup12,
                                                                                                this.ribbonPageGroup10,
                                                                                                this.ribbonPageGroup11});
     this.ribPageLibFolder.Name = "ribPageLibFolder";
     this.ribPageLibFolder.Text = "Library Folder";
     //
     // ribbonPageGroup7
     //
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateRootNode, true);
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdCreateChildNode);
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdRemoveNode, true);
     this.ribbonPageGroup7.ItemLinks.Add(this.cmdRenameFolder);
     this.ribbonPageGroup7.Name = "ribbonPageGroup7";
     this.ribbonPageGroup7.Text = "Folders";
     //
     // ribbonPageGroup12
     //
     this.ribbonPageGroup12.ItemLinks.Add(this.cmdAddNodeToNewTab);
     this.ribbonPageGroup12.ItemLinks.Add(this.barButtonItem13);
     this.ribbonPageGroup12.Name = "ribbonPageGroup12";
     this.ribbonPageGroup12.Text = "Monitor";
     //
     // ribbonPageGroup10
     //
     this.ribbonPageGroup10.ItemLinks.Add(this.cmdCreateFolderFromActiveMonitor);
     this.ribbonPageGroup10.ItemLinks.Add(this.cmdSaveCountersToCurrentFolder);
     this.ribbonPageGroup10.Name = "ribbonPageGroup10";
     this.ribbonPageGroup10.Text = "Import";
     //
     // ribbonPageGroup11
     //
     this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetCounterMachineNames);
     this.ribbonPageGroup11.ItemLinks.Add(this.cmdSetInstanceName);
     this.ribbonPageGroup11.Name = "ribbonPageGroup11";
     this.ribbonPageGroup11.Text = "Current Folder\\Counter";
     //
     // ribPageLibCounter
     //
     this.ribPageLibCounter.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                                 this.ribbonPageGroup13,
                                                                                                 this.ribbonPageGroup14});
     this.ribPageLibCounter.Name = "ribPageLibCounter";
     this.ribPageLibCounter.Text = "Library Counter";
     //
     // ribbonPageGroup13
     //
     this.ribbonPageGroup13.ItemLinks.Add(this.cmdSetCounterMachineNames);
     this.ribbonPageGroup13.Name = "ribbonPageGroup13";
     this.ribbonPageGroup13.Text = "Modify Counter";
     //
     // ribbonPageGroup14
     //
     this.ribbonPageGroup14.ItemLinks.Add(this.cmdAddNodeToNewTab);
     this.ribbonPageGroup14.ItemLinks.Add(this.barButtonItem13);
     this.ribbonPageGroup14.Name = "ribbonPageGroup14";
     this.ribbonPageGroup14.Text = "Monitor";
     //
     // ribbonPage1
     //
     this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
                                                                                           this.ribbonPageGroup17,
                                                                                           this.ribbonPageGroup18,
                                                                                           this.ribbonPageGroup19,
                                                                                           this.ribbonPageGroup20});
     this.ribbonPage1.Name = "ribbonPage1";
     this.ribbonPage1.Text = "Help";
     //
     // ribbonPageGroup17
     //
     this.ribbonPageGroup17.ItemLinks.Add(this.lblVersionCaption);
     this.ribbonPageGroup17.ItemLinks.Add(this.lblVersion);
     this.ribbonPageGroup17.Name = "ribbonPageGroup17";
     this.ribbonPageGroup17.Text = "About";
     //
     // ribbonPageGroup18
     //
     this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem2);
     this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem3);
     this.ribbonPageGroup18.ItemLinks.Add(this.barButtonItem4, true);
     this.ribbonPageGroup18.Name = "ribbonPageGroup18";
     this.ribbonPageGroup18.Text = "Other Sites";
     //
     // ribbonPageGroup19
     //
     this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem5);
     this.ribbonPageGroup19.ItemLinks.Add(this.barButtonItem6);
     this.ribbonPageGroup19.Name = "ribbonPageGroup19";
     this.ribbonPageGroup19.Text = "Support";
     //
     // ribbonPageGroup20
     //
     this.ribbonPageGroup20.Name = "ribbonPageGroup20";
     this.ribbonPageGroup20.Text = "Videos";
     //
     // ribbonStatusBar1
     //
     this.ribbonStatusBar1.ItemLinks.Add(this.barStaticItem2);
     this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleUp);
     this.ribbonStatusBar1.ItemLinks.Add(this.cmdScaleDown);
     this.ribbonStatusBar1.Location = new System.Drawing.Point(0, 470);
     this.ribbonStatusBar1.Name = "ribbonStatusBar1";
     this.ribbonStatusBar1.Ribbon = this.ribbonMain;
     this.ribbonStatusBar1.Size = new System.Drawing.Size(712, 24);
     //
     // ribbonPageGroup8
     //
     this.ribbonPageGroup8.ItemLinks.Add(this.barStaticItem1);
     this.ribbonPageGroup8.Name = "ribbonPageGroup8";
     this.ribbonPageGroup8.Text = "Description";
     //
     // ribbonPageGroup9
     //
     this.ribbonPageGroup9.ItemLinks.Add(this.barStaticItem1);
     this.ribbonPageGroup9.Name = "ribbonPageGroup9";
     this.ribbonPageGroup9.Text = "Description";
     //
     // popupMenu1
     //
     this.popupMenu1.Name = "popupMenu1";
     this.popupMenu1.Ribbon = this.ribbonMain;
     //
     // popupMenu2
     //
     this.popupMenu2.Name = "popupMenu2";
     this.popupMenu2.Ribbon = this.ribbonMain;
     //
     // popupMenu3
     //
     this.popupMenu3.ItemLinks.Add(this.cmdRenameTab);
     this.popupMenu3.ItemLinks.Add(this.cmdCloseTab);
     this.popupMenu3.Name = "popupMenu3";
     this.popupMenu3.Ribbon = this.ribbonMain;
     //
     // toolTipController1
     //
     this.toolTipController1.Rounded = true;
     this.toolTipController1.ShowBeak = true;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(712, 494);
     this.Controls.Add(this.pnlCountersTree);
     this.Controls.Add(this.ribbonMain);
     this.Controls.Add(this.ribbonStatusBar1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "MainForm";
     this.Text = "Perf+  (Alpha - Expires February 2007)";
     this.Load += new System.EventHandler(this.MainForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.barDockMgr)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockMgr)).EndInit();
     this.pnlCountersTree.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lsttopToolbarImages)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabsMgr)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imgRibbon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenu3)).EndInit();
     this.ResumeLayout(false);
 }
        public static DockPanel AddDockPanel(DockingStyle dockingStyle, DockManager dockManager)
        {
            DockPanel dockpanel = null;
            DockPanel firstPanel = null;
            try
            {
                for (Int32 i = 0; i < dockManager.RootPanels.Count; i++)
                {
                    if (dockManager.RootPanels[i].Dock == dockingStyle)
                    {
                        firstPanel = dockManager.RootPanels[i];
                        break;
                    }
                }
                if (firstPanel != null)
                {
                    if (firstPanel.Dock == DockingStyle.Left)
                    {
                        dockpanel = firstPanel.AddPanel();
                        dockpanel.Dock = DockingStyle.Fill;
                        firstPanel.Dock = DockingStyle.Fill;
                        dockpanel.DockTo(firstPanel);
                    }
                    else if (firstPanel.Dock != DockingStyle.Float)
                    {
                        dockpanel = firstPanel.AddPanel();
                        dockpanel.Dock = DockingStyle.Fill;
                        firstPanel.Dock = DockingStyle.Fill;
                        dockpanel.DockAsTab(firstPanel);
                    }
                }
                else
                {
                    dockpanel = dockManager.AddPanel(dockingStyle);
                    //设定默认大小
                    //if (dockingStyle == DockingStyle.Left)
                    //{ dockpanel.Width = 250; }
                    //else
                    //{ dockpanel.Width = 300; }

                    //dockpanel.FloatSize = new Size(300, 600);
                }
            }
            catch (Exception ex)
            {
            }
            return dockpanel;
        }
 public DockAreaConfiguration( DockManager.Dockable area )
 {
     _area = area;
     //_name = _area.ToString();
 }