/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TrainPlacementController)); this.buttonRemove = new System.Windows.Forms.RadioButton(); this.buttonPlace = new System.Windows.Forms.RadioButton(); this.tree = new FreeTrain.Util.Controls.DDTreeView(); this.treeMenu = new System.Windows.Forms.ContextMenu(); this.miAddGroup = new System.Windows.Forms.MenuItem(); this.miSell = new System.Windows.Forms.MenuItem(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.panel2 = new System.Windows.Forms.Panel(); this.cmdTrading = new System.Windows.Forms.Button(); this.typeBox = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.controllerCombo = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.nameBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // buttonRemove // this.buttonRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(184, 158); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(89, 26); this.buttonRemove.TabIndex = 5; this.buttonRemove.Text = "Remove"; this.buttonRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonRemove.CheckedChanged += new System.EventHandler(this.onModeChange); // // buttonPlace // this.buttonPlace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonPlace.Appearance = System.Windows.Forms.Appearance.Button; this.buttonPlace.Checked = true; this.buttonPlace.Location = new System.Drawing.Point(107, 158); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(71, 26); this.buttonPlace.TabIndex = 4; this.buttonPlace.TabStop = true; this.buttonPlace.Text = "Place"; this.buttonPlace.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonPlace.CheckedChanged += new System.EventHandler(this.onModeChange); // // tree // this.tree.AllowDrop = true; this.tree.ContextMenu = this.treeMenu; this.tree.FullRowSelect = true; this.tree.ImageIndex = 0; this.tree.ImageList = this.imageList; this.tree.Location = new System.Drawing.Point(0, 0); this.tree.Name = "tree"; this.tree.SelectedImageIndex = 0; this.tree.Size = new System.Drawing.Size(165, 191); this.tree.TabIndex = 1; this.tree.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.onNodeCollapsed); this.tree.DoubleClick += new System.EventHandler(this.onDoubleClick); this.tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.onTrainChange); this.tree.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.onNodeExpanded); // // treeMenu // this.treeMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miAddGroup, this.miSell }); this.treeMenu.Popup += new System.EventHandler(this.treeMenu_Popup); // // miAddGroup // this.miAddGroup.Index = 0; this.miAddGroup.Text = "&Add new group"; // // miSell // this.miSell.Index = 1; this.miSell.Text = "&Sell..."; // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); // // panel2 // this.panel2.Controls.Add(this.cmdTrading); this.panel2.Controls.Add(this.typeBox); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.controllerCombo); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.nameBox); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.buttonPlace); this.panel2.Controls.Add(this.buttonRemove); this.panel2.Location = new System.Drawing.Point(176, 23); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(281, 194); this.panel2.TabIndex = 3; // // cmdTrading // this.cmdTrading.Location = new System.Drawing.Point(9, 161); this.cmdTrading.Name = "cmdTrading"; this.cmdTrading.Size = new System.Drawing.Size(95, 26); this.cmdTrading.TabIndex = 14; this.cmdTrading.Text = "Buy/Sell"; this.cmdTrading.UseVisualStyleBackColor = true; this.cmdTrading.Click += new System.EventHandler(this.cmdTrading_Click); // // typeBox // this.typeBox.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.typeBox.Enabled = false; this.typeBox.Location = new System.Drawing.Point(90, 56); this.typeBox.Name = "typeBox"; this.typeBox.Size = new System.Drawing.Size(181, 58); this.typeBox.TabIndex = 13; // // label3 // this.label3.Location = new System.Drawing.Point(6, 51); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(52, 22); this.label3.TabIndex = 12; this.label3.Text = "&Type:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // controllerCombo // this.controllerCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.controllerCombo.Enabled = false; this.controllerCombo.Location = new System.Drawing.Point(90, 31); this.controllerCombo.Name = "controllerCombo"; this.controllerCombo.Size = new System.Drawing.Size(184, 21); this.controllerCombo.TabIndex = 3; this.controllerCombo.SelectedIndexChanged += new System.EventHandler(this.controllerCombo_SelectedIndexChanged); // // label2 // this.label2.Location = new System.Drawing.Point(3, 30); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(55, 21); this.label2.TabIndex = 10; this.label2.Text = "&Diagram:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // nameBox // this.nameBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.nameBox.Enabled = false; this.nameBox.Location = new System.Drawing.Point(90, 9); this.nameBox.Name = "nameBox"; this.nameBox.Size = new System.Drawing.Size(181, 20); this.nameBox.TabIndex = 2; this.nameBox.TextChanged += new System.EventHandler(this.onNameChanged); // // label1 // this.label1.Location = new System.Drawing.Point(3, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 21); this.label1.TabIndex = 8; this.label1.Text = "&Name:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // panel1 // this.panel1.Controls.Add(this.tree); this.panel1.Location = new System.Drawing.Point(8, 23); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(168, 194); this.panel1.TabIndex = 7; // // TrainPlacementController // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(462, 222); this.Controls.Add(this.panel1); this.Controls.Add(this.panel2); this.MinimumSize = new System.Drawing.Size(416, 195); this.Name = "TrainPlacementController"; this.Text = "Place Train"; this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TrainPlacementController)); this.buttonRemove = new System.Windows.Forms.RadioButton(); this.buttonPlace = new System.Windows.Forms.RadioButton(); this.tree = new freetrain.util.controls.DDTreeView(); this.treeMenu = new System.Windows.Forms.ContextMenu(); this.miAddGroup = new System.Windows.Forms.MenuItem(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.panel2 = new System.Windows.Forms.Panel(); this.typeBox = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.controllerCombo = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.nameBox = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.miSell = new System.Windows.Forms.MenuItem(); this.panel2.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // buttonRemove // this.buttonRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button; this.buttonRemove.Location = new System.Drawing.Point(187, 182); this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.Size = new System.Drawing.Size(89, 26); this.buttonRemove.TabIndex = 5; this.buttonRemove.Text = "Remove"; //! this.buttonRemove.Text = "撤去"; this.buttonRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonRemove.CheckedChanged += new System.EventHandler(this.onModeChange); // // buttonPlace // this.buttonPlace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonPlace.Appearance = System.Windows.Forms.Appearance.Button; this.buttonPlace.Checked = true; this.buttonPlace.Location = new System.Drawing.Point(110, 182); this.buttonPlace.Name = "buttonPlace"; this.buttonPlace.Size = new System.Drawing.Size(71, 26); this.buttonPlace.TabIndex = 4; 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.onModeChange); // // tree // this.tree.AllowDrop = true; this.tree.ContextMenu = this.treeMenu; this.tree.Dock = System.Windows.Forms.DockStyle.Fill; this.tree.FullRowSelect = true; this.tree.ImageIndex = 0; this.tree.ImageList = this.imageList; this.tree.Location = new System.Drawing.Point(0, 0); this.tree.Name = "tree"; this.tree.SelectedImageIndex = 0; this.tree.Size = new System.Drawing.Size(176, 220); this.tree.TabIndex = 1; this.tree.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.onNodeExpanded); this.tree.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.onNodeCollapsed); this.tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.onTrainChange); this.tree.DoubleClick += new System.EventHandler(this.onDoubleClick); // // treeMenu // this.treeMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.miAddGroup, this.miSell }); this.treeMenu.Popup += new System.EventHandler(this.treeMenu_Popup); // // miAddGroup // this.miAddGroup.Index = 0; this.miAddGroup.Text = "&Add new group"; //! this.miAddGroup.Text = "新しいグループの追加(&A)"; // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); // // panel2 // this.panel2.Controls.Add(this.typeBox); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.controllerCombo); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.nameBox); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.buttonPlace); this.panel2.Controls.Add(this.buttonRemove); this.panel2.Dock = System.Windows.Forms.DockStyle.Right; this.panel2.Location = new System.Drawing.Point(176, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(284, 220); this.panel2.TabIndex = 3; // // typeBox // this.typeBox.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.typeBox.Enabled = false; this.typeBox.Location = new System.Drawing.Point(90, 78); this.typeBox.Name = "typeBox"; this.typeBox.Size = new System.Drawing.Size(186, 101); this.typeBox.TabIndex = 13; // // label3 // this.label3.Location = new System.Drawing.Point(6, 73); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(78, 22); this.label3.TabIndex = 12; this.label3.Text = "&Type:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; //! this.label3.Text = "種類(&T):"; // // controllerCombo // this.controllerCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.controllerCombo.Enabled = false; this.controllerCombo.Location = new System.Drawing.Point(90, 43); this.controllerCombo.Name = "controllerCombo"; this.controllerCombo.Size = new System.Drawing.Size(166, 21); this.controllerCombo.TabIndex = 3; this.controllerCombo.SelectedIndexChanged += new System.EventHandler(this.controllerCombo_SelectedIndexChanged); // // label2 // this.label2.Location = new System.Drawing.Point(3, 43); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(81, 21); this.label2.TabIndex = 10; this.label2.Text = "&Diagram:"; //! this.label2.Text = "ダイヤ(&T):"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // nameBox // this.nameBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.nameBox.Enabled = false; this.nameBox.Location = new System.Drawing.Point(90, 9); this.nameBox.Name = "nameBox"; this.nameBox.Size = new System.Drawing.Size(186, 20); this.nameBox.TabIndex = 2; this.nameBox.TextChanged += new System.EventHandler(this.onNameChanged); // // label1 // this.label1.Location = new System.Drawing.Point(3, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(81, 21); this.label1.TabIndex = 8; this.label1.Text = "&Name:"; //! this.label1.Text = "名前(&N):"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // panel1 // this.panel1.Controls.Add(this.tree); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(176, 220); this.panel1.TabIndex = 7; // // miSell // this.miSell.Index = 1; this.miSell.Text = "&Sell..."; //! this.miSell.Text = "売却(&S)..."; // // TrainPlacementController // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(460, 220); this.Controls.Add(this.panel1); this.Controls.Add(this.panel2); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.MinimumSize = new System.Drawing.Size(416, 195); this.Name = "TrainPlacementController"; this.Text = "Place Train"; //! this.Text = "車両の配置"; this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }