-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExamQuestionCRUDForm.Designer.cs
222 lines (220 loc) · 12 KB
/
ExamQuestionCRUDForm.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
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
namespace ExamProj
{
partial class ExamQuestionCRUDForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.questionLbl = new DevExpress.XtraEditors.LabelControl();
this.questionTxt = new DevExpress.XtraEditors.MemoEdit();
this.difficultyLbl = new DevExpress.XtraEditors.LabelControl();
this.difficultyCmb = new DevExpress.XtraEditors.ComboBoxEdit();
this.gridControl = new DevExpress.XtraGrid.GridControl();
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colID = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuestionID = new DevExpress.XtraGrid.Columns.GridColumn();
this.colAnswerName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colIsCorrect = new DevExpress.XtraGrid.Columns.GridColumn();
this.isCorrectCheck = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
this.saveBtn = new DevExpress.XtraEditors.SimpleButton();
this.answerLbl = new DevExpress.XtraEditors.LabelControl();
((System.ComponentModel.ISupportInitialize)this.questionTxt.Properties).BeginInit();
((System.ComponentModel.ISupportInitialize)this.difficultyCmb.Properties).BeginInit();
((System.ComponentModel.ISupportInitialize)this.gridControl).BeginInit();
((System.ComponentModel.ISupportInitialize)this.gridView).BeginInit();
((System.ComponentModel.ISupportInitialize)this.isCorrectCheck).BeginInit();
this.SuspendLayout();
//
// questionLbl
//
this.questionLbl.Appearance.BackColor = System.Drawing.Color.Transparent;
this.questionLbl.Appearance.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.questionLbl.Appearance.Options.UseBackColor = true;
this.questionLbl.Appearance.Options.UseFont = true;
this.questionLbl.Location = new System.Drawing.Point(8, 9);
this.questionLbl.Margin = new System.Windows.Forms.Padding(2);
this.questionLbl.Name = "questionLbl";
this.questionLbl.Size = new System.Drawing.Size(89, 25);
this.questionLbl.TabIndex = 0;
this.questionLbl.Text = "Question:";
//
// questionTxt
//
this.questionTxt.Location = new System.Drawing.Point(103, 8);
this.questionTxt.Margin = new System.Windows.Forms.Padding(2);
this.questionTxt.Name = "questionTxt";
this.questionTxt.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.questionTxt.Properties.Appearance.Options.UseFont = true;
this.questionTxt.Size = new System.Drawing.Size(741, 99);
this.questionTxt.TabIndex = 1;
//
// difficultyLbl
//
this.difficultyLbl.Appearance.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.difficultyLbl.Appearance.Options.UseFont = true;
this.difficultyLbl.Location = new System.Drawing.Point(8, 113);
this.difficultyLbl.Margin = new System.Windows.Forms.Padding(2);
this.difficultyLbl.Name = "difficultyLbl";
this.difficultyLbl.Size = new System.Drawing.Size(89, 25);
this.difficultyLbl.TabIndex = 2;
this.difficultyLbl.Text = "Difficulty:";
//
// difficultyCmb
//
this.difficultyCmb.Location = new System.Drawing.Point(103, 111);
this.difficultyCmb.Margin = new System.Windows.Forms.Padding(2);
this.difficultyCmb.Name = "difficultyCmb";
this.difficultyCmb.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.difficultyCmb.Properties.Appearance.Options.UseFont = true;
this.difficultyCmb.Properties.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.difficultyCmb.Properties.AppearanceDropDown.Options.UseFont = true;
this.difficultyCmb.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
this.difficultyCmb.Properties.DropDownRows = 3;
this.difficultyCmb.Properties.Items.AddRange(new object[] { "Easy", "Normal", "Hard" });
this.difficultyCmb.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
this.difficultyCmb.Size = new System.Drawing.Size(741, 32);
this.difficultyCmb.TabIndex = 3;
//
// answerLbl
//
this.answerLbl.Appearance.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.answerLbl.Appearance.Options.UseFont = true;
this.answerLbl.Location = new System.Drawing.Point(8, 144);
this.answerLbl.Margin = new System.Windows.Forms.Padding(2);
this.answerLbl.Name = "answerLbl";
this.answerLbl.Size = new System.Drawing.Size(85, 25);
this.answerLbl.TabIndex = 4;
this.answerLbl.Text = "Answers:";
//
// gridControl
//
this.gridControl.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2);
this.gridControl.Location = new System.Drawing.Point(103, 146);
this.gridControl.MainView = gridView;
this.gridControl.Margin = new System.Windows.Forms.Padding(2);
this.gridControl.Name = "gridControl";
this.gridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { isCorrectCheck });
this.gridControl.Size = new System.Drawing.Size(741, 130);
this.gridControl.TabIndex = 5;
this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView });
//
// gridView
//
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colQuestionID, colAnswerName, colIsCorrect });
this.gridView.DetailHeight = 239;
this.gridView.GridControl = gridControl;
this.gridView.Name = "gridView";
this.gridView.OptionsCustomization.AllowColumnMoving = false;
this.gridView.OptionsCustomization.AllowGroup = false;
this.gridView.OptionsCustomization.AllowSort = false;
this.gridView.OptionsDetail.EnableMasterViewMode = false;
this.gridView.OptionsView.ShowGroupPanel = false;
//
// colID
//
this.colID.FieldName = "ID";
this.colID.Name = "colID";
this.colID.OptionsColumn.AllowEdit = false;
this.colID.Visible = true;
this.colID.VisibleIndex = 0;
//
// colQuestionID
//
this.colQuestionID.FieldName = "QuestionID";
this.colQuestionID.Name = "colQuestionID";
this.colQuestionID.OptionsColumn.AllowEdit = false;
this.colQuestionID.Visible = true;
this.colQuestionID.VisibleIndex = 1;
//
// colAnswerName
//
this.colAnswerName.FieldName = "AnswerName";
this.colAnswerName.Name = "colAnswerName";
this.colAnswerName.Visible = true;
this.colAnswerName.VisibleIndex = 2;
//
// colIsCorrect
//
this.colIsCorrect.ColumnEdit = isCorrectCheck;
this.colIsCorrect.FieldName = "IsCorrect";
this.colIsCorrect.Name = "colIsCorrect";
this.colIsCorrect.Visible = true;
this.colIsCorrect.VisibleIndex = 3;
//
// isCorrectCheck
//
this.isCorrectCheck.AutoHeight = false;
this.isCorrectCheck.Name = "isCorrectCheck";
//
// saveBtn
//
this.saveBtn.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.saveBtn.Appearance.Options.UseFont = true;
this.saveBtn.Location = new System.Drawing.Point(732, 281);
this.saveBtn.Margin = new System.Windows.Forms.Padding(2);
this.saveBtn.Name = "saveBtn";
this.saveBtn.Size = new System.Drawing.Size(112, 36);
this.saveBtn.TabIndex = 6;
this.saveBtn.Text = "Save";
this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click);
//
// ExamQuestionCRUDForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(852, 324);
this.Controls.Add(questionLbl);
this.Controls.Add(questionTxt);
this.Controls.Add(difficultyLbl);
this.Controls.Add(difficultyCmb);
this.Controls.Add(answerLbl);
this.Controls.Add(gridControl);
this.Controls.Add(saveBtn);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "ExamQuestionCRUDForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Question CRUD";
this.AcceptButton = saveBtn;
((System.ComponentModel.ISupportInitialize)this.isCorrectCheck).EndInit();
((System.ComponentModel.ISupportInitialize)this.gridView).EndInit();
((System.ComponentModel.ISupportInitialize)this.gridControl).EndInit();
((System.ComponentModel.ISupportInitialize)this.difficultyCmb.Properties).EndInit();
((System.ComponentModel.ISupportInitialize)this.questionTxt.Properties).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraGrid.GridControl gridControl;
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
private DevExpress.XtraGrid.Columns.GridColumn colID;
private DevExpress.XtraGrid.Columns.GridColumn colQuestionID;
private DevExpress.XtraGrid.Columns.GridColumn colAnswerName;
private DevExpress.XtraGrid.Columns.GridColumn colIsCorrect;
private DevExpress.XtraEditors.MemoEdit questionTxt;
private DevExpress.XtraEditors.ComboBoxEdit difficultyCmb;
private DevExpress.XtraEditors.SimpleButton saveBtn;
private DevExpress.XtraEditors.LabelControl questionLbl;
private DevExpress.XtraEditors.LabelControl difficultyLbl;
private DevExpress.XtraEditors.LabelControl answerLbl;
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit isCorrectCheck;
}
}