Пример #1
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();
        }
Пример #2
0
        private void SalesHistoryBtn_Click(object sender, EventArgs e)
        {
            SoldItemsForm sold = new SoldItemsForm();

            sold.ShowDialog();
        }