Beispiel #1
0
        private void metroButton1_Click(object sender, EventArgs e)
        {
            // Panel show/hide
            Student_panel.Show();

            WelcomePanel.Hide();
        }
Beispiel #2
0
        private void metroButton2_Click(object sender, EventArgs e)
        {
            // Hides all Panels show only the selected one

            Student_panel.Hide();

            WelcomePanel.Hide();
        }
Beispiel #3
0
 private void IDCBTN_Click(object sender, EventArgs e)
 {
     IDCPB.Visible = true;
     dc.Hide();
     so.Hide();
     ir.MdiParent = this;
     ir.Text      = "";
     ir.Show();
     WelcomePanel.Hide();
 }
Beispiel #4
0
        private void SOBTN_Click(object sender, EventArgs e)
        {
            SOPB.Visible = true;

            ir.Hide();
            dc.Hide();
            so.MdiParent = this;
            so.Text      = "";
            so.Show();
            WelcomePanel.Hide();
        }
Beispiel #5
0
        private void POBTN_Click(object sender, EventArgs e)
        {
            POPB.Visible      = true;
            GRNPB.Visible     = false;
            InvoicePB.Visible = false;

            PO.MdiParent = this;
            PO.Text      = "";
            PO.Show();
            WelcomePanel.Hide();
        }
Beispiel #6
0
 private void NewBTN_Click(object sender, EventArgs e)
 {
     NewVPB.Visible    = true;
     SearchVPB.Visible = false;
     AddVPB.Visible    = false;
     search.Hide();
     insert.Hide();
     insert.MdiParent = this;
     insert.Text      = "";
     insert.Show();
     WelcomePanel.Hide();
 }
Beispiel #7
0
 private void AddBTN_Click(object sender, EventArgs e)
 {
     SearchVPB.Visible = false;
     NewVPB.Visible    = false;
     AddVPB.Visible    = true;
     insert.Hide();
     search.Hide();
     add.MdiParent = this;
     add.Text      = "";
     add.Show();
     WelcomePanel.Hide();
 }
Beispiel #8
0
        private void NewCBTN_Click(object sender, EventArgs e)
        {
            NewCPB.Visible    = true;
            AddCPB.Visible    = false;
            SearchCPB.Visible = false;

            cr.Hide();
            cdd.Hide();
            newc.MdiParent = this;
            newc.Text      = "";
            newc.Show();
            WelcomePanel.Hide();
        }
Beispiel #9
0
        private void InvoiceBTN_Click(object sender, EventArgs e)
        {
            InvoicePB.Visible = true;
            POPB.Visible      = false;
            GRNPB.Visible     = false;

            PO.Hide();
            grn.Hide();
            invoice.MdiParent = this;
            invoice.Text      = "";
            invoice.Show();
            WelcomePanel.Hide();
        }
Beispiel #10
0
        private void Home_Load(object sender, EventArgs e)
        {
            //  MessageBox.Show("Home Load");
            menustripAdmin.Hide();
            //  menustripCustomer.Hide();
            WelcomePanel.Hide();
            //panel1.Hide();
            //panel2.Hide();
            panel1.Show();
            panel2.Show();

            txtUserId.Text      = "";
            txtPassword.Text    = "";
            txtPhoneNumber.Text = "";
        }
Beispiel #11
0
 private void NgoButton_Click(object sender, EventArgs e)
 {
     SigninPanel.Show();
     WelcomePanel.Hide();
     UserType = "Ngo";
 }
Beispiel #12
0
 private void ContributorButton_Click(object sender, EventArgs e)
 {
     WelcomePanel.Hide();
     SigninPanel.Show();
     UserType = "Contributor";
 }
Beispiel #13
0
 private void metroButton4_Click(object sender, EventArgs e)
 {
     WelcomePanel.Hide();
     Student_panel.Hide();
 }