public BillEntity() { billnumber = null; billtype = null; billdate = null; billamount = null; con = new Connection(); con.open(); }
public ProductEntity(string c, string n, string p, string spec) { code = c; name = n; price = p; specifications = spec; con = new Connection(); con.open(); }
public ProductEntity() { code = null; name = null; price = null; specifications = null; con = new Connection(); con.open(); }
public ComponentEntity(string c, string n, string p, string spec, string d, string pid) { code = c; name = n; price = p; specifications = spec; date = d; productid = pid; con = new Connection(); con.open(); }
public ComponentEntity() { code = null; name = null; price = null; date = null; specifications = ""; productid = ""; con = new Connection(); con.open(); }
public ClientEntity() { name = null; address = null; city = null; village =null; mobile1 = null; mobile2 = null; email = null; fathername=null; date=null; con = new Connection(); con.open(); }
public ClientEntity(string name,string address,string city,string village,string mobile1,string mobile2,string email,string fathername,string date) { this.name = name; this.fathername = fathername; this.address = address; this.city = city; this.village = village; this.mobile1 = mobile1; this.mobile2 = mobile2; this.email = email; this.date=date; con = new Connection(); con.open(); }
public Sale() { InitializeComponent(); lb_grand_total.Text = "0"; con = new Connection(); dt = new DataTable(); LoadProducts(); dataGridView1.Rows.Clear(); dataGridView1.Refresh(); generateBill(); //Generate New Bill No //Initialize Products in Combo Box //Get Current Date //Set Grand Total 0 //Make Table uneditable //Make Table Row Selection Mode True }