578 lines
33 KiB
C#
578 lines
33 KiB
C#
namespace Omega.Forms
|
|
{
|
|
partial class frmQuizTemplate
|
|
{
|
|
/// <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()
|
|
{
|
|
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmQuizTemplate));
|
|
this.grdQuizTemplate = new DevExpress.XtraGrid.GridControl();
|
|
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip();
|
|
this.Delete = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.View = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tblQuizTemplateEntityBindingSource = new System.Windows.Forms.BindingSource();
|
|
this.QuizRepo = new DevExpress.XtraEditors.Repository.PersistentRepository();
|
|
this.repoLevel = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
|
|
this.repoField = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
|
|
this.repoDificulty = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
|
|
this.repoTrainingType = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
this.repSubjects = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
this.repHeader = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
|
|
this.QuizTemplateView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colFooterDes = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.btnViewFooter = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
|
this.colHeaderDes = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.btnViewHeader = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
|
this.colQuizTemplateId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colTemplateQuizName = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colTrainingTypeId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.Renumbering = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.barManager = new DevExpress.XtraBars.BarManager();
|
|
this.bar1 = new DevExpress.XtraBars.Bar();
|
|
this.Save = new DevExpress.XtraBars.BarButtonItem();
|
|
this.CloseForm = 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();
|
|
this.grdQuizTemplateDetail = new DevExpress.XtraGrid.GridControl();
|
|
this.tblQuizTemplateDetailEntityBindingSource = new System.Windows.Forms.BindingSource();
|
|
this.QuizTemplateDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colDifficulty = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colFieldId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colLevel = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colQuestionNum = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colQuizTemplateId1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colSubjectId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colUniqueId = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplate)).BeginInit();
|
|
this.contextMenuStrip.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoLevel)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoField)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoDificulty)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoTrainingType)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repSubjects)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repHeader)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateView)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.btnViewFooter)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.btnViewHeader)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplateDetail)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateDetailEntityBindingSource)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateDetailView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// grdQuizTemplate
|
|
//
|
|
this.grdQuizTemplate.ContextMenuStrip = this.contextMenuStrip;
|
|
this.grdQuizTemplate.DataSource = this.tblQuizTemplateEntityBindingSource;
|
|
this.grdQuizTemplate.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.grdQuizTemplate.ExternalRepository = this.QuizRepo;
|
|
gridLevelNode1.RelationName = "Level1";
|
|
this.grdQuizTemplate.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
|
|
gridLevelNode1});
|
|
this.grdQuizTemplate.Location = new System.Drawing.Point(0, 47);
|
|
this.grdQuizTemplate.MainView = this.QuizTemplateView;
|
|
this.grdQuizTemplate.Name = "grdQuizTemplate";
|
|
this.grdQuizTemplate.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
this.btnViewHeader,
|
|
this.btnViewFooter});
|
|
this.grdQuizTemplate.Size = new System.Drawing.Size(878, 248);
|
|
this.grdQuizTemplate.TabIndex = 0;
|
|
this.grdQuizTemplate.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.QuizTemplateView});
|
|
this.grdQuizTemplate.Enter += new System.EventHandler(this.grdQuizTemplate_Enter);
|
|
//
|
|
// 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";
|
|
this.Delete.Click += new System.EventHandler(this.Delete_Click);
|
|
//
|
|
// View
|
|
//
|
|
this.View.Name = "View";
|
|
this.View.Size = new System.Drawing.Size(98, 22);
|
|
this.View.Text = "Xem";
|
|
//
|
|
// tblQuizTemplateEntityBindingSource
|
|
//
|
|
this.tblQuizTemplateEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateEntity);
|
|
//
|
|
// QuizRepo
|
|
//
|
|
this.QuizRepo.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
this.repoLevel,
|
|
this.repoField,
|
|
this.repoDificulty,
|
|
this.repoTrainingType,
|
|
this.repSubjects,
|
|
this.repHeader});
|
|
//
|
|
// repoLevel
|
|
//
|
|
this.repoLevel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repoLevel.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Tất cả", "A", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("0", "0", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("1", "1", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("2", "2", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("3", "3", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("4", "4", -1)});
|
|
this.repoLevel.Name = "repoLevel";
|
|
//
|
|
// repoField
|
|
//
|
|
this.repoField.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repoField.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("0", "0", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("1", "1", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("2", "2", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("3", "3", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("4", "4", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("5", "5", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("6", "6", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("7", "7", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("8", "8", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("9", "9", -1)});
|
|
this.repoField.Name = "repoField";
|
|
//
|
|
// repoDificulty
|
|
//
|
|
this.repoDificulty.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repoDificulty.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Tất cả", "A", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("0", "0", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("1", "1", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("2", "2", -1),
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("3", "3", -1)});
|
|
this.repoDificulty.Name = "repoDificulty";
|
|
//
|
|
// repoTrainingType
|
|
//
|
|
this.repoTrainingType.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repoTrainingType.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
|
|
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TrainingTypeId", "Mã loại hình", 100, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
|
|
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TrainingTypeName", 150, "Tên loại hình")});
|
|
this.repoTrainingType.DisplayMember = "TrainingTypeName";
|
|
this.repoTrainingType.Name = "repoTrainingType";
|
|
this.repoTrainingType.NullText = "";
|
|
this.repoTrainingType.PopupWidth = 200;
|
|
this.repoTrainingType.ValueMember = "TrainingTypeId";
|
|
//
|
|
// repSubjects
|
|
//
|
|
this.repSubjects.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repSubjects.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
|
|
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectId", "Mã môn học", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
|
|
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectName", 100, "Tên môn học")});
|
|
this.repSubjects.DisplayMember = "SubjectName";
|
|
this.repSubjects.DropDownRows = 20;
|
|
this.repSubjects.Name = "repSubjects";
|
|
this.repSubjects.NullText = "";
|
|
this.repSubjects.PopupWidth = 200;
|
|
this.repSubjects.ValueMember = "SubjectId";
|
|
//
|
|
// repHeader
|
|
//
|
|
this.repHeader.AutoHeight = false;
|
|
this.repHeader.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repHeader.Name = "repHeader";
|
|
//
|
|
// QuizTemplateView
|
|
//
|
|
this.QuizTemplateView.ColumnPanelRowHeight = 60;
|
|
this.QuizTemplateView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colFooterDes,
|
|
this.colHeaderDes,
|
|
this.colQuizTemplateId,
|
|
this.colTemplateQuizName,
|
|
this.colTrainingTypeId,
|
|
this.Renumbering});
|
|
this.QuizTemplateView.GridControl = this.grdQuizTemplate;
|
|
this.QuizTemplateView.Name = "QuizTemplateView";
|
|
this.QuizTemplateView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
|
|
this.QuizTemplateView.OptionsView.ShowGroupPanel = false;
|
|
this.QuizTemplateView.OptionsView.ShowViewCaption = true;
|
|
this.QuizTemplateView.ViewCaption = "QuizTemplate";
|
|
//
|
|
// colFooterDes
|
|
//
|
|
this.colFooterDes.Caption = "Chân trang";
|
|
this.colFooterDes.ColumnEdit = this.btnViewFooter;
|
|
this.colFooterDes.FieldName = "FooterDes";
|
|
this.colFooterDes.Name = "colFooterDes";
|
|
this.colFooterDes.Visible = true;
|
|
this.colFooterDes.VisibleIndex = 3;
|
|
this.colFooterDes.Width = 113;
|
|
//
|
|
// btnViewFooter
|
|
//
|
|
this.btnViewFooter.AutoHeight = false;
|
|
this.btnViewFooter.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
this.btnViewFooter.Name = "btnViewFooter";
|
|
this.btnViewFooter.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
|
|
this.btnViewFooter.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnViewFooter_ButtonClick);
|
|
//
|
|
// colHeaderDes
|
|
//
|
|
this.colHeaderDes.Caption = "Tiêu đề";
|
|
this.colHeaderDes.ColumnEdit = this.btnViewHeader;
|
|
this.colHeaderDes.FieldName = "HeaderDes";
|
|
this.colHeaderDes.Name = "colHeaderDes";
|
|
this.colHeaderDes.Visible = true;
|
|
this.colHeaderDes.VisibleIndex = 4;
|
|
this.colHeaderDes.Width = 225;
|
|
//
|
|
// btnViewHeader
|
|
//
|
|
this.btnViewHeader.AutoHeight = false;
|
|
this.btnViewHeader.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton()});
|
|
this.btnViewHeader.Name = "btnViewHeader";
|
|
this.btnViewHeader.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
|
|
this.btnViewHeader.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnViewHeader_ButtonClick);
|
|
this.btnViewHeader.ButtonPressed += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnViewHeader_ButtonPressed);
|
|
//
|
|
// colQuizTemplateId
|
|
//
|
|
this.colQuizTemplateId.Caption = "Mã Template";
|
|
this.colQuizTemplateId.FieldName = "QuizTemplateId";
|
|
this.colQuizTemplateId.Name = "colQuizTemplateId";
|
|
//
|
|
// colTemplateQuizName
|
|
//
|
|
this.colTemplateQuizName.Caption = "Tên Template";
|
|
this.colTemplateQuizName.FieldName = "TemplateQuizName";
|
|
this.colTemplateQuizName.Name = "colTemplateQuizName";
|
|
this.colTemplateQuizName.Visible = true;
|
|
this.colTemplateQuizName.VisibleIndex = 1;
|
|
this.colTemplateQuizName.Width = 237;
|
|
//
|
|
// colTrainingTypeId
|
|
//
|
|
this.colTrainingTypeId.Caption = "Loại hình đào tạo";
|
|
this.colTrainingTypeId.ColumnEdit = this.repoTrainingType;
|
|
this.colTrainingTypeId.FieldName = "TrainingTypeId";
|
|
this.colTrainingTypeId.Name = "colTrainingTypeId";
|
|
this.colTrainingTypeId.Visible = true;
|
|
this.colTrainingTypeId.VisibleIndex = 0;
|
|
this.colTrainingTypeId.Width = 288;
|
|
//
|
|
// Renumbering
|
|
//
|
|
this.Renumbering.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.Renumbering.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
|
|
this.Renumbering.Caption = "Đánh số lại theo lĩnh vực kiến thức";
|
|
this.Renumbering.FieldName = "Renumering";
|
|
this.Renumbering.Name = "Renumbering";
|
|
this.Renumbering.Visible = true;
|
|
this.Renumbering.VisibleIndex = 2;
|
|
this.Renumbering.Width = 215;
|
|
//
|
|
// barManager
|
|
//
|
|
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
|
|
this.bar1});
|
|
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.Save,
|
|
this.CloseForm,
|
|
this.barDelete});
|
|
this.barManager.MaxItemId = 3;
|
|
//
|
|
// bar1
|
|
//
|
|
this.bar1.BarName = "Tools";
|
|
this.bar1.DockCol = 0;
|
|
this.bar1.DockRow = 0;
|
|
this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
|
|
this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
|
|
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Save, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
|
|
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.CloseForm, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
|
|
new DevExpress.XtraBars.LinkPersistInfo(this.barDelete)});
|
|
this.bar1.Text = "Tools";
|
|
//
|
|
// Save
|
|
//
|
|
this.Save.Caption = "Save";
|
|
this.Save.Glyph = ((System.Drawing.Image)(resources.GetObject("Save.Glyph")));
|
|
this.Save.Id = 0;
|
|
this.Save.Name = "Save";
|
|
this.Save.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Save_ItemClick);
|
|
//
|
|
// CloseForm
|
|
//
|
|
this.CloseForm.Caption = "Close";
|
|
this.CloseForm.Glyph = ((System.Drawing.Image)(resources.GetObject("CloseForm.Glyph")));
|
|
this.CloseForm.Id = 1;
|
|
this.CloseForm.Name = "CloseForm";
|
|
this.CloseForm.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Close_ItemClick);
|
|
//
|
|
// barDelete
|
|
//
|
|
this.barDelete.Caption = "Delete";
|
|
this.barDelete.Glyph = ((System.Drawing.Image)(resources.GetObject("barDelete.Glyph")));
|
|
this.barDelete.Id = 2;
|
|
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(878, 47);
|
|
//
|
|
// barDockControlBottom
|
|
//
|
|
this.barDockControlBottom.CausesValidation = false;
|
|
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.barDockControlBottom.Location = new System.Drawing.Point(0, 419);
|
|
this.barDockControlBottom.Size = new System.Drawing.Size(878, 0);
|
|
//
|
|
// barDockControlLeft
|
|
//
|
|
this.barDockControlLeft.CausesValidation = false;
|
|
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.barDockControlLeft.Location = new System.Drawing.Point(0, 47);
|
|
this.barDockControlLeft.Size = new System.Drawing.Size(0, 372);
|
|
//
|
|
// barDockControlRight
|
|
//
|
|
this.barDockControlRight.CausesValidation = false;
|
|
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.barDockControlRight.Location = new System.Drawing.Point(878, 47);
|
|
this.barDockControlRight.Size = new System.Drawing.Size(0, 372);
|
|
//
|
|
// grdQuizTemplateDetail
|
|
//
|
|
this.grdQuizTemplateDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.grdQuizTemplateDetail.ContextMenuStrip = this.contextMenuStrip;
|
|
this.grdQuizTemplateDetail.DataSource = this.tblQuizTemplateDetailEntityBindingSource;
|
|
this.grdQuizTemplateDetail.ExternalRepository = this.QuizRepo;
|
|
this.grdQuizTemplateDetail.Location = new System.Drawing.Point(0, 301);
|
|
this.grdQuizTemplateDetail.MainView = this.QuizTemplateDetailView;
|
|
this.grdQuizTemplateDetail.Name = "grdQuizTemplateDetail";
|
|
this.grdQuizTemplateDetail.Size = new System.Drawing.Size(878, 115);
|
|
this.grdQuizTemplateDetail.TabIndex = 1;
|
|
this.grdQuizTemplateDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.QuizTemplateDetailView});
|
|
this.grdQuizTemplateDetail.Enter += new System.EventHandler(this.grdQuizTemplateDetail_Enter);
|
|
//
|
|
// tblQuizTemplateDetailEntityBindingSource
|
|
//
|
|
this.tblQuizTemplateDetailEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateDetailEntity);
|
|
//
|
|
// QuizTemplateDetailView
|
|
//
|
|
this.QuizTemplateDetailView.ColumnPanelRowHeight = 40;
|
|
this.QuizTemplateDetailView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colDifficulty,
|
|
this.colFieldId,
|
|
this.colLevel,
|
|
this.colQuestionNum,
|
|
this.colQuizTemplateId1,
|
|
this.colSubjectId,
|
|
this.colUniqueId});
|
|
this.QuizTemplateDetailView.GridControl = this.grdQuizTemplateDetail;
|
|
this.QuizTemplateDetailView.Name = "QuizTemplateDetailView";
|
|
this.QuizTemplateDetailView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
|
|
this.QuizTemplateDetailView.OptionsView.ShowGroupPanel = false;
|
|
this.QuizTemplateDetailView.OptionsView.ShowViewCaption = true;
|
|
this.QuizTemplateDetailView.ViewCaption = "Phương thức chọn câu hỏi";
|
|
//
|
|
// colDifficulty
|
|
//
|
|
this.colDifficulty.Caption = "Mức độ khó";
|
|
this.colDifficulty.ColumnEdit = this.repoDificulty;
|
|
this.colDifficulty.FieldName = "Difficulty";
|
|
this.colDifficulty.Name = "colDifficulty";
|
|
this.colDifficulty.Visible = true;
|
|
this.colDifficulty.VisibleIndex = 4;
|
|
this.colDifficulty.Width = 68;
|
|
//
|
|
// colFieldId
|
|
//
|
|
this.colFieldId.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colFieldId.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
|
|
this.colFieldId.Caption = "Lĩnh vực kiến thức";
|
|
this.colFieldId.ColumnEdit = this.repoField;
|
|
this.colFieldId.FieldName = "FieldId";
|
|
this.colFieldId.Name = "colFieldId";
|
|
this.colFieldId.Visible = true;
|
|
this.colFieldId.VisibleIndex = 1;
|
|
this.colFieldId.Width = 63;
|
|
//
|
|
// colLevel
|
|
//
|
|
this.colLevel.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colLevel.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
|
|
this.colLevel.Caption = "Mức độ kiến thức";
|
|
this.colLevel.ColumnEdit = this.repoLevel;
|
|
this.colLevel.FieldName = "Level";
|
|
this.colLevel.Name = "colLevel";
|
|
this.colLevel.Visible = true;
|
|
this.colLevel.VisibleIndex = 3;
|
|
this.colLevel.Width = 59;
|
|
//
|
|
// colQuestionNum
|
|
//
|
|
this.colQuestionNum.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colQuestionNum.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
|
|
this.colQuestionNum.Caption = "Số câu hỏi";
|
|
this.colQuestionNum.FieldName = "QuestionNum";
|
|
this.colQuestionNum.Name = "colQuestionNum";
|
|
this.colQuestionNum.Visible = true;
|
|
this.colQuestionNum.VisibleIndex = 2;
|
|
this.colQuestionNum.Width = 46;
|
|
//
|
|
// colQuizTemplateId1
|
|
//
|
|
this.colQuizTemplateId1.FieldName = "QuizTemplateId";
|
|
this.colQuizTemplateId1.Name = "colQuizTemplateId1";
|
|
//
|
|
// colSubjectId
|
|
//
|
|
this.colSubjectId.Caption = "Môn học";
|
|
this.colSubjectId.ColumnEdit = this.repSubjects;
|
|
this.colSubjectId.FieldName = "SubjectId";
|
|
this.colSubjectId.Name = "colSubjectId";
|
|
this.colSubjectId.Visible = true;
|
|
this.colSubjectId.VisibleIndex = 0;
|
|
this.colSubjectId.Width = 196;
|
|
//
|
|
// colUniqueId
|
|
//
|
|
this.colUniqueId.FieldName = "UniqueId";
|
|
this.colUniqueId.Name = "colUniqueId";
|
|
this.colUniqueId.Width = 646;
|
|
//
|
|
// frmQuizTemplate
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.ClientSize = new System.Drawing.Size(878, 419);
|
|
this.Controls.Add(this.grdQuizTemplateDetail);
|
|
this.Controls.Add(this.grdQuizTemplate);
|
|
this.Controls.Add(this.barDockControlLeft);
|
|
this.Controls.Add(this.barDockControlRight);
|
|
this.Controls.Add(this.barDockControlBottom);
|
|
this.Controls.Add(this.barDockControlTop);
|
|
this.HtmlText = "Quiz Template";
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "frmQuizTemplate";
|
|
this.Text = "Quiz Template";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplate)).EndInit();
|
|
this.contextMenuStrip.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoLevel)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoField)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoDificulty)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repoTrainingType)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repSubjects)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repHeader)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateView)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.btnViewFooter)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.btnViewHeader)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplateDetail)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateDetailEntityBindingSource)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateDetailView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraGrid.GridControl grdQuizTemplate;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView QuizTemplateView;
|
|
private DevExpress.XtraGrid.GridControl grdQuizTemplateDetail;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView QuizTemplateDetailView;
|
|
private System.Windows.Forms.BindingSource tblQuizTemplateEntityBindingSource;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colHeaderDes;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colQuizTemplateId;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colTemplateQuizName;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colTrainingTypeId;
|
|
private System.Windows.Forms.BindingSource tblQuizTemplateDetailEntityBindingSource;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colDifficulty;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colFieldId;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colLevel;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colQuestionNum;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colQuizTemplateId1;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colSubjectId;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colUniqueId;
|
|
private DevExpress.XtraBars.BarManager barManager;
|
|
private DevExpress.XtraBars.Bar bar1;
|
|
private DevExpress.XtraBars.BarButtonItem Save;
|
|
private DevExpress.XtraBars.BarButtonItem CloseForm;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
|
private DevExpress.XtraEditors.Repository.PersistentRepository QuizRepo;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repoLevel;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repoField;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repoDificulty;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoTrainingType;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repSubjects;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit repHeader;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnViewHeader;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
|
|
private System.Windows.Forms.ToolStripMenuItem Delete;
|
|
private System.Windows.Forms.ToolStripMenuItem View;
|
|
private DevExpress.XtraBars.BarButtonItem barDelete;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colFooterDes;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnViewFooter;
|
|
private DevExpress.XtraGrid.Columns.GridColumn Renumbering;
|
|
}
|
|
}
|