Пример #1
0
        private void bunifuFlatButton1_Click(object sender, EventArgs e)
        {
            textBox_itemname.Show();
            textBox_itemdescription.Show();
            expiry_date.Show();
            button_create.Show();
            button_update.Show();
            button_reset.Show();
            label2.Show();
            Item_name.Show();
            labelbel.Show();
            label3.Show();
            textBox_initial_quant.Show();
            label_initial_quant.Show();
            label9.Show();
            textBox_reorder.Show();
            label_supplier.Show();
            textBox_supplier.Show();
            bunifuFlatButton2.Show();

            dataGridView2.Hide();
            dataGridView1.Show();
            comboBox_status.Hide();
            loadAll();
        }
Пример #2
0
 private void bunifuFlatButton1_Click(object sender, EventArgs e)
 {
     textBox_itemname.Show();
     textBox_itemdescription.Show();
     expiry_date.Show();
     button_create.Show();
     button_update.Show();
     button_reset.Show();
     label2.Show();
     Item_name.Show();
     labelbel.Show();
     label3.Show();
     loadAll();
 }
Пример #3
0
        private void label_inventory_Click(object sender, EventArgs e)
        {
            dataGridView2.Hide();
            dataGridView1.Show();
            loadAll();
            label4.Show();
            label5.Show();
            expiry_date.Enabled = false;
            button_add.Hide();
            button_deduct.Hide();
            Item_name.Show();
            label2.Show();
            labelbel.Show();
            label3.Show();
            label4.Show();
            textBox_itemname.Show();
            textBox_itemdescription.Show();
            expiry_date.Show();
            checkbox_expiry.Show();
            button_create.Show();
            button_update.Show();
            button_reset.Show();
            bunifuFlatButton2.Show();
            textBox_supplier.Show();
            label_supplier.Show();


            dataGridView3.Hide();
            Label_equipmentname.Hide();
            label_equipmentdesc.Hide();
            label_status.Hide();
            textBox_equipmentname.Hide();
            textBox_equipmentdesc.Hide();
            comboBox_status.Hide();
            button__create.Hide();
            button__update.Hide();
            button__reset.Hide();
        }