Esempio n. 1
0
        private void frmAdmin_Load(object sender, EventArgs e)
        {
            bindAdmin     db   = new bindAdmin();
            List <string> cats = new List <string>();

            cats = db.bindUsers();

            foreach (string item in cats)
            {
                cmbCategories.Items.Add(item);
            }
        }
Esempio n. 2
0
        private void FormKelimeSilmeGuncelleme_Load(object sender, EventArgs e)
        {
            bindAdmin     db   = new bindAdmin();
            List <string> cats = new List <string>();

            cats = db.bindUsers();

            foreach (string item in cats)
            {
                cmbCategories.Items.Add(item);
                cmbEditCategories.Items.Add(item);
            }
        }