private void InitializeComponent()
 {
     this.components = new Container();
     new ComponentResourceManager(typeof(MainWindow));
     this.m_wndToolTip        = new ToolTip(this.components);
     this.dxBasePanel         = new DXPanel();
     this.mainRightHandPanel1 = new MainRightHandPanel();
     this.topLeftMenu1        = new TopLeftMenu2();
     this.topRightMenu1       = new TopRightMenu();
     base.SuspendLayout();
     this.dxBasePanel.Anchor            = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dxBasePanel.BackColor         = ARGBColors.Black;
     this.dxBasePanel.Location          = new Point(0, 120);
     this.dxBasePanel.Name              = "dxBasePanel";
     this.dxBasePanel.Size              = new Size(0x521, 0x3c6);
     this.dxBasePanel.TabIndex          = 0;
     this.mainRightHandPanel1.Anchor    = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top;
     this.mainRightHandPanel1.BackColor = ARGBColors.Red;
     this.mainRightHandPanel1.Font      = new Font("Microsoft Sans Serif", 8.25f);
     this.mainRightHandPanel1.Location  = new Point(0x521, 120);
     this.mainRightHandPanel1.Name      = "mainRightHandPanel1";
     this.mainRightHandPanel1.Size      = new Size(200, 0x3c6);
     this.mainRightHandPanel1.TabIndex  = 2;
     this.topLeftMenu1.ClickThru        = false;
     this.topLeftMenu1.Font             = new Font("Microsoft Sans Serif", 8.25f);
     this.topLeftMenu1.Location         = new Point(0, 0);
     this.topLeftMenu1.Name             = "topLeftMenu1";
     this.topLeftMenu1.PanelActive      = true;
     this.topLeftMenu1.Size             = new Size(0x20f, 120);
     this.topLeftMenu1.StoredGraphics   = null;
     this.topLeftMenu1.TabIndex         = 4;
     this.topRightMenu1.Anchor          = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.topRightMenu1.BackColor       = ARGBColors.Red;
     this.topRightMenu1.ClickThru       = false;
     this.topRightMenu1.Location        = new Point(0x20f, 0);
     this.topRightMenu1.MinimumSize     = new Size(0x1cf, 0);
     this.topRightMenu1.Name            = "topRightMenu1";
     this.topRightMenu1.PanelActive     = true;
     this.topRightMenu1.Size            = new Size(0x3d9, 120);
     this.topRightMenu1.StoredGraphics  = null;
     this.topRightMenu1.TabIndex        = 5;
     base.AutoScaleMode = AutoScaleMode.None;
     this.BackColor     = ARGBColors.Black;
     base.ClientSize    = new Size(0x5e8, 0x43e);
     base.Controls.Add(this.dxBasePanel);
     base.Controls.Add(this.mainRightHandPanel1);
     base.Controls.Add(this.topLeftMenu1);
     base.Controls.Add(this.topRightMenu1);
     base.Icon             = Resources.shk_icon;
     this.MaximumSize      = new Size(0x5f0, 0x460);
     this.MinimumSize      = new Size(0x3e8, 720);
     base.Name             = "MainWindow";
     base.StartPosition    = FormStartPosition.CenterScreen;
     this.Text             = "Stronghold Kingdoms";
     base.Deactivate      += new EventHandler(this.MainWindowLarge_Deactivate);
     base.Load            += new EventHandler(this.MainWindow_Load);
     base.ResizeBegin     += new EventHandler(this.MainWindowLarge_ResizeBegin);
     base.SizeChanged     += new EventHandler(this.MainWindowLarge_SizeChanged);
     base.Activated       += new EventHandler(this.MainWindowLarge_Activated);
     base.FormClosed      += new FormClosedEventHandler(this.MainWindowLarge_FormClosed);
     base.FormClosing     += new FormClosingEventHandler(this.MainWindow_FormClosing);
     base.LocationChanged += new EventHandler(this.MainWindow_LocationChanged);
     base.ResizeEnd       += new EventHandler(this.MainWindowLarge_ResizeEnd);
     base.ResumeLayout(false);
 }
