CapDemo.GUI.ImportQuestion.ImportQuestion_Load C# (CSharp) Method

ImportQuestion_Load() private method

private ImportQuestion_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void ImportQuestion_Load(object sender, EventArgs e)
        {
            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);
                }
        }