/// <summary> /// Removes the row from the database /// </summary> public void Remove() { try { using (var conn = new Model.EoF_Configuration_Database_TEST_REGIONDataSetTableAdapters.SoftwareTableAdapter()) { conn.DeleteQuery(SelectedSoftware.ID); } } catch (Exception ex) { MessageBox.Show(ex.Message); } SoftwareInfoChanged.Invoke(this, new EventArgs()); }