Пример #1
0
        public formBrandModule(formBrandList flist)
        {
            InitializeComponent();

            cn      = new SqlConnection(dbCon.MyConnection());
            frmlist = flist;
        }
Пример #2
0
 public Form1()
 {
     InitializeComponent();
     cn = new SqlConnection(dbCon.MyConnection());
     // cn.Open();
     // MessageBox.Show("Connected");
 }
Пример #3
0
 public POS()
 {
     InitializeComponent();
     cn              = new SqlConnection(dbCon.MyConnection());
     lblDate.Text    = DateTime.Now.ToLongDateString();
     labelDate.Text  = DateTime.Now.ToLongDateString();
     this.KeyPreview = true;
 }
Пример #4
0
 public formSoldItems(POS frm)
 {
     InitializeComponent();
     cn        = new SqlConnection(dbCon.MyConnection());
     dt1.Value = DateTime.Now;
     dt2.Value = DateTime.Now;
     LoadRecords();
     LoadCashier();
     fpos = frm;
 }
Пример #5
0
 public formCategoryList()
 {
     InitializeComponent();
     cn = new SqlConnection(dbCon.MyConnection());
     LoadRecords();
 }
Пример #6
0
 public formDiscount(POS frm)
 {
     InitializeComponent();
     cn   = new SqlConnection(dbCon.MyConnection());
     fpos = frm;
 }
Пример #7
0
 public formVoid(formCancelDetails frm)
 {
     InitializeComponent();
     cn      = new SqlConnection(dbCon.MyConnection());
     fcancel = frm;
 }
Пример #8
0
 public formSecurity()
 {
     InitializeComponent();
     cn = new SqlConnection(dbCon.MyConnection());
 }
Пример #9
0
 public formRecieptPOS(POS frm)
 {
     InitializeComponent();
     cn   = new SqlConnection(dbCon.MyConnection());
     fpos = frm;
 }
Пример #10
0
 public formQty(POS frmpos)
 {
     InitializeComponent();
     cn   = new SqlConnection(dbCon.MyConnection());
     fpos = frmpos;
 }
Пример #11
0
 public formCategory(formCategoryList flist)
 {
     InitializeComponent();
     cn      = new SqlConnection(dbCon.MyConnection());
     frmlist = flist;
 }
Пример #12
0
 public formUserAccount()
 {
     InitializeComponent();
     cn = new SqlConnection(dbCon.MyConnection());
 }
Пример #13
0
 public formSearchProductStockIn(formStockIn flist)
 {
     InitializeComponent();
     cn    = new SqlConnection(dbCon.MyConnection());
     slist = flist;
 }
Пример #14
0
 public formProduct(formProductList frm)
 {
     InitializeComponent();
     cn    = new SqlConnection(dbCon.MyConnection());
     flist = frm;
 }
Пример #15
0
 public reportSoldItems(formSoldItems frm)
 {
     InitializeComponent();
     cn   = new SqlConnection(dbCon.MyConnection());
     frpt = frm;
 }