private void addLinkButton_Click(object sender, EventArgs e) { AddLink al = new AddLink("AddProject"); al.Show(); this.Hide(); }
private void addLinkButton_Click(object sender, EventArgs e) { if (projectBox.SelectedIndex != -1) { AddLink al = new AddLink("DBManager"); al.Show(); this.Hide(); } else { errorMessage.Text = "No Project Selected"; } }