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;
 }
Example #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();
        }
Example #3
0
 public main(String pathG)
 {
     InitializeComponent();
     simpleSoft.dbClass db = new dbClass();
     path = pathG;
 }