示例#1
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MilitaryAdvisorControl));
     this.lblTotalUnits        = new System.Windows.Forms.Label();
     this.lblTotalUnitsValue   = new System.Windows.Forms.Label();
     this.lblAdvisorText       = new System.Windows.Forms.Label();
     this.lblAllowedUnits      = new System.Windows.Forms.Label();
     this.lblAllowedUnitsValue = new System.Windows.Forms.Label();
     this.lblSupportCost       = new System.Windows.Forms.Label();
     this.lblSupportCostValue  = new System.Windows.Forms.Label();
     this.lblListViewTitle     = new System.Windows.Forms.Label();
     this.lblForeignHeader     = new System.Windows.Forms.Label();
     this.cboForeignCountry    = new System.Windows.Forms.ComboBox();
     this.lblForeignCountry    = new System.Windows.Forms.Label();
     this.tvwLocal             = new System.Windows.Forms.TreeView();
     this.tvwForeign           = new System.Windows.Forms.TreeView();
     this.lnkViewLocal         = new System.Windows.Forms.LinkLabel();
     this.lnkViewForeign       = new System.Windows.Forms.LinkLabel();
     this.miniMap     = new McKnight.Similization.Client.WindowsForms.MiniMap();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // lblTotalUnits
     //
     resources.ApplyResources(this.lblTotalUnits, "lblTotalUnits");
     this.lblTotalUnits.Name = "lblTotalUnits";
     //
     // lblTotalUnitsValue
     //
     resources.ApplyResources(this.lblTotalUnitsValue, "lblTotalUnitsValue");
     this.lblTotalUnitsValue.Name = "lblTotalUnitsValue";
     //
     // lblAdvisorText
     //
     resources.ApplyResources(this.lblAdvisorText, "lblAdvisorText");
     this.lblAdvisorText.Name = "lblAdvisorText";
     //
     // lblAllowedUnits
     //
     resources.ApplyResources(this.lblAllowedUnits, "lblAllowedUnits");
     this.lblAllowedUnits.Name = "lblAllowedUnits";
     //
     // lblAllowedUnitsValue
     //
     resources.ApplyResources(this.lblAllowedUnitsValue, "lblAllowedUnitsValue");
     this.lblAllowedUnitsValue.Name = "lblAllowedUnitsValue";
     //
     // lblSupportCost
     //
     resources.ApplyResources(this.lblSupportCost, "lblSupportCost");
     this.lblSupportCost.Name = "lblSupportCost";
     //
     // lblSupportCostValue
     //
     resources.ApplyResources(this.lblSupportCostValue, "lblSupportCostValue");
     this.lblSupportCostValue.Name = "lblSupportCostValue";
     //
     // lblListViewTitle
     //
     this.lblListViewTitle.BackColor = System.Drawing.SystemColors.ActiveCaption;
     resources.ApplyResources(this.lblListViewTitle, "lblListViewTitle");
     this.lblListViewTitle.ForeColor = System.Drawing.Color.WhiteSmoke;
     this.lblListViewTitle.Name      = "lblListViewTitle";
     //
     // lblForeignHeader
     //
     this.lblForeignHeader.BackColor = System.Drawing.SystemColors.ActiveCaption;
     resources.ApplyResources(this.lblForeignHeader, "lblForeignHeader");
     this.lblForeignHeader.ForeColor = System.Drawing.Color.WhiteSmoke;
     this.lblForeignHeader.Name      = "lblForeignHeader";
     //
     // cboForeignCountry
     //
     this.cboForeignCountry.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this.cboForeignCountry, "cboForeignCountry");
     this.cboForeignCountry.FormattingEnabled = true;
     this.cboForeignCountry.Name = "cboForeignCountry";
     this.cboForeignCountry.SelectedIndexChanged += new System.EventHandler(this.cboForeignCountry_SelectedIndexChanged);
     //
     // lblForeignCountry
     //
     resources.ApplyResources(this.lblForeignCountry, "lblForeignCountry");
     this.lblForeignCountry.Name = "lblForeignCountry";
     //
     // tvwLocal
     //
     resources.ApplyResources(this.tvwLocal, "tvwLocal");
     this.tvwLocal.Name = "tvwLocal";
     //
     // tvwForeign
     //
     resources.ApplyResources(this.tvwForeign, "tvwForeign");
     this.tvwForeign.Name = "tvwForeign";
     //
     // lnkViewLocal
     //
     resources.ApplyResources(this.lnkViewLocal, "lnkViewLocal");
     this.lnkViewLocal.Name         = "lnkViewLocal";
     this.lnkViewLocal.TabStop      = true;
     this.lnkViewLocal.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkViewLocal_LinkClicked);
     //
     // lnkViewForeign
     //
     resources.ApplyResources(this.lnkViewForeign, "lnkViewForeign");
     this.lnkViewForeign.Name         = "lnkViewForeign";
     this.lnkViewForeign.TabStop      = true;
     this.lnkViewForeign.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkViewForeign_LinkClicked);
     //
     // miniMap
     //
     this.miniMap.CenterCell = null;
     resources.ApplyResources(this.miniMap, "miniMap");
     this.miniMap.Name          = "miniMap";
     this.miniMap.VisibleBounds = new System.Drawing.Rectangle(0, 0, 0, 0);
     //
     // pictureBox1
     //
     this.pictureBox1.Image = McKnight.Similization.Client.WindowsForms.Properties.Resources.woman3;
     resources.ApplyResources(this.pictureBox1, "pictureBox1");
     this.pictureBox1.Name    = "pictureBox1";
     this.pictureBox1.TabStop = false;
     //
     // MilitaryAdvisorControl
     //
     this.BackColor = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.lnkViewForeign);
     this.Controls.Add(this.lnkViewLocal);
     this.Controls.Add(this.tvwForeign);
     this.Controls.Add(this.tvwLocal);
     this.Controls.Add(this.lblForeignCountry);
     this.Controls.Add(this.cboForeignCountry);
     this.Controls.Add(this.lblForeignHeader);
     this.Controls.Add(this.lblListViewTitle);
     this.Controls.Add(this.lblSupportCostValue);
     this.Controls.Add(this.lblSupportCost);
     this.Controls.Add(this.lblAllowedUnitsValue);
     this.Controls.Add(this.lblAllowedUnits);
     this.Controls.Add(this.miniMap);
     this.Controls.Add(this.lblAdvisorText);
     this.Controls.Add(this.lblTotalUnitsValue);
     this.Controls.Add(this.lblTotalUnits);
     resources.ApplyResources(this, "$this");
     this.Name = "MilitaryAdvisorControl";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WindowsClientConsole));
     this.imageList                = new System.Windows.Forms.ImageList(this.components);
     this.txtCurrentStatus         = new System.Windows.Forms.TextBox();
     this.btnToggleDetailedConsole = new System.Windows.Forms.Button();
     this.lstStatusHistory         = new System.Windows.Forms.ListBox();
     this.miniMap    = new McKnight.Similization.Client.WindowsForms.MiniMap();
     this.statusView = new McKnight.Similization.Client.WindowsForms.WinClientStatusView();
     this.SuspendLayout();
     //
     // imageList
     //
     this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.Images.SetKeyName(0, "green_next.ico");
     //
     // txtCurrentStatus
     //
     resources.ApplyResources(this.txtCurrentStatus, "txtCurrentStatus");
     this.txtCurrentStatus.BackColor   = System.Drawing.Color.White;
     this.txtCurrentStatus.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.txtCurrentStatus.Name        = "txtCurrentStatus";
     this.txtCurrentStatus.ReadOnly    = true;
     //
     // btnToggleDetailedConsole
     //
     resources.ApplyResources(this.btnToggleDetailedConsole, "btnToggleDetailedConsole");
     this.btnToggleDetailedConsole.FlatAppearance.BorderSize = 0;
     this.btnToggleDetailedConsole.ImageList = this.imageList;
     this.btnToggleDetailedConsole.Name      = "btnToggleDetailedConsole";
     this.btnToggleDetailedConsole.Click    += new System.EventHandler(this.btnToggleDetailedConsole_Click);
     //
     // lstStatusHistory
     //
     resources.ApplyResources(this.lstStatusHistory, "lstStatusHistory");
     this.lstStatusHistory.FormattingEnabled = true;
     this.lstStatusHistory.Name = "lstStatusHistory";
     //
     // miniMap
     //
     this.miniMap.CenterCell = null;
     resources.ApplyResources(this.miniMap, "miniMap");
     this.miniMap.Name          = "miniMap";
     this.miniMap.VisibleBounds = new System.Drawing.Rectangle(0, 0, 0, 0);
     //
     // statusView
     //
     this.statusView.ActiveUnit = null;
     resources.ApplyResources(this.statusView, "statusView");
     this.statusView.Gold       = null;
     this.statusView.Government = null;
     this.statusView.MovesLeft  = null;
     this.statusView.Name       = "statusView";
     this.statusView.Status     = null;
     this.statusView.Technology = null;
     this.statusView.Terrain    = null;
     this.statusView.UnitImage  = null;
     this.statusView.Year       = null;
     //
     // WindowsClientConsole
     //
     this.Controls.Add(this.statusView);
     this.Controls.Add(this.miniMap);
     this.Controls.Add(this.lstStatusHistory);
     this.Controls.Add(this.btnToggleDetailedConsole);
     this.Controls.Add(this.txtCurrentStatus);
     this.ForeColor = System.Drawing.Color.White;
     this.Name      = "WindowsClientConsole";
     resources.ApplyResources(this, "$this");
     this.ResumeLayout(false);
     this.PerformLayout();
 }