form1.designer.cs
来自「C#设计模式源码」· CS 代码 · 共 1,272 行 · 第 1/4 页
CS
1,272 行
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(70, 14);
this.label7.TabIndex = 6;
this.label7.Text = "计算结果:";
//
// nubCount
//
this.nubCount.Location = new System.Drawing.Point(118, 49);
this.nubCount.Name = "nubCount";
this.nubCount.Size = new System.Drawing.Size(120, 23);
this.nubCount.TabIndex = 5;
this.nubCount.Value = new decimal(new int[] {
5,
0,
0,
0});
//
// nudPrices
//
this.nudPrices.Location = new System.Drawing.Point(118, 13);
this.nudPrices.Name = "nudPrices";
this.nudPrices.Size = new System.Drawing.Size(120, 23);
this.nudPrices.TabIndex = 4;
this.nudPrices.Value = new decimal(new int[] {
3,
0,
0,
0});
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(57, 52);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(42, 14);
this.label6.TabIndex = 3;
this.label6.Text = "数量:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(57, 17);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(42, 14);
this.label5.TabIndex = 1;
this.label5.Text = "单价:";
//
// button2
//
this.button2.Location = new System.Drawing.Point(117, 203);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(121, 23);
this.button2.TabIndex = 0;
this.button2.Text = "计算";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// tabPage3
//
this.tabPage3.Controls.Add(this.button5);
this.tabPage3.Controls.Add(this.button4);
this.tabPage3.Controls.Add(this.groupBox1);
this.tabPage3.Controls.Add(this.button3);
this.tabPage3.Location = new System.Drawing.Point(4, 23);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(888, 463);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "装饰模式";
this.tabPage3.UseVisualStyleBackColor = true;
//
// button5
//
this.button5.Location = new System.Drawing.Point(240, 250);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(100, 32);
this.button5.TabIndex = 4;
this.button5.Text = "第三种装扮";
this.button5.UseVisualStyleBackColor = true;
//
// button4
//
this.button4.Location = new System.Drawing.Point(125, 250);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(100, 32);
this.button4.TabIndex = 3;
this.button4.Text = "第二种装扮";
this.button4.UseVisualStyleBackColor = true;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.listBox1);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox1.Location = new System.Drawing.Point(3, 3);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(882, 227);
this.groupBox1.TabIndex = 2;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "显示信息";
//
// listBox1
//
this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 14;
this.listBox1.Location = new System.Drawing.Point(3, 19);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(876, 200);
this.listBox1.TabIndex = 2;
//
// button3
//
this.button3.Location = new System.Drawing.Point(8, 250);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(100, 32);
this.button3.TabIndex = 0;
this.button3.Text = "第一种装扮";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// tabPage4
//
this.tabPage4.Controls.Add(this.groupBox2);
this.tabPage4.Controls.Add(this.button6);
this.tabPage4.Location = new System.Drawing.Point(4, 23);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(888, 463);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "代理模式";
this.tabPage4.UseVisualStyleBackColor = true;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.lbShow);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox2.Location = new System.Drawing.Point(3, 3);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(882, 196);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "追MM的方法";
//
// lbShow
//
this.lbShow.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbShow.FormattingEnabled = true;
this.lbShow.ItemHeight = 14;
this.lbShow.Location = new System.Drawing.Point(3, 19);
this.lbShow.Name = "lbShow";
this.lbShow.Size = new System.Drawing.Size(876, 172);
this.lbShow.TabIndex = 1;
//
// button6
//
this.button6.Location = new System.Drawing.Point(19, 217);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 23);
this.button6.TabIndex = 0;
this.button6.Text = "开始";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// tabPage5
//
this.tabPage5.Controls.Add(this.button7);
this.tabPage5.Controls.Add(this.label9);
this.tabPage5.Controls.Add(this.label10);
this.tabPage5.Controls.Add(this.label11);
this.tabPage5.Controls.Add(this.label12);
this.tabPage5.Controls.Add(this.txtResu);
this.tabPage5.Controls.Add(this.cbOperator);
this.tabPage5.Controls.Add(this.NumberB);
this.tabPage5.Controls.Add(this.NumberA);
this.tabPage5.Location = new System.Drawing.Point(4, 23);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
this.tabPage5.Size = new System.Drawing.Size(888, 463);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "工厂模式";
this.tabPage5.UseVisualStyleBackColor = true;
//
// button7
//
this.button7.Location = new System.Drawing.Point(129, 150);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 23);
this.button7.TabIndex = 17;
this.button7.Text = "结果";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(79, 124);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(42, 14);
this.label9.TabIndex = 16;
this.label9.Text = "结果:";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(58, 95);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(63, 14);
this.label10.TabIndex = 15;
this.label10.Text = "操用数B:";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(65, 67);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(56, 14);
this.label11.TabIndex = 14;
this.label11.Text = "运算符:";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(58, 38);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(63, 14);
this.label12.TabIndex = 13;
this.label12.Text = "操作数A:";
//
// txtResu
//
this.txtResu.Location = new System.Drawing.Point(129, 121);
this.txtResu.Name = "txtResu";
this.txtResu.Size = new System.Drawing.Size(100, 23);
this.txtResu.TabIndex = 12;
//
// cbOperator
//
this.cbOperator.FormattingEnabled = true;
this.cbOperator.Items.AddRange(new object[] {
"+",
"-",
"*",
"/"});
this.cbOperator.Location = new System.Drawing.Point(129, 64);
this.cbOperator.Name = "cbOperator";
this.cbOperator.Size = new System.Drawing.Size(100, 22);
this.cbOperator.TabIndex = 11;
//
// NumberB
//
this.NumberB.Location = new System.Drawing.Point(129, 92);
this.NumberB.Name = "NumberB";
this.NumberB.Size = new System.Drawing.Size(100, 23);
this.NumberB.TabIndex = 10;
this.NumberB.Text = "20";
//
// NumberA
//
this.NumberA.Location = new System.Drawing.Point(129, 35);
this.NumberA.Name = "NumberA";
this.NumberA.Size = new System.Drawing.Size(100, 23);
this.NumberA.TabIndex = 9;
this.NumberA.Text = "10";
//
// tabPage6
//
this.tabPage6.Controls.Add(this.groupBox8);
this.tabPage6.Controls.Add(this.groupBox6);
this.tabPage6.Controls.Add(this.groupBox7);
this.tabPage6.Controls.Add(this.groupBox5);
this.tabPage6.Controls.Add(this.button9);
this.tabPage6.Controls.Add(this.button8);
this.tabPage6.Controls.Add(this.groupBox4);
this.tabPage6.Controls.Add(this.groupBox3);
this.tabPage6.Location = new System.Drawing.Point(4, 23);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
this.tabPage6.Size = new System.Drawing.Size(888, 463);
this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "原型模式";
this.tabPage6.UseVisualStyleBackColor = true;
//
// groupBox8
//
this.groupBox8.Controls.Add(this.txtResum);
this.groupBox8.Location = new System.Drawing.Point(9, 257);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(232, 147);
this.groupBox8.TabIndex = 8;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "内容";
//
// txtResum
//
this.txtResum.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtResum.Location = new System.Drawing.Point(3, 19);
this.txtResum.Multiline = true;
this.txtResum.Name = "txtResum";
this.txtResum.Size = new System.Drawing.Size(226, 125);
this.txtResum.TabIndex = 10;
//
// groupBox6
//
this.groupBox6.Controls.Add(this.lbResume3);
this.groupBox6.Location = new System.Drawing.Point(596, 257);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(232, 147);
this.groupBox6.TabIndex = 7;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "内容";
//
// lbResume3
//
this.lbResume3.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbResume3.FormattingEnabled = true;
this.lbResume3.ItemHeight = 14;
this.lbResume3.Location = new System.Drawing.Point(3, 19);
this.lbResume3.Name = "lbResume3";
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?