397 lines
20 KiB
C#
397 lines
20 KiB
C#
namespace Omega.Forms
|
|
{
|
|
partial class frmQuestionBank
|
|
{
|
|
/// <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(frmQuestionBank));
|
|
this.grdResult = new DevExpress.XtraGrid.GridControl();
|
|
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.Delete = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.View = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tblQuestionEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.persistentRepository = new DevExpress.XtraEditors.Repository.PersistentRepository(this.components);
|
|
this.repoSubject = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
this.tblSubjectEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colQuestionId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colCreateDate = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colSubjectId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colFieldId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colDifficulty = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colLevel = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colContent = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.Exclusive = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colQuestionCode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.repositoryItemPopupContainerEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
|
|
this.imageList = new System.Windows.Forms.ImageList(this.components);
|
|
this.barManager = new DevExpress.XtraBars.BarManager(this.components);
|
|
this.bar2 = new DevExpress.XtraBars.Bar();
|
|
this.barSave = new DevExpress.XtraBars.BarButtonItem();
|
|
this.barView = new DevExpress.XtraBars.BarButtonItem();
|
|
this.barDelete = 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.grdResult)).BeginInit();
|
|
this.contextMenuStrip.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.tblQuestionEntityBindingSource)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// grdResult
|
|
//
|
|
this.grdResult.ContextMenuStrip = this.contextMenuStrip;
|
|
this.grdResult.DataSource = this.tblQuestionEntityBindingSource;
|
|
this.grdResult.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.grdResult.ExternalRepository = this.persistentRepository;
|
|
this.grdResult.Location = new System.Drawing.Point(0, 24);
|
|
this.grdResult.MainView = this.gridView;
|
|
this.grdResult.Name = "grdResult";
|
|
this.grdResult.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
this.repositoryItemPopupContainerEdit});
|
|
this.grdResult.Size = new System.Drawing.Size(826, 382);
|
|
this.grdResult.TabIndex = 1;
|
|
this.grdResult.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.gridView});
|
|
//
|
|
// contextMenuStrip
|
|
//
|
|
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.Delete,
|
|
this.View});
|
|
this.contextMenuStrip.Name = "contextMenuStrip";
|
|
this.contextMenuStrip.Size = new System.Drawing.Size(99, 48);
|
|
//
|
|
// Delete
|
|
//
|
|
this.Delete.Name = "Delete";
|
|
this.Delete.Size = new System.Drawing.Size(98, 22);
|
|
this.Delete.Text = "Xóa";
|
|
//
|
|
// View
|
|
//
|
|
this.View.Name = "View";
|
|
this.View.Size = new System.Drawing.Size(98, 22);
|
|
this.View.Text = "Xem";
|
|
this.View.Click += new System.EventHandler(this.View_Click);
|
|
//
|
|
// tblQuestionEntityBindingSource
|
|
//
|
|
this.tblQuestionEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuestionEntity);
|
|
//
|
|
// persistentRepository
|
|
//
|
|
this.persistentRepository.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
this.repoSubject});
|
|
//
|
|
// repoSubject
|
|
//
|
|
this.repoSubject.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repoSubject.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
|
|
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectId", "Subject Id", 59, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
|
|
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectName", "Tên môn học", 76, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
|
|
this.repoSubject.DataSource = this.tblSubjectEntityBindingSource;
|
|
this.repoSubject.DisplayMember = "SubjectName";
|
|
this.repoSubject.Name = "repoSubject";
|
|
this.repoSubject.ValueMember = "SubjectId";
|
|
//
|
|
// tblSubjectEntityBindingSource
|
|
//
|
|
this.tblSubjectEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblSubjectEntity);
|
|
//
|
|
// gridView
|
|
//
|
|
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colQuestionId,
|
|
this.colCreateDate,
|
|
this.colSubjectId,
|
|
this.colFieldId,
|
|
this.colDifficulty,
|
|
this.colLevel,
|
|
this.colContent,
|
|
this.Exclusive,
|
|
this.colQuestionCode});
|
|
this.gridView.GridControl = this.grdResult;
|
|
this.gridView.Name = "gridView";
|
|
this.gridView.OptionsDetail.EnableMasterViewMode = false;
|
|
this.gridView.OptionsSelection.MultiSelect = true;
|
|
this.gridView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
this.gridView.OptionsView.ColumnAutoWidth = false;
|
|
this.gridView.OptionsView.ShowGroupPanel = false;
|
|
//
|
|
// colQuestionId
|
|
//
|
|
this.colQuestionId.Caption = "Mã câu hỏi";
|
|
this.colQuestionId.FieldName = "QuestionId";
|
|
this.colQuestionId.Name = "colQuestionId";
|
|
this.colQuestionId.OptionsColumn.AllowEdit = false;
|
|
this.colQuestionId.Width = 160;
|
|
//
|
|
// colCreateDate
|
|
//
|
|
this.colCreateDate.Caption = "Ngày tạo";
|
|
this.colCreateDate.FieldName = "CreateDate";
|
|
this.colCreateDate.Name = "colCreateDate";
|
|
this.colCreateDate.OptionsColumn.AllowEdit = false;
|
|
this.colCreateDate.Visible = true;
|
|
this.colCreateDate.VisibleIndex = 2;
|
|
this.colCreateDate.Width = 96;
|
|
//
|
|
// colSubjectId
|
|
//
|
|
this.colSubjectId.Caption = "Môn học";
|
|
this.colSubjectId.ColumnEdit = this.repoSubject;
|
|
this.colSubjectId.FieldName = "SubjectId";
|
|
this.colSubjectId.Name = "colSubjectId";
|
|
this.colSubjectId.OptionsColumn.AllowEdit = false;
|
|
this.colSubjectId.Visible = true;
|
|
this.colSubjectId.VisibleIndex = 3;
|
|
this.colSubjectId.Width = 121;
|
|
//
|
|
// colFieldId
|
|
//
|
|
this.colFieldId.Caption = "Lĩnh vực kiến thức";
|
|
this.colFieldId.FieldName = "FieldId";
|
|
this.colFieldId.Name = "colFieldId";
|
|
this.colFieldId.OptionsColumn.AllowEdit = false;
|
|
this.colFieldId.Visible = true;
|
|
this.colFieldId.VisibleIndex = 5;
|
|
this.colFieldId.Width = 120;
|
|
//
|
|
// colDifficulty
|
|
//
|
|
this.colDifficulty.Caption = "Mức độ khó";
|
|
this.colDifficulty.CustomizationCaption = "Loại hình đào tạo";
|
|
this.colDifficulty.FieldName = "Difficulty";
|
|
this.colDifficulty.Name = "colDifficulty";
|
|
this.colDifficulty.OptionsColumn.AllowEdit = false;
|
|
this.colDifficulty.Visible = true;
|
|
this.colDifficulty.VisibleIndex = 6;
|
|
this.colDifficulty.Width = 76;
|
|
//
|
|
// colLevel
|
|
//
|
|
this.colLevel.Caption = "Mức độ kiến thức";
|
|
this.colLevel.FieldName = "Level";
|
|
this.colLevel.Name = "colLevel";
|
|
this.colLevel.OptionsColumn.AllowEdit = false;
|
|
this.colLevel.Visible = true;
|
|
this.colLevel.VisibleIndex = 4;
|
|
this.colLevel.Width = 128;
|
|
//
|
|
// colContent
|
|
//
|
|
this.colContent.Caption = "Nội dung câu hỏi";
|
|
this.colContent.FieldName = "Summary";
|
|
this.colContent.Name = "colContent";
|
|
this.colContent.OptionsColumn.AllowEdit = false;
|
|
this.colContent.UnboundType = DevExpress.Data.UnboundColumnType.String;
|
|
this.colContent.Visible = true;
|
|
this.colContent.VisibleIndex = 7;
|
|
this.colContent.Width = 238;
|
|
//
|
|
// Exclusive
|
|
//
|
|
this.Exclusive.Caption = "Loại trừ";
|
|
this.Exclusive.FieldName = "Exclusive";
|
|
this.Exclusive.Name = "Exclusive";
|
|
this.Exclusive.Visible = true;
|
|
this.Exclusive.VisibleIndex = 8;
|
|
//
|
|
// colQuestionCode
|
|
//
|
|
this.colQuestionCode.Caption = "Mã câu hỏi";
|
|
this.colQuestionCode.FieldName = "QuestionCode";
|
|
this.colQuestionCode.Name = "colQuestionCode";
|
|
this.colQuestionCode.OptionsColumn.AllowEdit = false;
|
|
this.colQuestionCode.Visible = true;
|
|
this.colQuestionCode.VisibleIndex = 1;
|
|
//
|
|
// repositoryItemPopupContainerEdit
|
|
//
|
|
this.repositoryItemPopupContainerEdit.AutoHeight = false;
|
|
this.repositoryItemPopupContainerEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repositoryItemPopupContainerEdit.Name = "repositoryItemPopupContainerEdit";
|
|
this.repositoryItemPopupContainerEdit.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemPopupContainerEdit_ButtonClick);
|
|
//
|
|
// imageList
|
|
//
|
|
this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
|
|
this.imageList.ImageSize = new System.Drawing.Size(16, 16);
|
|
this.imageList.TransparentColor = System.Drawing.Color.Transparent;
|
|
//
|
|
// barManager
|
|
//
|
|
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
|
|
this.bar2});
|
|
this.barManager.DockControls.Add(this.barDockControlTop);
|
|
this.barManager.DockControls.Add(this.barDockControlBottom);
|
|
this.barManager.DockControls.Add(this.barDockControlLeft);
|
|
this.barManager.DockControls.Add(this.barDockControlRight);
|
|
this.barManager.Form = this;
|
|
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
this.barSave,
|
|
this.barDelete,
|
|
this.barView});
|
|
this.barManager.MainMenu = this.bar2;
|
|
this.barManager.MaxItemId = 3;
|
|
//
|
|
// bar2
|
|
//
|
|
this.bar2.BarName = "Main menu";
|
|
this.bar2.DockCol = 0;
|
|
this.bar2.DockRow = 0;
|
|
this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
|
this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
|
|
new DevExpress.XtraBars.LinkPersistInfo(this.barSave),
|
|
new DevExpress.XtraBars.LinkPersistInfo(this.barView),
|
|
new DevExpress.XtraBars.LinkPersistInfo(this.barDelete)});
|
|
this.bar2.OptionsBar.MultiLine = true;
|
|
this.bar2.OptionsBar.UseWholeRow = true;
|
|
this.bar2.Text = "Main menu";
|
|
//
|
|
// barSave
|
|
//
|
|
this.barSave.Caption = "Save";
|
|
this.barSave.Glyph = ((System.Drawing.Image)(resources.GetObject("barSave.Glyph")));
|
|
this.barSave.Id = 0;
|
|
this.barSave.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barSave.LargeGlyph")));
|
|
this.barSave.Name = "barSave";
|
|
this.barSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barSave_ItemClick);
|
|
//
|
|
// barView
|
|
//
|
|
this.barView.Caption = "View";
|
|
this.barView.Glyph = ((System.Drawing.Image)(resources.GetObject("barView.Glyph")));
|
|
this.barView.Id = 2;
|
|
this.barView.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barView.LargeGlyph")));
|
|
this.barView.Name = "barView";
|
|
this.barView.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barView_ItemClick);
|
|
//
|
|
// barDelete
|
|
//
|
|
this.barDelete.Caption = "Delete";
|
|
this.barDelete.Glyph = ((System.Drawing.Image)(resources.GetObject("barDelete.Glyph")));
|
|
this.barDelete.Id = 1;
|
|
this.barDelete.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barDelete.LargeGlyph")));
|
|
this.barDelete.Name = "barDelete";
|
|
this.barDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barDelete_ItemClick);
|
|
//
|
|
// barDockControlTop
|
|
//
|
|
this.barDockControlTop.CausesValidation = false;
|
|
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
|
|
this.barDockControlTop.Size = new System.Drawing.Size(826, 24);
|
|
//
|
|
// barDockControlBottom
|
|
//
|
|
this.barDockControlBottom.CausesValidation = false;
|
|
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.barDockControlBottom.Location = new System.Drawing.Point(0, 406);
|
|
this.barDockControlBottom.Size = new System.Drawing.Size(826, 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.Size = new System.Drawing.Size(0, 382);
|
|
//
|
|
// barDockControlRight
|
|
//
|
|
this.barDockControlRight.CausesValidation = false;
|
|
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.barDockControlRight.Location = new System.Drawing.Point(826, 24);
|
|
this.barDockControlRight.Size = new System.Drawing.Size(0, 382);
|
|
//
|
|
// frmQuestionBank
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.ClientSize = new System.Drawing.Size(826, 406);
|
|
this.Controls.Add(this.grdResult);
|
|
this.Controls.Add(this.barDockControlLeft);
|
|
this.Controls.Add(this.barDockControlRight);
|
|
this.Controls.Add(this.barDockControlBottom);
|
|
this.Controls.Add(this.barDockControlTop);
|
|
this.Name = "frmQuestionBank";
|
|
this.Text = "Quản lý ngân hàng đề";
|
|
((System.ComponentModel.ISupportInitialize)(this.grdResult)).EndInit();
|
|
this.contextMenuStrip.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.tblQuestionEntityBindingSource)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraGrid.GridControl grdResult;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem Delete;
|
|
private System.Windows.Forms.ToolStripMenuItem View;
|
|
private System.Windows.Forms.BindingSource tblQuestionEntityBindingSource;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colQuestionId;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colCreateDate;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colSubjectId;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colFieldId;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colDifficulty;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colLevel;
|
|
private System.Windows.Forms.ImageList imageList;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colContent;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit repositoryItemPopupContainerEdit;
|
|
private DevExpress.XtraGrid.Columns.GridColumn Exclusive;
|
|
private DevExpress.XtraEditors.Repository.PersistentRepository persistentRepository;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoSubject;
|
|
private System.Windows.Forms.BindingSource tblSubjectEntityBindingSource;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colQuestionCode;
|
|
private DevExpress.XtraBars.BarManager barManager;
|
|
private DevExpress.XtraBars.Bar bar2;
|
|
private DevExpress.XtraBars.BarButtonItem barSave;
|
|
private DevExpress.XtraBars.BarButtonItem barDelete;
|
|
private DevExpress.XtraBars.BarButtonItem barView;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
|
}
|
|
}
|