-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExamQuestionGridForm.Designer.cs
239 lines (237 loc) · 12.8 KB
/
ExamQuestionGridForm.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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
namespace ExamProj
{
partial class ExamQuestionGridForm
{
/// <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.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExamQuestionGridForm));
this.gridControl = new DevExpress.XtraGrid.GridControl();
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colID = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDifficulty = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuestionName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCorrectAnswer = new DevExpress.XtraGrid.Columns.GridColumn();
this.barManager = new DevExpress.XtraBars.BarManager(components);
this.bar = new DevExpress.XtraBars.Bar();
this.newBtn = new DevExpress.XtraBars.BarButtonItem();
this.deleteBtn = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
((System.ComponentModel.ISupportInitialize)this.gridControl).BeginInit();
((System.ComponentModel.ISupportInitialize)this.gridView).BeginInit();
((System.ComponentModel.ISupportInitialize)this.barManager).BeginInit();
this.SuspendLayout();
//
// gridControl
//
this.gridControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridControl.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2);
this.gridControl.Location = new System.Drawing.Point(0, 24);
this.gridControl.MainView = gridView;
this.gridControl.Margin = new System.Windows.Forms.Padding(2);
this.gridControl.Name = "gridControl";
this.gridControl.Size = new System.Drawing.Size(1278, 664);
this.gridControl.TabIndex = 0;
this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView });
this.gridControl.DoubleClick += new System.EventHandler(this.gridControl_DoubleClick);
//
// gridView
//
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colDifficulty, colQuestionName, colCorrectAnswer });
this.gridView.DetailHeight = 239;
this.gridView.GridControl = gridControl;
this.gridView.Name = "gridView";
this.gridView.OptionsBehavior.Editable = false;
this.gridView.OptionsCustomization.AllowColumnResizing = false;
this.gridView.OptionsDetail.EnableMasterViewMode = false;
this.gridView.OptionsMenu.EnableColumnMenu = false;
this.gridView.OptionsSelection.MultiSelect = true;
this.gridView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
//
// colID
//
this.colID.FieldName = "ID";
this.colID.MaxWidth = 50;
this.colID.MinWidth = 50;
this.colID.Name = "colID";
this.colID.Visible = true;
this.colID.VisibleIndex = 1;
this.colID.Width = 50;
//
// colDifficulty
//
this.colDifficulty.FieldName = "Difficulty";
this.colDifficulty.MaxWidth = 50;
this.colDifficulty.MinWidth = 50;
this.colDifficulty.Name = "colDifficulty";
this.colDifficulty.Visible = true;
this.colDifficulty.VisibleIndex = 2;
this.colDifficulty.Width = 50;
//
// colQuestionName
//
this.colQuestionName.FieldName = "QuestionName";
this.colQuestionName.MinWidth = 400;
this.colQuestionName.Name = "colQuestionName";
this.colQuestionName.Visible = true;
this.colQuestionName.VisibleIndex = 3;
this.colQuestionName.Width = 400;
//
// colCorrectAnswer
//
this.colCorrectAnswer.FieldName = "CorrectAnswer";
this.colCorrectAnswer.MaxWidth = 133;
this.colCorrectAnswer.MinWidth = 133;
this.colCorrectAnswer.Name = "colCorrectAnswer";
this.colCorrectAnswer.Visible = true;
this.colCorrectAnswer.VisibleIndex = 4;
this.colCorrectAnswer.Width = 133;
//
// barManager
//
this.barManager.AllowCustomization = false;
this.barManager.AllowMoveBarOnToolbar = false;
this.barManager.AllowQuickCustomization = false;
this.barManager.AllowShowToolbarsPopup = false;
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] { bar });
this.barManager.DockControls.Add(barDockControlTop);
this.barManager.DockControls.Add(barDockControlBottom);
this.barManager.DockControls.Add(barDockControlLeft);
this.barManager.DockControls.Add(barDockControlRight);
this.barManager.DockWindowTabFont = new System.Drawing.Font("Segoe UI", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] { newBtn, deleteBtn });
this.barManager.MainMenu = bar;
this.barManager.MaxItemId = 4;
//
// bar
//
this.bar.BarName = "Main Menu";
this.bar.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top;
this.bar.DockCol = 0;
this.bar.DockRow = 0;
this.bar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, newBtn, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, deleteBtn, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph) });
this.bar.OptionsBar.AllowQuickCustomization = false;
this.bar.OptionsBar.AutoPopupMode = DevExpress.XtraBars.BarAutoPopupMode.None;
this.bar.OptionsBar.DisableCustomization = true;
this.bar.OptionsBar.DrawBorder = false;
this.bar.OptionsBar.DrawDragBorder = false;
this.bar.OptionsBar.MultiLine = true;
this.bar.OptionsBar.UseWholeRow = true;
this.bar.Text = "Main Menu";
//
// newBtn
//
this.newBtn.Caption = "New";
this.newBtn.Id = 0;
this.newBtn.ImageOptions.Image = (System.Drawing.Image)resources.GetObject("newBtn.ImageOptions.Image");
this.newBtn.ImageOptions.LargeImage = (System.Drawing.Image)resources.GetObject("newBtn.ImageOptions.LargeImage");
this.newBtn.Name = "newBtn";
this.newBtn.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.newBtn_ItemClick);
//
// deleteBtn
//
this.deleteBtn.Caption = "Delete";
this.deleteBtn.Id = 1;
this.deleteBtn.ImageOptions.Image = (System.Drawing.Image)resources.GetObject("deleteBtn.ImageOptions.Image");
this.deleteBtn.ImageOptions.LargeImage = (System.Drawing.Image)resources.GetObject("deleteBtn.ImageOptions.LargeImage");
this.deleteBtn.Name = "deleteBtn";
this.deleteBtn.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.deleteBtn_ItemClick);
//
// barDockControlTop
//
this.barDockControlTop.Appearance.Font = new System.Drawing.Font("Tahoma", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.barDockControlTop.Appearance.Options.UseFont = true;
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Manager = barManager;
this.barDockControlTop.Margin = new System.Windows.Forms.Padding(2);
this.barDockControlTop.Size = new System.Drawing.Size(1278, 24);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 688);
this.barDockControlBottom.Manager = barManager;
this.barDockControlBottom.Margin = new System.Windows.Forms.Padding(2);
this.barDockControlBottom.Size = new System.Drawing.Size(1278, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
this.barDockControlLeft.Manager = barManager;
this.barDockControlLeft.Margin = new System.Windows.Forms.Padding(2);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 664);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(1278, 24);
this.barDockControlRight.Manager = barManager;
this.barDockControlRight.Margin = new System.Windows.Forms.Padding(2);
this.barDockControlRight.Size = new System.Drawing.Size(0, 664);
//
// ExamQuestionGridForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1278, 688);
this.Controls.Add(gridControl);
this.Controls.Add(barDockControlLeft);
this.Controls.Add(barDockControlRight);
this.Controls.Add(barDockControlBottom);
this.Controls.Add(barDockControlTop);
this.Name = "ExamQuestionGridForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Question Grid";
((System.ComponentModel.ISupportInitialize)this.gridControl).EndInit();
((System.ComponentModel.ISupportInitialize)this.gridView).EndInit();
((System.ComponentModel.ISupportInitialize)this.barManager).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraGrid.GridControl gridControl;
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraBars.BarButtonItem newBtn;
private DevExpress.XtraBars.BarButtonItem deleteBtn;
private DevExpress.XtraGrid.Columns.GridColumn colID;
private DevExpress.XtraGrid.Columns.GridColumn colQuestionName;
private DevExpress.XtraGrid.Columns.GridColumn colDifficulty;
private DevExpress.XtraGrid.Columns.GridColumn colCorrectAnswer;
}
}