示例#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;
        }
示例#2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     DropDown dr = new DropDown();
     var      rr = dr.listColors();
 }