-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathForm1.Designer.cs
119 lines (112 loc) · 4.5 KB
/
Form1.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
namespace pdachess
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該處置 Managed 資源則為 true,否則為 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 設計工具產生的程式碼
/// <summary>
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。
///
/// </summary>
private void InitializeComponent()
{
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.menuItem3 = new System.Windows.Forms.MenuItem();
this.menuItem4 = new System.Windows.Forms.MenuItem();
this.menuItem2 = new System.Windows.Forms.MenuItem();
this.gamebox = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// mainMenu1
//
this.mainMenu1.MenuItems.Add(this.menuItem1);
//
// menuItem1
//
this.menuItem1.MenuItems.Add(this.menuItem3);
this.menuItem1.MenuItems.Add(this.menuItem4);
this.menuItem1.MenuItems.Add(this.menuItem2);
this.menuItem1.Text = "Menu";
//
// menuItem3
//
this.menuItem3.Text = "和局";
this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
//
// menuItem4
//
this.menuItem4.Text = "棄權";
this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
//
// menuItem2
//
this.menuItem2.Text = "離開";
this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
//
// gamebox
//
this.gamebox.Location = new System.Drawing.Point(0, 0);
this.gamebox.Name = "gamebox";
this.gamebox.Size = new System.Drawing.Size(240, 240);
this.gamebox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.gamebox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gamebox_MouseDown);
//
// label1
//
this.label1.BackColor = System.Drawing.SystemColors.Menu;
this.label1.Location = new System.Drawing.Point(82, 243);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(76, 15);
this.label1.Text = "White\'s turn";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label2
//
this.label2.Location = new System.Drawing.Point(19, 247);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(66, 21);
this.label2.Text = "label2";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.gamebox);
this.Menu = this.mainMenu1;
this.Name = "Form1";
this.Text = "PDA Chess";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.PictureBox gamebox;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem4;
private System.Windows.Forms.Label label2;
}
}