private void btnReset_Click(object sender, EventArgs e)
 {
     if (FISCA.Presentation.Controls.MsgBox.Show("將清除所有題目與選項恢復到系統預設值,執行後請重新登入系統,請問確認執行?", "清空題目", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2) == System.Windows.Forms.DialogResult.Yes)
     {
         List <UDTQuestionsDataDef> list = UDTTransfer.ABUDTQuestionsDataSelectAll();
         UDTTransfer.ABUDTQuestionsDataDelete(list);
     }
 }
        private void ClearAll()
        {
            List <UDTQuestionsDataDef> delData = new List <UDTQuestionsDataDef>();

            foreach (QuestionData qd in _QuestionDataList)
            {
                delData.Add(qd.GetUpdateData());
            }
            UDTTransfer.ABUDTQuestionsDataDelete(delData);
        }