示例#1
0
 private void FrmProduct_Load(object sender, EventArgs e)
 {
     // this.kalaTableAdapter.Fill(this.smartShopDataSet.Kala);
     panel.Enabled = false;
     test          = new SmartShopEntities();
     kalaBindingSource.DataSource = test.Kalas.ToList();
 }
示例#2
0
 public static SmartShopEntities getInstance()
 {
     if (ume == null)
     {
         ume = new SmartShopEntities();
         return(ume);
     }
     else
     {
         return(ume);
     }
 }