Example #1
0
        private void dailySales_Click(object sender, EventArgs e)
        {
            frmSoldItems sold = new frmSoldItems();

            sold.dateTimePicker1.Enabled = false;
            sold.dateTimePicker2.Enabled = false;
            sold.username.Enabled        = false;
            sold.username.Text           = label1.Text;
            sold.Show();
        }
Example #2
0
        private void bunifuFlatButton5_Click(object sender, EventArgs e)
        {
            frmSoldItems sales = new frmSoldItems();

            sales.username.Enabled        = true;
            sales.dateTimePicker1.Enabled = true;
            sales.dateTimePicker2.Enabled = true;
            sales.submit.Normalcolor      = Color.FromArgb(54, 54, 54);
            sales.panel1.BackColor        = Color.FromArgb(54, 54, 54);
            sales.Show();
        }