Exemplo n.º 1
0
 private void simpleButton11_Click(object sender, EventArgs e)
 {
     pn_cont.Controls.Clear();
     pn_cont.Controls.Add(frm_sell.pn_cat);
     db = new DB_SMPEntities();
     lb_titlepage.Text = "المبيعات";
 }
Exemplo n.º 2
0
 //load category
 private void btn_cat_Click(object sender, EventArgs e)
 {
     pn_cont.Controls.Clear();
     pn_cont.Controls.Add(frm_cat.pn_cat);
     db = new DB_SMPEntities();
     lb_titlepage.Text = "الاصناف";
 }
Exemplo n.º 3
0
 //renew function
 private void update_data()
 {
     db = new DB_SMPEntities();
     gridControl1.DataSource = db.TB_Users.ToList();
 }