Example #1
0
        private void addCasButton_Click(object sender, EventArgs e)
        {
            addManButton.Hide();
            addCasButton.Hide();
            checkStockButton.Hide();
            checkCustButton.Hide();
            checkPreButton.Hide();
            AddManLabel.Hide();
            AddCasLabel.Show();
            fnameBox.Show();
            fnameLabel.Show();
            lnameBox.Show();
            lnameLabel.Show();
            staffIDBox.Show();
            staffIDLabel.Show();
            addressBox.Show();
            addressLabel.Show();
            phoneBox.Show();
            phoneLabel.Show();
            emailBox.Show();
            emailLabel.Show();
            unameBox.Show();
            unameLabel.Show();
            pswdBox.Show();
            pswdLabel.Show();
            CasAddbutton.Show();
            ManAddButton.Hide();
            backButton.Show();

            clearButton.Show();
        }
Example #2
0
 private void pharmacist_Load(object sender, EventArgs e)
 {
     AddManLabel.Hide();
     AddCasLabel.Hide();
     fnameBox.Hide();
     fnameLabel.Hide();
     lnameBox.Hide();
     lnameLabel.Hide();
     staffIDBox.Hide();
     staffIDLabel.Hide();
     addressBox.Hide();
     addressLabel.Hide();
     phoneBox.Hide();
     phoneLabel.Hide();
     emailBox.Hide();
     emailLabel.Hide();
     unameBox.Hide();
     unameLabel.Hide();
     pswdBox.Hide();
     pswdLabel.Hide();
     ManAddButton.Hide();
     CasAddbutton.Hide();
     backButton.Hide();
     clearButton.Hide();
 }