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;
        }
Beispiel #2
0
 public DropDown()
 {
     db = new VanmeEntities();
 }