PanelGrade.Designer.cs
14.1 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
namespace SunVoteARSPPT
{
partial class PanelGrade
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.gbxChoise = new System.Windows.Forms.GroupBox();
this.btnOptionText = new System.Windows.Forms.Button();
this.nudOptionCount = new System.Windows.Forms.NumericUpDown();
this.lblChoiseOption = new System.Windows.Forms.Label();
this.gbxScoreType = new System.Windows.Forms.GroupBox();
this.dgvScore = new System.Windows.Forms.DataGridView();
this.colOddNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOddScore = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEvenNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEvenScore = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ucResponsePara = new SunVoteARSPPT.UcResponsePara();
this.ucKeypadPara = new SunVoteARSPPT.UcKeypadPara();
this.gbxChoise.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudOptionCount)).BeginInit();
this.gbxScoreType.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvScore)).BeginInit();
this.SuspendLayout();
//
// gbxChoise
//
this.gbxChoise.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.gbxChoise.BackColor = System.Drawing.Color.White;
this.gbxChoise.Controls.Add(this.btnOptionText);
this.gbxChoise.Controls.Add(this.nudOptionCount);
this.gbxChoise.Controls.Add(this.lblChoiseOption);
this.gbxChoise.Location = new System.Drawing.Point(0, 0);
this.gbxChoise.Name = "gbxChoise";
this.gbxChoise.Size = new System.Drawing.Size(210, 51);
this.gbxChoise.TabIndex = 13;
this.gbxChoise.TabStop = false;
this.gbxChoise.Text = "评议参数设置";
//
// btnOptionText
//
this.btnOptionText.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOptionText.ForeColor = System.Drawing.Color.Blue;
this.btnOptionText.Location = new System.Drawing.Point(6, 17);
this.btnOptionText.Name = "btnOptionText";
this.btnOptionText.Size = new System.Drawing.Size(23, 20);
this.btnOptionText.TabIndex = 37;
this.btnOptionText.Text = "T";
this.btnOptionText.UseVisualStyleBackColor = true;
this.btnOptionText.Visible = false;
this.btnOptionText.Click += new System.EventHandler(this.btnOptionText_Click);
//
// nudOptionCount
//
this.nudOptionCount.Location = new System.Drawing.Point(145, 18);
this.nudOptionCount.Maximum = new decimal(new int[] {
10,
0,
0,
0});
this.nudOptionCount.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.nudOptionCount.Name = "nudOptionCount";
this.nudOptionCount.Size = new System.Drawing.Size(60, 21);
this.nudOptionCount.TabIndex = 0;
this.nudOptionCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.nudOptionCount.Value = new decimal(new int[] {
4,
0,
0,
0});
this.nudOptionCount.ValueChanged += new System.EventHandler(this.nudOptionCount_ValueChanged);
//
// lblChoiseOption
//
this.lblChoiseOption.AutoSize = true;
this.lblChoiseOption.Location = new System.Drawing.Point(3, 21);
this.lblChoiseOption.Name = "lblChoiseOption";
this.lblChoiseOption.Size = new System.Drawing.Size(53, 12);
this.lblChoiseOption.TabIndex = 33;
this.lblChoiseOption.Text = "选项个数";
//
// gbxScoreType
//
this.gbxScoreType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.gbxScoreType.Controls.Add(this.dgvScore);
this.gbxScoreType.Location = new System.Drawing.Point(0, 57);
this.gbxScoreType.Name = "gbxScoreType";
this.gbxScoreType.Size = new System.Drawing.Size(210, 190);
this.gbxScoreType.TabIndex = 14;
this.gbxScoreType.TabStop = false;
this.gbxScoreType.Text = "记分参数设置";
//
// dgvScore
//
this.dgvScore.AllowUserToAddRows = false;
this.dgvScore.AllowUserToDeleteRows = false;
this.dgvScore.AllowUserToResizeColumns = false;
this.dgvScore.AllowUserToResizeRows = false;
this.dgvScore.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvScore.BackgroundColor = System.Drawing.Color.White;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvScore.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dgvScore.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvScore.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colOddNo,
this.colOddScore,
this.colEvenNo,
this.colEvenScore});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvScore.DefaultCellStyle = dataGridViewCellStyle2;
this.dgvScore.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dgvScore.Location = new System.Drawing.Point(4, 22);
this.dgvScore.MultiSelect = false;
this.dgvScore.Name = "dgvScore";
this.dgvScore.RowHeadersVisible = false;
this.dgvScore.RowTemplate.Height = 20;
this.dgvScore.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgvScore.Size = new System.Drawing.Size(203, 155);
this.dgvScore.TabIndex = 13;
this.dgvScore.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvScore_CellClick);
this.dgvScore.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvScore_CellEndEdit);
this.dgvScore.MouseLeave += new System.EventHandler(this.dgvScore_MouseLeave);
//
// colOddNo
//
this.colOddNo.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.colOddNo.HeaderText = "序号";
this.colOddNo.MaxInputLength = 2;
this.colOddNo.Name = "colOddNo";
this.colOddNo.ReadOnly = true;
this.colOddNo.Resizable = System.Windows.Forms.DataGridViewTriState.False;
//
// colOddScore
//
this.colOddScore.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.colOddScore.HeaderText = "分数";
this.colOddScore.MaxInputLength = 5;
this.colOddScore.Name = "colOddScore";
this.colOddScore.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.colOddScore.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// colEvenNo
//
this.colEvenNo.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.colEvenNo.HeaderText = "序号";
this.colEvenNo.MaxInputLength = 2;
this.colEvenNo.Name = "colEvenNo";
this.colEvenNo.ReadOnly = true;
this.colEvenNo.Resizable = System.Windows.Forms.DataGridViewTriState.False;
//
// colEvenScore
//
this.colEvenScore.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.colEvenScore.HeaderText = "分数";
this.colEvenScore.MaxInputLength = 5;
this.colEvenScore.Name = "colEvenScore";
this.colEvenScore.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.colEvenScore.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// ucResponsePara
//
this.ucResponsePara.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucResponsePara.BackColor = System.Drawing.Color.White;
this.ucResponsePara.Location = new System.Drawing.Point(0, 253);
this.ucResponsePara.Name = "ucResponsePara";
this.ucResponsePara.Size = new System.Drawing.Size(210, 147);
this.ucResponsePara.TabIndex = 12;
this.ucResponsePara.TagSet = null;
//
// ucKeypadPara
//
this.ucKeypadPara.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucKeypadPara.BackColor = System.Drawing.Color.White;
this.ucKeypadPara.Location = new System.Drawing.Point(0, 406);
this.ucKeypadPara.Name = "ucKeypadPara";
this.ucKeypadPara.Size = new System.Drawing.Size(210, 109);
this.ucKeypadPara.TabIndex = 11;
this.ucKeypadPara.TagSet = null;
//
// PanelGrade
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.gbxScoreType);
this.Controls.Add(this.gbxChoise);
this.Controls.Add(this.ucResponsePara);
this.Controls.Add(this.ucKeypadPara);
this.Name = "PanelGrade";
this.Size = new System.Drawing.Size(210, 618);
this.Load += new System.EventHandler(this.PanelGrade_Load);
this.gbxChoise.ResumeLayout(false);
this.gbxChoise.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudOptionCount)).EndInit();
this.gbxScoreType.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvScore)).EndInit();
this.ResumeLayout(false);
}
#endregion
private SunVoteARSPPT.UcResponsePara ucResponsePara;
public System.Windows.Forms.GroupBox gbxChoise;
public System.Windows.Forms.NumericUpDown nudOptionCount;
public System.Windows.Forms.Label lblChoiseOption;
private System.Windows.Forms.Button btnOptionText;
public UcKeypadPara ucKeypadPara;
public System.Windows.Forms.DataGridView dgvScore;
private System.Windows.Forms.DataGridViewTextBoxColumn colOddNo;
private System.Windows.Forms.DataGridViewTextBoxColumn colOddScore;
private System.Windows.Forms.DataGridViewTextBoxColumn colEvenNo;
private System.Windows.Forms.DataGridViewTextBoxColumn colEvenScore;
public System.Windows.Forms.GroupBox gbxScoreType;
}
}