private void EditBtn_Click(object sender, EventArgs e) { if (BewerbungIdTB.Text.Trim() != string.Empty) { EditPerson editPerson = new EditPerson(bewerbungsdata); editPerson.Show(); this.Close(); } else { MessageBox.Show("No Cell Selected!"); } }
private void EditBtn_Click(object sender, EventArgs e) { if (IdLabel.Text.Trim() != string.Empty) { EditPerson editPerson = new EditPerson(bd); editPerson.Show(); this.Close(); } else { MessageBox.Show("No item Selected in the Table!"); } }