示例#2
0
 private void InitializeComponent()
 {
     this.components = new Container();
     new ComponentResourceManager(typeof(MainWindow));
     this.m_wndToolTip = new ToolTip(this.components);
     this.dxBasePanel = new DXPanel();
     this.mainRightHandPanel1 = new MainRightHandPanel();
     this.topLeftMenu1 = new TopLeftMenu2();
     this.topRightMenu1 = new TopRightMenu();
     base.SuspendLayout();
     this.dxBasePanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.dxBasePanel.BackColor = ARGBColors.Black;
     this.dxBasePanel.Location = new Point(0, 120);
     this.dxBasePanel.Name = "dxBasePanel";
     this.dxBasePanel.Size = new Size(0x521, 0x3c6);
     this.dxBasePanel.TabIndex = 0;
     this.mainRightHandPanel1.Anchor = AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top;
     this.mainRightHandPanel1.BackColor = ARGBColors.Red;
     this.mainRightHandPanel1.Font = new Font("Microsoft Sans Serif", 8.25f);
     this.mainRightHandPanel1.Location = new Point(0x521, 120);
     this.mainRightHandPanel1.Name = "mainRightHandPanel1";
     this.mainRightHandPanel1.Size = new Size(200, 0x3c6);
     this.mainRightHandPanel1.TabIndex = 2;
     this.topLeftMenu1.ClickThru = false;
     this.topLeftMenu1.Font = new Font("Microsoft Sans Serif", 8.25f);
     this.topLeftMenu1.Location = new Point(0, 0);
     this.topLeftMenu1.Name = "topLeftMenu1";
     this.topLeftMenu1.PanelActive = true;
     this.topLeftMenu1.Size = new Size(0x20f, 120);
     this.topLeftMenu1.StoredGraphics = null;
     this.topLeftMenu1.TabIndex = 4;
     this.topRightMenu1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.topRightMenu1.BackColor = ARGBColors.Red;
     this.topRightMenu1.ClickThru = false;
     this.topRightMenu1.Location = new Point(0x20f, 0);
     this.topRightMenu1.MinimumSize = new Size(0x1cf, 0);
     this.topRightMenu1.Name = "topRightMenu1";
     this.topRightMenu1.PanelActive = true;
     this.topRightMenu1.Size = new Size(0x3d9, 120);
     this.topRightMenu1.StoredGraphics = null;
     this.topRightMenu1.TabIndex = 5;
     base.AutoScaleMode = AutoScaleMode.None;
     this.BackColor = ARGBColors.Black;
     base.ClientSize = new Size(0x5e8, 0x43e);
     base.Controls.Add(this.dxBasePanel);
     base.Controls.Add(this.mainRightHandPanel1);
     base.Controls.Add(this.topLeftMenu1);
     base.Controls.Add(this.topRightMenu1);
     base.Icon = Resources.shk_icon;
     this.MaximumSize = new Size(0x5f0, 0x460);
     this.MinimumSize = new Size(0x3e8, 720);
     base.Name = "MainWindow";
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "Stronghold Kingdoms";
     base.Deactivate += new EventHandler(this.MainWindowLarge_Deactivate);
     base.Load += new EventHandler(this.MainWindow_Load);
     base.ResizeBegin += new EventHandler(this.MainWindowLarge_ResizeBegin);
     base.SizeChanged += new EventHandler(this.MainWindowLarge_SizeChanged);
     base.Activated += new EventHandler(this.MainWindowLarge_Activated);
     base.FormClosed += new FormClosedEventHandler(this.MainWindowLarge_FormClosed);
     base.FormClosing += new FormClosingEventHandler(this.MainWindow_FormClosing);
     base.LocationChanged += new EventHandler(this.MainWindow_LocationChanged);
     base.ResizeEnd += new EventHandler(this.MainWindowLarge_ResizeEnd);
     base.ResumeLayout(false);
 }