Ejemplo n.º 1
0
        private void checkStockButton_Click(object sender, EventArgs e)
        {
            checkStock cs = new checkStock();

            cs.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void checkStockbutton_Click(object sender, EventArgs e)
        {
            addStockButton.Hide();
            delStockButton.Hide();
            checkStockbutton.Hide();
            updateStockButton.Hide();
            AddMedLabel.Hide();
            deleteMedLabel.Hide();
            checkStockLabel.Show();
            updateStocklabel.Hide();
            drugnameBox.Show();
            drugnameLabel.Show();
            categoryBox.Show();
            categoryLabel.Show();
            descBox.Show();
            descLabel.Show();
            companyBox.Show();
            companyLabel.Show();
            supplierBox.Show();
            supplierLabel.Show();
            quantityBox.Show();
            quantityLabel.Show();
            costBox.Show();
            costLabel.Show();
            drugIDLabel.Show();
            drugIDBox.Show();
            statusLabel.Hide();
            statusBox.Hide();
            dateBox.Show();
            dateLabel.Show();
            AddButton.Hide();
            deleteButton.Hide();
            checkButton.Show();
            updateButton.Hide();
            backButton.Show();
            checkStock cs = new checkStock();

            cs.Show();
            this.Hide();
        }