Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 3
0
 public frmPrintSales(frmSoldItems soldItems)
 {
     InitializeComponent();
     Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 20, 20));
     sold   = soldItems;
 }
Ejemplo n.º 4
0
 public frmcancelSales(frmSoldItems sold)
 {
     InitializeComponent();
     Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 20, 20));
     items  = sold;
 }