public SingleChoice()
        {
            InitializeComponent();

            DataListener = new Campus.Windows.ChangeListen();
            DataListener.Add(new TextBoxSource(this.txtTitle));
            DataListener.Add(new DataGridViewSource(this.dgvData));
            DataListener.Add(new NumericUpDownSource(this.nudDisplayOrder));
            DataListener.Add(new CheckBoxXSource(this.chkRequired));
            DataListener.Add(new CheckBoxXSource(this.chkCase));
            DataListener.Add(new CheckBoxXSource(this.chkSelfAssessment));
            DataListener.Add(new CheckBoxXSource(this.chkNoneCalculated));
            DataListener.Add(new ComboBoxSource(this.cboHierarchy, ComboBoxSource.ListenAttribute.Text));
            DataListener.StatusChanged += new EventHandler<ChangeEventArgs>(Listener_StatusChanged);
            DataListener.ResumeListen();

            this.dgvData.DataError += new DataGridViewDataErrorEventHandler(dgvData_DataError);
            this.dgvData.CurrentCellDirtyStateChanged += new EventHandler(dgvData_CurrentCellDirtyStateChanged);
            this.dgvData.CellEnter += new DataGridViewCellEventHandler(dgvData_CellEnter);
            this.dgvData.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvData_ColumnHeaderMouseClick);
            this.dgvData.RowHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvData_RowHeaderMouseClick);
            this.dgvData.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dgvData_MouseClick);

            this.RecordDetails = new List<UDT.QuestionOption>();
            Access = new FISCA.UDT.AccessHelper();

            this.Group = Guid.NewGuid().ToString();
            this.Type = "單選題";
            this.Caption = this.Type;

            this.Load += new System.EventHandler(this.SingleChoice_Load);
        }
        public Essay()
        {
            InitializeComponent();

            DataListener = new Campus.Windows.ChangeListen();
            DataListener.Add(new TextBoxSource(this.txtTitle));
            DataListener.Add(new NumericUpDownSource(this.nudDisplayOrder));
            DataListener.Add(new CheckBoxXSource(this.chkRequired));
            DataListener.Add(new CheckBoxXSource(this.chkCase));
            DataListener.Add(new CheckBoxXSource(this.chkSelfAssessment));
            DataListener.Add(new CheckBoxXSource(this.chkNoneCalculated));
            DataListener.Add(new ComboBoxSource(this.cboHierarchy, ComboBoxSource.ListenAttribute.Text));
            DataListener.StatusChanged += new EventHandler<ChangeEventArgs>(Listener_StatusChanged);
            DataListener.ResumeListen();

            this.RecordDetails = new List<UDT.QuestionOption>();
            Access = new FISCA.UDT.AccessHelper();

            this.Group = Guid.NewGuid().ToString();
            this.Type = "問答題";
            this.Caption = this.Type;

            this.Load += new System.EventHandler(this.Form_Load);
        }