private void metroButton1_Click(object sender, EventArgs e) { // Panel show/hide Student_panel.Show(); WelcomePanel.Hide(); }
private void metroButton2_Click(object sender, EventArgs e) { // Hides all Panels show only the selected one Student_panel.Hide(); WelcomePanel.Hide(); }
private void IDCBTN_Click(object sender, EventArgs e) { IDCPB.Visible = true; dc.Hide(); so.Hide(); ir.MdiParent = this; ir.Text = ""; ir.Show(); WelcomePanel.Hide(); }
private void SOBTN_Click(object sender, EventArgs e) { SOPB.Visible = true; ir.Hide(); dc.Hide(); so.MdiParent = this; so.Text = ""; so.Show(); WelcomePanel.Hide(); }
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(); }
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(); }
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(); }
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(); }
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(); }
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 = ""; }
private void NgoButton_Click(object sender, EventArgs e) { SigninPanel.Show(); WelcomePanel.Hide(); UserType = "Ngo"; }
private void ContributorButton_Click(object sender, EventArgs e) { WelcomePanel.Hide(); SigninPanel.Show(); UserType = "Contributor"; }
private void metroButton4_Click(object sender, EventArgs e) { WelcomePanel.Hide(); Student_panel.Hide(); }