private void approvalToolStripMenuItem_Click(object sender, EventArgs e) { { VendorApproval va = new VendorApproval(); va.Show(); this.Hide(); } }
private void button2_Click(object sender, EventArgs e) { if (comboBox1.Text == "Active") { VendorApproval va = new VendorApproval(); va.Show(); this.Hide(); } else { MessageBox.Show("Kindly Set Your Status Correctly"); } }