Esempio n. 1
0
 public ReportSoldForm(SoldItemsForm frm)
 {
     InitializeComponent();
     connect = new MySqlConnection();
     connect.ConnectionString = dbconnect.DataConnection();
     f = frm;
 }
Esempio n. 2
0
        private void SalesBtn_Click(object sender, EventArgs e)
        {
            SoldItemsForm sold = new SoldItemsForm();

            sold.dt1.Enabled       = false;
            sold.dt2.Enabled       = false;
            sold.User              = usernamelbl.Text;
            sold.CashierCb.Enabled = false;
            sold.CashierCb.Text    = usernamelbl.Text;
            sold.ShowDialog();
        }
Esempio n. 3
0
        private void SalesHistoryBtn_Click(object sender, EventArgs e)
        {
            SoldItemsForm sold = new SoldItemsForm();

            sold.ShowDialog();
        }
Esempio n. 4
0
 public CancelDetailsForm(SoldItemsForm frm)
 {
     InitializeComponent();
     f = frm;
 }