private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.preview = new System.Windows.Forms.PictureBox(); this.btnRemove = new System.Windows.Forms.RadioButton(); this.btnPlace = new System.Windows.Forms.RadioButton(); this.group = new System.Windows.Forms.GroupBox(); this.namelabel = new System.Windows.Forms.Label(); this.idxDesign = new freetrain.controls.IndexSelector(); this.idxColor = new freetrain.controls.IndexSelector(); this.label1 = new System.Windows.Forms.Label(); this.typeBox = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cbRndColor = new System.Windows.Forms.CheckBox(); this.cbRndDesign = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.cbRndColor2 = new System.Windows.Forms.CheckBox(); this.idxColor2 = new freetrain.controls.IndexSelector(); this.price = new freetrain.controls.CostBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.group.SuspendLayout(); this.SuspendLayout(); // // preview // this.preview.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right); this.preview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.preview.Location = new System.Drawing.Point(152, 8); this.preview.Name = "preview"; this.preview.Size = new System.Drawing.Size(80, 112); this.preview.TabIndex = 1; this.preview.TabStop = false; this.toolTip1.SetToolTip(this.preview, "Click to create another random pattern"); //! this.toolTip1.SetToolTip(this.preview, "クリックすると別のランダムパターンを生成します"); this.preview.Click += new System.EventHandler(this.onPreviewClick); // // btnRemove // this.btnRemove.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnRemove.Appearance = System.Windows.Forms.Appearance.Button; this.btnRemove.Location = new System.Drawing.Point(188, 164); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(56, 24); this.btnRemove.TabIndex = 8; this.btnRemove.Text = "Remove"; //! this.btnRemove.Text = "撤去"; this.btnRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btnRemove.Click += new System.EventHandler(this.onButtonClicked); // // btnPlace // this.btnPlace.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnPlace.Appearance = System.Windows.Forms.Appearance.Button; this.btnPlace.Checked = true; this.btnPlace.Location = new System.Drawing.Point(140, 164); this.btnPlace.Name = "btnPlace"; this.btnPlace.Size = new System.Drawing.Size(48, 24); this.btnPlace.TabIndex = 7; this.btnPlace.TabStop = true; this.btnPlace.Text = "Place"; //! this.btnPlace.Text = "設置"; this.btnPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btnPlace.Click += new System.EventHandler(this.onButtonClicked); // // group // this.group.Controls.AddRange(new System.Windows.Forms.Control[] { this.namelabel, this.idxDesign, this.idxColor, this.label1, this.typeBox, this.label3, this.cbRndColor, this.cbRndDesign, this.label2, this.cbRndColor2, this.idxColor2 }); this.group.Name = "group"; this.group.Size = new System.Drawing.Size(136, 188); this.group.TabIndex = 1; this.group.TabStop = false; this.group.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right) | (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left))); this.toolTip1.SetToolTip(this.group, "Select a building to the left"); //! this.toolTip1.SetToolTip(this.group, "左側の建物選択"); // // namelabel // this.namelabel.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.namelabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.namelabel.Location = new System.Drawing.Point(8, 76); this.namelabel.Name = "namelabel"; this.namelabel.Size = new System.Drawing.Size(120, 28); this.namelabel.TabIndex = 13; this.namelabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // idxDesign // this.idxDesign.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.idxDesign.count = 10; this.idxDesign.current = 0; this.idxDesign.dataSource = null; this.idxDesign.Location = new System.Drawing.Point(8, 56); this.idxDesign.Name = "idxDesign"; this.idxDesign.Size = new System.Drawing.Size(120, 16); this.idxDesign.TabIndex = 5; this.idxDesign.indexChanged += new System.EventHandler(this.onDesignChanged); // // idxColor // this.idxColor.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.idxColor.count = 10; this.idxColor.current = 0; this.idxColor.dataSource = null; this.idxColor.Location = new System.Drawing.Point(8, 126); this.idxColor.Name = "idxColor"; this.idxColor.Size = new System.Drawing.Size(120, 16); this.idxColor.TabIndex = 11; this.idxColor.indexChanged += new System.EventHandler(this.onColorChanged); // // label1 // this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Location = new System.Drawing.Point(8, 40); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 12; this.label1.Text = "Design:"; //! this.label1.Text = "デザイン:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // typeBox // this.typeBox.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.typeBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.typeBox.Location = new System.Drawing.Point(3, 8); this.typeBox.Name = "typeBox"; this.typeBox.Size = new System.Drawing.Size(130, 20); this.typeBox.Sorted = true; this.typeBox.TabIndex = 1; this.toolTip1.SetToolTip(this.typeBox, "Select a building to the left"); //! this.toolTip1.SetToolTip(this.typeBox, "左側の建物選択"); this.typeBox.SelectedIndexChanged += new System.EventHandler(this.onTypeChanged); // // label3 // this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Location = new System.Drawing.Point(8, 108); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 12; this.label3.Text = "Color:"; //! this.label3.Text = "カラー:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cbRndColor // this.cbRndColor.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.cbRndColor.BackColor = System.Drawing.Color.Transparent; this.cbRndColor.Location = new System.Drawing.Point(68, 108); this.cbRndColor.Name = "cbRndColor"; this.cbRndColor.Size = new System.Drawing.Size(68, 16); this.cbRndColor.TabIndex = 7; this.cbRndColor.Text = "Random"; //! this.cbRndColor.Text = "ランダム"; this.cbRndColor.CheckedChanged += new System.EventHandler(this.onCheckBoxChanged); // // cbRndDesign // this.cbRndDesign.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.cbRndDesign.BackColor = System.Drawing.Color.Transparent; this.cbRndDesign.Location = new System.Drawing.Point(68, 40); this.cbRndDesign.Name = "cbRndDesign"; this.cbRndDesign.Size = new System.Drawing.Size(68, 16); this.cbRndDesign.TabIndex = 3; this.cbRndDesign.Text = "Random"; //! this.cbRndDesign.Text = "ランダム"; this.cbRndDesign.CheckedChanged += new System.EventHandler(this.onCheckBoxChanged); // // label2 // this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Location = new System.Drawing.Point(8, 148); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 16); this.label2.TabIndex = 12; this.label2.Text = "Color 2:"; //! this.label2.Text = "カラー2:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cbRndColor2 // this.cbRndColor2.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.cbRndColor2.BackColor = System.Drawing.Color.Transparent; this.cbRndColor2.Location = new System.Drawing.Point(68, 148); this.cbRndColor2.Name = "cbRndColor2"; this.cbRndColor2.Size = new System.Drawing.Size(68, 16); this.cbRndColor2.TabIndex = 7; this.cbRndColor2.Text = "Random"; //! this.cbRndColor2.Text = "ランダム"; this.cbRndColor2.CheckedChanged += new System.EventHandler(this.onCheckBoxChanged); // // idxColor2 // this.idxColor2.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.idxColor2.count = 10; this.idxColor2.current = 0; this.idxColor2.dataSource = null; this.idxColor2.Location = new System.Drawing.Point(8, 166); this.idxColor2.Name = "idxColor2"; this.idxColor2.Size = new System.Drawing.Size(120, 16); this.idxColor2.TabIndex = 11; this.idxColor2.indexChanged += new System.EventHandler(this.onColor2Changed); // // price // this.price.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.price.cost = 0; this.price.label = "Cost:"; //! this.price.label = "費用:"; this.price.Location = new System.Drawing.Point(152, 130); this.price.Name = "price"; this.price.Size = new System.Drawing.Size(80, 32); this.price.TabIndex = 14; this.toolTip1.SetToolTip(this.price, "Building cost (total)"); //! this.toolTip1.SetToolTip(this.price, "設置費用(左右合計)"); // // ControllerForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.ClientSize = new System.Drawing.Size(248, 194); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.group, this.btnRemove, this.btnPlace, this.preview, this.price }); this.Name = "ControllerForm"; this.Text = "Half-tile Construction"; //! this.Text = "半ボクセル建築"; this.Resize += new EventHandler(this.updateSize); this.group.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.preview = new System.Windows.Forms.PictureBox(); this.costBox = new freetrain.controls.CostBox(); this.buttonRemove = new System.Windows.Forms.RadioButton(); this.buttonPlace = new System.Windows.Forms.RadioButton(); this.SuspendLayout(); // // preview // this.preview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.preview.Location = new System.Drawing.Point(8, 8); this.preview.Name = "preview"; this.preview.Size = new System.Drawing.Size(96, 80); this.preview.TabIndex = 1; this.preview.TabStop = false; // // costBox // this.costBox.cost = 0; this.costBox.label = "Cost:"; //! this.costBox.label = "費用:"; this.costBox.Location = new System.Drawing.Point(8, 88); this.costBox.Name = "costBox"; this.costBox.Size = new System.Drawing.Size(96, 32); this.costBox.TabIndex = 7; // // buttonRemove // this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(56, 120); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(48, 24); this.buttonRemove.TabIndex = 6; this.buttonRemove.Text = "Sell"; //; this.buttonRemove.Text = "売却"; this.buttonRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // buttonPlace // this.buttonPlace.Appearance = System.Windows.Forms.Appearance.Button; this.buttonPlace.Checked = true; this.buttonPlace.Location = new System.Drawing.Point(8, 120); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(48, 24); this.buttonPlace.TabIndex = 5; this.buttonPlace.TabStop = true; this.buttonPlace.Text = "Buy"; //! this.buttonPlace.Text = "購入"; this.buttonPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // LandPropertyController // this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.ClientSize = new System.Drawing.Size(115, 150); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.costBox, this.buttonRemove, this.buttonPlace, this.preview }); this.Name = "LandPropertyController"; this.Text = "Trade Land"; //! this.Text = "土地売買"; this.ResumeLayout(false); }
private void InitializeComponent() { this.typeBox = new System.Windows.Forms.ComboBox(); this.preview = new System.Windows.Forms.PictureBox(); this.costBox = new freetrain.controls.CostBox(); this.buttonRemove = new System.Windows.Forms.RadioButton(); this.buttonPlace = new System.Windows.Forms.RadioButton(); this.SuspendLayout(); // // typeBox // this.typeBox.Anchor = ((System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | (System.Windows.Forms.AnchorStyles.Left | (System.Windows.Forms.AnchorStyles.Right)))); this.typeBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.typeBox.Location = new System.Drawing.Point(8, 8); this.typeBox.Name = "typeBox"; this.typeBox.Size = new System.Drawing.Size(112, 20); this.typeBox.Sorted = true; this.typeBox.TabIndex = 2; this.typeBox.SelectedIndexChanged += new System.EventHandler(this.onTypeChanged); // // preview // this.preview.Anchor = ((System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | (System.Windows.Forms.AnchorStyles.Left | (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)))); this.preview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.preview.Location = new System.Drawing.Point(8, 40); this.preview.Name = "preview"; this.preview.Size = new System.Drawing.Size(112, 80); this.preview.TabIndex = 1; this.preview.TabStop = false; // // costBox // this.costBox.Anchor = ((System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Left | (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.costBox.cost = 0; this.costBox.label = "Cost:"; //! this.costBox.label = "費用:"; this.costBox.Location = new System.Drawing.Point(8, 128); this.costBox.Name = "costBox"; this.costBox.Size = new System.Drawing.Size(112, 32); this.costBox.TabIndex = 10; // // buttonRemove // this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(64, 160); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(56, 24); this.buttonRemove.TabIndex = 9; this.buttonRemove.Text = "Remove"; //! this.buttonRemove.Text = "撤去"; this.buttonRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonRemove.CheckedChanged += new System.EventHandler(this.onTypeChanged); // // buttonPlace // this.buttonPlace.Appearance = System.Windows.Forms.Appearance.Button; this.buttonPlace.Checked = true; this.buttonPlace.Location = new System.Drawing.Point(8, 160); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(56, 24); this.buttonPlace.TabIndex = 8; this.buttonPlace.TabStop = true; this.buttonPlace.Text = "Build"; //! this.buttonPlace.Text = "設置"; this.buttonPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonPlace.CheckedChanged += new System.EventHandler(this.onTypeChanged); // // ControllerForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.ClientSize = new System.Drawing.Size(128, 190); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.costBox, this.buttonRemove, this.buttonPlace, this.typeBox, this.preview }); this.Name = "ControllerForm"; this.Text = "Road Accessories"; this.Resize += new EventHandler(this.updateAfterResize); //! this.Text = "道路アクセサリ"; this.ResumeLayout(false); }
private void InitializeComponent() { this.picture = new System.Windows.Forms.PictureBox(); this.message = new System.Windows.Forms.Label(); this.buttonPlace = new System.Windows.Forms.RadioButton(); this.buttonRemove = new System.Windows.Forms.RadioButton(); this.costBox = new freetrain.controls.CostBox(); ((System.ComponentModel.ISupportInitialize)(this.picture)).BeginInit(); this.SuspendLayout(); // // picture // this.picture.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.picture.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.picture.Location = new System.Drawing.Point(8, 9); this.picture.Name = "picture"; this.picture.Size = new System.Drawing.Size(113, 113); this.picture.TabIndex = 0; this.picture.TabStop = false; // // message // this.message.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.message.Location = new System.Drawing.Point(8, 125); this.message.Name = "message"; this.message.Size = new System.Drawing.Size(113, 26); this.message.TabIndex = 1; this.message.Text = "Click on two points on the map to place tracks"; this.message.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; //! this.message.Text = "マップの2点をクリックして敷設"; // // buttonPlace // this.buttonPlace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonPlace.Appearance = System.Windows.Forms.Appearance.Button; this.buttonPlace.Checked = true; this.buttonPlace.Location = new System.Drawing.Point(8, 185); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(48, 26); this.buttonPlace.TabIndex = 2; this.buttonPlace.TabStop = true; this.buttonPlace.Text = "Place"; //!this.buttonPlace.Text = "敷設"; this.buttonPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonPlace.CheckedChanged += new System.EventHandler(this.modeChanged); // // buttonRemove // this.buttonRemove.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(56, 185); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(65, 26); this.buttonRemove.TabIndex = 3; this.buttonRemove.Text = "Remove"; //! this.buttonRemove.Text = "撤去"; this.buttonRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonRemove.CheckedChanged += new System.EventHandler(this.modeChanged); // // costBox // this.costBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.costBox.cost = 0; this.costBox.label = "Cost:"; this.costBox.Location = new System.Drawing.Point(8, 154); //! this.costBox.label = "費用:"; this.costBox.Name = "costBox"; this.costBox.Size = new System.Drawing.Size(113, 25); this.costBox.TabIndex = 4; // // RailRoadController // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(129, 220); this.Controls.Add(this.costBox); this.Controls.Add(this.buttonRemove); this.Controls.Add(this.buttonPlace); this.Controls.Add(this.message); this.Controls.Add(this.picture); this.Resize += new System.EventHandler(this.updateAfterResize); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "RailRoadController"; this.Text = "Track construction"; //! this.Text = "線路工事"; ((System.ComponentModel.ISupportInitialize)(this.picture)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this.pictureN = new System.Windows.Forms.PictureBox(); this.pictureE = new System.Windows.Forms.PictureBox(); this.pictureS = new System.Windows.Forms.PictureBox(); this.pictureW = new System.Windows.Forms.PictureBox(); this.buttonPlace = new System.Windows.Forms.RadioButton(); this.buttonRemove = new System.Windows.Forms.RadioButton(); this.costBox = new freetrain.controls.CostBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureN)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureE)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureS)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureW)).BeginInit(); this.SuspendLayout(); // // pictureN // this.pictureN.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pictureN.Location = new System.Drawing.Point(8, 9); this.pictureN.Name = "pictureN"; this.pictureN.Size = new System.Drawing.Size(104, 52); this.pictureN.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureN.TabIndex = 0; this.pictureN.TabStop = false; this.pictureN.Click += new System.EventHandler(this.picture_Click); // // pictureE // this.pictureE.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pictureE.Location = new System.Drawing.Point(8, 69); this.pictureE.Name = "pictureE"; this.pictureE.Size = new System.Drawing.Size(104, 52); this.pictureE.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureE.TabIndex = 1; this.pictureE.TabStop = false; this.pictureE.Click += new System.EventHandler(this.picture_Click); // // pictureS // this.pictureS.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pictureS.Location = new System.Drawing.Point(8, 130); this.pictureS.Name = "pictureS"; this.pictureS.Size = new System.Drawing.Size(104, 52); this.pictureS.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureS.TabIndex = 2; this.pictureS.TabStop = false; this.pictureS.Click += new System.EventHandler(this.picture_Click); // // pictureW // this.pictureW.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pictureW.Location = new System.Drawing.Point(8, 191); this.pictureW.Name = "pictureW"; this.pictureW.Size = new System.Drawing.Size(104, 52); this.pictureW.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureW.TabIndex = 3; this.pictureW.TabStop = false; this.pictureW.Click += new System.EventHandler(this.picture_Click); // // buttonPlace // this.buttonPlace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.buttonPlace.Appearance = System.Windows.Forms.Appearance.Button; this.buttonPlace.Checked = true; this.buttonPlace.Location = new System.Drawing.Point(8, 277); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(48, 26); this.buttonPlace.TabIndex = 4; this.buttonPlace.TabStop = true; this.buttonPlace.Text = "Place"; //! this.buttonPlace.Text = "敷設"; this.buttonPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // buttonRemove // this.buttonRemove.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(56, 277); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(56, 26); this.buttonRemove.TabIndex = 5; this.buttonRemove.Text = "Remove"; //! this.buttonRemove.Text = "撤去"; this.buttonRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // costBox // this.costBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.costBox.cost = 0; this.costBox.label = "Cost:"; this.costBox.Location = new System.Drawing.Point(8, 243); //!this.costBox.label = "費用:"; this.costBox.Name = "costBox"; this.costBox.Size = new System.Drawing.Size(104, 34); this.costBox.TabIndex = 6; // // SlopeRailRoadController // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(120, 307); this.Controls.Add(this.costBox); this.Controls.Add(this.buttonRemove); this.Controls.Add(this.buttonPlace); this.Controls.Add(this.pictureW); this.Controls.Add(this.pictureS); this.Controls.Add(this.pictureE); this.Controls.Add(this.pictureN); this.Name = "SlopeRailRoadController"; this.Text = "Slope tracks"; //! this.Text = "勾配線路"; ((System.ComponentModel.ISupportInitialize)(this.pictureN)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureE)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureS)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureW)).EndInit(); this.ResumeLayout(false); }