private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RailRoadController)); 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(); this.SuspendLayout(); // // message // resources.ApplyResources(this.message, "message"); this.message.Name = "message"; // // buttonPlace // resources.ApplyResources(this.buttonPlace, "buttonPlace"); this.buttonPlace.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(236))))); this.buttonPlace.Checked = true; this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.TabStop = true; this.buttonPlace.UseVisualStyleBackColor = false; this.buttonPlace.CheckedChanged += new System.EventHandler(this.ModeChanged); // // buttonRemove // resources.ApplyResources(this.buttonRemove, "buttonRemove"); this.buttonRemove.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(252)))), ((int)(((byte)(236))))); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseVisualStyleBackColor = false; this.buttonRemove.CheckedChanged += new System.EventHandler(this.ModeChanged); // // costBox // resources.ApplyResources(this.costBox, "costBox"); this.costBox.cost = 0; this.costBox.label = "Cost:"; this.costBox.Name = "costBox"; // // RailRoadController // resources.ApplyResources(this, "$this"); this.Controls.Add(this.buttonRemove); this.Controls.Add(this.buttonPlace); this.Controls.Add(this.costBox); this.Controls.Add(this.message); this.Name = "RailRoadController"; 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(); ((System.ComponentModel.ISupportInitialize)(this.preview)).BeginInit(); this.SuspendLayout(); // // preview // this.preview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.preview.Location = new System.Drawing.Point(8, 9); this.preview.Name = "preview"; this.preview.Size = new System.Drawing.Size(96, 86); this.preview.TabIndex = 1; this.preview.TabStop = false; // // costBox // this.costBox.cost = 0; this.costBox.label = "Cost:"; this.costBox.Location = new System.Drawing.Point(8, 95); this.costBox.Name = "costBox"; this.costBox.Size = new System.Drawing.Size(96, 35); this.costBox.TabIndex = 7; // // buttonRemove // this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(56, 130); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(48, 26); this.buttonRemove.TabIndex = 6; this.buttonRemove.Text = "Sell"; 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, 130); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(48, 26); this.buttonPlace.TabIndex = 5; this.buttonPlace.TabStop = true; this.buttonPlace.Text = "Buy"; this.buttonPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // LandPropertyController // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(171, 214); this.Controls.Add(this.costBox); this.Controls.Add(this.buttonRemove); this.Controls.Add(this.buttonPlace); this.Controls.Add(this.preview); this.Name = "LandPropertyController"; this.Text = "Trade Land"; ((System.ComponentModel.ISupportInitialize)(this.preview)).EndInit(); 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.indexSelector = new FreeTrain.Controls.IndexSelector(); ((System.ComponentModel.ISupportInitialize)(this.preview)).BeginInit(); 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, 9); this.typeBox.Name = "typeBox"; this.typeBox.Size = new System.Drawing.Size(197, 21); 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.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.preview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.preview.Location = new System.Drawing.Point(8, 43); this.preview.Name = "preview"; this.preview.Size = new System.Drawing.Size(197, 84); this.preview.TabIndex = 1; this.preview.TabStop = false; // // 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, 136); this.costBox.Name = "costBox"; this.costBox.Size = new System.Drawing.Size(197, 34); this.costBox.TabIndex = 10; // // buttonRemove // this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(64, 173); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(56, 26); this.buttonRemove.TabIndex = 9; this.buttonRemove.Text = "Remove"; 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, 173); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(56, 26); this.buttonPlace.TabIndex = 8; this.buttonPlace.TabStop = true; this.buttonPlace.Text = "Build"; this.buttonPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonPlace.CheckedChanged += new System.EventHandler(this.OnTypeChanged); // // indexSelector // this.indexSelector.count = 10; this.indexSelector.current = 0; this.indexSelector.dataSource = null; this.indexSelector.Location = new System.Drawing.Point(0, 0); this.indexSelector.Name = "indexSelector"; this.indexSelector.Size = new System.Drawing.Size(112, 24); this.indexSelector.TabIndex = 0; // // ControllerForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(213, 203); this.Controls.Add(this.costBox); this.Controls.Add(this.buttonRemove); this.Controls.Add(this.buttonPlace); this.Controls.Add(this.typeBox); this.Controls.Add(this.preview); this.Name = "ControllerForm"; this.Text = "Road Accessories"; this.Resize += new System.EventHandler(this.UpdateAfterResize); ((System.ComponentModel.ISupportInitialize)(this.preview)).EndInit(); this.ResumeLayout(false); }
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.indexSelector = new FreeTrain.Controls.IndexSelector(); ((System.ComponentModel.ISupportInitialize)(this.preview)).BeginInit(); this.group.SuspendLayout(); this.SuspendLayout(); // // preview // this.preview.Anchor = ((System.Windows.Forms.AnchorStyles)(((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(193, 9); this.preview.Name = "preview"; this.preview.Size = new System.Drawing.Size(80, 142); this.preview.TabIndex = 1; this.preview.TabStop = false; this.toolTip1.SetToolTip(this.preview, "Click to create another random pattern"); this.preview.Click += new System.EventHandler(this.onPreviewClick); // // btnRemove // this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((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(229, 199); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(56, 26); this.btnRemove.TabIndex = 8; this.btnRemove.Text = "Remove"; this.btnRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btnRemove.Click += new System.EventHandler(this.onButtonClicked); // // btnPlace // this.btnPlace.Anchor = ((System.Windows.Forms.AnchorStyles)((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(181, 199); this.btnPlace.Name = "btnPlace"; this.btnPlace.Size = new System.Drawing.Size(48, 26); this.btnPlace.TabIndex = 7; this.btnPlace.TabStop = true; this.btnPlace.Text = "Place"; this.btnPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.btnPlace.Click += new System.EventHandler(this.onButtonClicked); // // group // this.group.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.group.Controls.Add(this.namelabel); this.group.Controls.Add(this.idxDesign); this.group.Controls.Add(this.idxColor); this.group.Controls.Add(this.label1); this.group.Controls.Add(this.typeBox); this.group.Controls.Add(this.label3); this.group.Controls.Add(this.cbRndColor); this.group.Controls.Add(this.cbRndDesign); this.group.Controls.Add(this.label2); this.group.Controls.Add(this.cbRndColor2); this.group.Controls.Add(this.idxColor2); this.group.Location = new System.Drawing.Point(0, 0); this.group.Name = "group"; this.group.Size = new System.Drawing.Size(177, 225); this.group.TabIndex = 1; this.group.TabStop = false; this.toolTip1.SetToolTip(this.group, "Select a building to the left"); // // namelabel // this.namelabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((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, 82); this.namelabel.Name = "namelabel"; this.namelabel.Size = new System.Drawing.Size(161, 31); this.namelabel.TabIndex = 13; this.namelabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // idxDesign // this.idxDesign.Anchor = ((System.Windows.Forms.AnchorStyles)(((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, 61); this.idxDesign.Name = "idxDesign"; this.idxDesign.Size = new System.Drawing.Size(161, 17); this.idxDesign.TabIndex = 5; this.idxDesign.indexChanged += new System.EventHandler(this.onDesignChanged); // // idxColor // this.idxColor.Anchor = ((System.Windows.Forms.AnchorStyles)(((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, 137); this.idxColor.Name = "idxColor"; this.idxColor.Size = new System.Drawing.Size(161, 17); 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, 43); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 18); this.label1.TabIndex = 12; this.label1.Text = "Design:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // 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(3, 9); this.typeBox.Name = "typeBox"; this.typeBox.Size = new System.Drawing.Size(171, 21); this.typeBox.Sorted = true; this.typeBox.TabIndex = 1; this.toolTip1.SetToolTip(this.typeBox, "Select a building to the left"); this.typeBox.SelectedIndexChanged += new System.EventHandler(this.onTypeChanged); // // label3 // this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Location = new System.Drawing.Point(8, 117); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 17); this.label3.TabIndex = 12; this.label3.Text = "Color:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cbRndColor // this.cbRndColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbRndColor.BackColor = System.Drawing.Color.Transparent; this.cbRndColor.Location = new System.Drawing.Point(109, 117); this.cbRndColor.Name = "cbRndColor"; this.cbRndColor.Size = new System.Drawing.Size(68, 17); this.cbRndColor.TabIndex = 7; this.cbRndColor.Text = "Random"; this.cbRndColor.UseVisualStyleBackColor = false; this.cbRndColor.CheckedChanged += new System.EventHandler(this.onCheckBoxChanged); // // cbRndDesign // this.cbRndDesign.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbRndDesign.BackColor = System.Drawing.Color.Transparent; this.cbRndDesign.Location = new System.Drawing.Point(109, 43); this.cbRndDesign.Name = "cbRndDesign"; this.cbRndDesign.Size = new System.Drawing.Size(68, 18); this.cbRndDesign.TabIndex = 3; this.cbRndDesign.Text = "Random"; this.cbRndDesign.UseVisualStyleBackColor = false; this.cbRndDesign.CheckedChanged += new System.EventHandler(this.onCheckBoxChanged); // // label2 // this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Location = new System.Drawing.Point(8, 160); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 18); this.label2.TabIndex = 12; this.label2.Text = "Color 2:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cbRndColor2 // this.cbRndColor2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbRndColor2.BackColor = System.Drawing.Color.Transparent; this.cbRndColor2.Location = new System.Drawing.Point(109, 160); this.cbRndColor2.Name = "cbRndColor2"; this.cbRndColor2.Size = new System.Drawing.Size(68, 18); this.cbRndColor2.TabIndex = 7; this.cbRndColor2.Text = "Random"; this.cbRndColor2.UseVisualStyleBackColor = false; this.cbRndColor2.CheckedChanged += new System.EventHandler(this.onCheckBoxChanged); // // idxColor2 // this.idxColor2.Anchor = ((System.Windows.Forms.AnchorStyles)(((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, 180); this.idxColor2.Name = "idxColor2"; this.idxColor2.Size = new System.Drawing.Size(161, 17); this.idxColor2.TabIndex = 11; this.idxColor2.indexChanged += new System.EventHandler(this.onColor2Changed); // // price // this.price.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.price.cost = 0; this.price.label = "Cost:"; this.price.Location = new System.Drawing.Point(193, 162); this.price.Name = "price"; this.price.Size = new System.Drawing.Size(80, 35); this.price.TabIndex = 14; this.toolTip1.SetToolTip(this.price, "Building cost (total)"); // // indexSelector // this.indexSelector.count = 10; this.indexSelector.current = 0; this.indexSelector.dataSource = null; this.indexSelector.Location = new System.Drawing.Point(0, 0); this.indexSelector.Name = "indexSelector"; this.indexSelector.Size = new System.Drawing.Size(112, 24); this.indexSelector.TabIndex = 0; // // ControllerForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(289, 231); this.Controls.Add(this.group); this.Controls.Add(this.btnRemove); this.Controls.Add(this.btnPlace); this.Controls.Add(this.preview); this.Controls.Add(this.price); this.Name = "ControllerForm"; this.Text = "Half-tile Construction"; this.Resize += new System.EventHandler(this.UpdateSize); ((System.ComponentModel.ISupportInitialize)(this.preview)).EndInit(); this.group.ResumeLayout(false); 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.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.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.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.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Name = "SlopeRailRoadController"; this.Text = "Slope Tracks"; ((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); }