/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { MetroGraphApp.MetroPath metroPath1 = new MetroGraphApp.MetroPath(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); this.metroGraphView1 = new MetroGraphApp.MetroGraphView(); this.SuspendLayout(); // // metroGraphView1 // this.metroGraphView1.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.metroGraphView1.BackColor = System.Drawing.Color.White; this.metroGraphView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.metroGraphView1.CurPath = metroPath1; this.metroGraphView1.EndNode = null; this.metroGraphView1.Location = new System.Drawing.Point(12, 12); this.metroGraphView1.Name = "metroGraphView1"; this.metroGraphView1.Size = new System.Drawing.Size(706, 395); this.metroGraphView1.StartNode = null; this.metroGraphView1.TabIndex = 0; this.metroGraphView1.ZoomScale = 1F; // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(730, 421); this.Controls.Add(this.metroGraphView1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FrmMain"; this.Text = "上海地铁交通线路图"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { MetroGraphApp.MetroPath metroPath1 = new MetroGraphApp.MetroPath(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.button2 = new System.Windows.Forms.Button(); this.metroGraphView1 = new MetroGraphApp.MetroGraphView(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox1.AutoSize = true; this.groupBox1.Controls.Add(this.textBox3); this.groupBox1.Location = new System.Drawing.Point(11, 310); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(280, 85); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "起始站:"; // // textBox3 // this.textBox3.Font = new System.Drawing.Font("宋体", 15F); this.textBox3.Location = new System.Drawing.Point(25, 25); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(238, 36); this.textBox3.TabIndex = 7; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox2.Controls.Add(this.textBox4); this.groupBox2.Location = new System.Drawing.Point(11, 401); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(280, 69); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "终点站:"; // // textBox4 // this.textBox4.Font = new System.Drawing.Font("宋体", 15F); this.textBox4.Location = new System.Drawing.Point(25, 23); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(238, 36); this.textBox4.TabIndex = 8; // // button1 // this.button1.AutoSize = true; this.button1.Location = new System.Drawing.Point(353, 112); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(157, 34); this.button1.TabIndex = 4; this.button1.Text = "开始"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.groupBox3.Controls.Add(this.textBox6); this.groupBox3.Controls.Add(this.textBox5); this.groupBox3.Controls.Add(this.numericUpDown1); this.groupBox3.Controls.Add(this.label4); this.groupBox3.Controls.Add(this.label3); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.textBox1); this.groupBox3.Controls.Add(this.button1); this.groupBox3.Location = new System.Drawing.Point(327, 314); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(554, 156); this.groupBox3.TabIndex = 5; this.groupBox3.TabStop = false; this.groupBox3.Text = "添加站点"; // // textBox6 // this.textBox6.Font = new System.Drawing.Font("宋体", 15F); this.textBox6.Location = new System.Drawing.Point(46, 69); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(212, 36); this.textBox6.TabIndex = 13; // // textBox5 // this.textBox5.Font = new System.Drawing.Font("宋体", 15F); this.textBox5.Location = new System.Drawing.Point(46, 21); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(212, 36); this.textBox5.TabIndex = 12; // // numericUpDown1 // this.numericUpDown1.Font = new System.Drawing.Font("宋体", 15F); this.numericUpDown1.Location = new System.Drawing.Point(336, 70); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(212, 36); this.numericUpDown1.TabIndex = 11; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(293, 70); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(37, 15); this.label4.TabIndex = 10; this.label4.Text = "线路"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(293, 24); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(37, 15); this.label3.TabIndex = 9; this.label3.Text = "站名"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(3, 73); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(37, 15); this.label2.TabIndex = 8; this.label2.Text = "后站"; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(37, 15); this.label1.TabIndex = 7; this.label1.Text = "前站"; // // textBox1 // this.textBox1.Font = new System.Drawing.Font("宋体", 15F); this.textBox1.Location = new System.Drawing.Point(336, 21); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(212, 36); this.textBox1.TabIndex = 6; // // textBox2 // this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.textBox2.Font = new System.Drawing.Font("宋体", 12F); this.textBox2.Location = new System.Drawing.Point(904, 323); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ReadOnly = true; this.textBox2.Size = new System.Drawing.Size(400, 187); this.textBox2.TabIndex = 6; this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); // // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button2.AutoSize = true; this.button2.Location = new System.Drawing.Point(134, 476); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(157, 34); this.button2.TabIndex = 12; this.button2.Text = "开始"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // metroGraphView1 // this.metroGraphView1.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.metroGraphView1.BackColor = System.Drawing.Color.White; this.metroGraphView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.metroGraphView1.CurPath = metroPath1; this.metroGraphView1.EndNode = null; this.metroGraphView1.Location = new System.Drawing.Point(14, 14); this.metroGraphView1.Margin = new System.Windows.Forms.Padding(5); this.metroGraphView1.Name = "metroGraphView1"; this.metroGraphView1.Size = new System.Drawing.Size(1286, 297); this.metroGraphView1.StartNode = null; this.metroGraphView1.TabIndex = 0; this.metroGraphView1.ZoomScale = 1F; this.metroGraphView1.Load += new System.EventHandler(this.metroGraphView1_Load); // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1314, 521); this.Controls.Add(this.button2); this.Controls.Add(this.textBox2); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.metroGraphView1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.Name = "FrmMain"; this.Text = "上海地铁交通线路图"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.FrmMain_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }