private void startButton_Click(object sender, EventArgs e) { this.Hide(); ProjectMangerForm projForm = new ProjectMangerForm(); projForm.Show(); }
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { this.Hide(); if (positionBox.SelectedItem.Equals("Developer")) { DeveloperForm developerForm = new DeveloperForm(); developerForm.Show(); } else { ProjectMangerForm projectMangerForm = new ProjectMangerForm(); projectMangerForm.Show(); } }