Esempio n. 1
0
        private void Demo_Maskiner_Load(object sender, EventArgs e)
        {
            coboCountry.DropDownStyle  = ComboBoxStyle.DropDownList;
            coboSalesRep.DropDownStyle = ComboBoxStyle.DropDownList;
            List <string> Demos       = CTRC.DropDownDemoLoad();
            List <string> AllSalesRep = new List <string>();

            foreach (string X in Demos)
            {
                coboDemoMachines.Items.Add(X);
            }
            rbtnNo.Checked = true;
            coboCountry.Items.Add("Denmark");
            coboCountry.Items.Add("Sweden");
            CTRC.GetAllSalesRep(AllSalesRep);
            foreach (string s in AllSalesRep)
            {
                coboSalesRep.Items.Add(s);
            }
        }