/// <summary> /// Handles the Click event of the btn_ProjectModify control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> /// Erstellt von Veit Berg, am 27.01.16 private void btn_ProjectModify_Click(object sender, EventArgs e) { try{ int selectedIndex = comboBox_SelectProject.SelectedIndex; Project selectedItem = (Project)comboBox_SelectProject.SelectedItem; aktuellesProjekt_View AktProjView = new aktuellesProjekt_View(this, selectedItem.Project_Id); AktProjView.Show(); Hide(); } catch (Exception x) { MessageBox.Show(x.Message); } }