Esempio n. 1
0
        public CompanyInfo()
        {
            db                          = new VanmeEntities();
            ListCountries               = db.Countries.ToList();
            ListCategories              = db.Categories.ToList();
            ListSubCategories           = db.SubCategories.ToList();
            ListProductTypes            = db.ProductTypes.ToList();
            ListCategoriesSubCategories = db.CategoriesSubCategories.ToList();


            InitializeComponent();
            drop                       = new DropDown();
            UploadedPicturs            = new List <string>();
            cvrt                       = new ConvertMetricInch();
            radioButtonIperial.Checked = true;
        }
Esempio n. 2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     DropDown dr = new DropDown();
     var      rr = dr.listColors();
 }