private void TypeBox_SelectedIndexChanged(object sender, EventArgs e) { string RoleTemp = JobRoleBox.Text; string CareerTemp = CareerLevelBox.Text; this.Controls.Clear(); this.InitializeComponent(); TypeBox.SelectedIndexChanged -= TypeBox_SelectedIndexChanged; this.TypeBox.Text = (sender as ComboBox).Text; TypeBox.SelectedIndexChanged += TypeBox_SelectedIndexChanged; JobRoleBox.SelectedIndexChanged -= JobRoleBox_SelectedIndexChanged; JobRoleBox.Text = RoleTemp; JobRoleBox.SelectedIndexChanged += JobRoleBox_SelectedIndexChanged; CareerLevelBox.SelectedIndexChanged -= CareerLevelBox_SelectedIndexChanged; CareerLevelBox.Text = CareerTemp; CareerLevelBox.SelectedIndexChanged += CareerLevelBox_SelectedIndexChanged; ApplicationsPanel.Hide(); ResumePanel.Hide(); ExplorePanel.Hide(); ExplorePanel.Show(); }
private void resumeToolStripMenuItem_Click(object sender, EventArgs e) { ResumePanel.Show(); ApplicationsPanel.Hide(); ExplorePanel.Hide(); }