CapDemo.GUI.ImportQuestion.ImportQuestion_Load C# (CSharp) Метод

ImportQuestion_Load() приватный Метод

private ImportQuestion_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат 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);
                }
        }