private void Question_ShortAnswer_1_Load(object sender, EventArgs e)
{
txt_ContentQuestion.Text = "";
txt_AnswerContent.Text = "";
cmb_Catalogue.Items.Clear();
cmb_Catalogue.Text = "";
this.Dock = DockStyle.Fill;
CatalogueBL CatBL = new CatalogueBL();
List<DO.Catalogue> CatList;
CatList = CatBL.GetCatalogue();
if (CatList != null)
for (int i = 0; i < CatList.Count; i++)
{
this.cmb_Catalogue.Items.Add(CatList.ElementAt(i).NameCatalogue);
}
if (cmb_Catalogue.Items.Count > 0)
{
cmb_Catalogue.SelectedIndex = 0;
}
txt_Date.Text = DateTime.Now.ToString("d");
}