Exemplo n.º 1
0
 public Customer()
 {
     InitializeComponent();
     simpleSoft.dbClass db = new dbClass();
     db.readData("Select cust_code AS CODE, cust_name AS NAME, cust_company AS COMPANY, cust_city AS CITY, cust_mobile AS MOBILE1, cust_mobile2 AS MOBILE2, cust_office1 AS OFFICE,cust_fax AS FAX from customer", dataGridView1);
     btn_edited.Enabled = false;
 }
Exemplo n.º 2
0
        public addInvoice()
        {
            InitializeComponent();
            dbClass db = new dbClass();

            db.readData("Select MAX(inv_num) from invoice", txt_inv_number, 1);
            addIdataColumn();
            disableforever();
            disableIdata();
            txt_temp.Hide();
        }
Exemplo n.º 3
0
 public main(String pathG)
 {
     InitializeComponent();
     simpleSoft.dbClass db = new dbClass();
     path = pathG;
 }