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(); }
private void SalesHistoryBtn_Click(object sender, EventArgs e) { SoldItemsForm sold = new SoldItemsForm(); sold.ShowDialog(); }