private void DeleteRamButton_Click(object sender, EventArgs e) { r.Id = int.Parse(textBoxRamId.Text); bool success = r.Delete(r); helperMethods.DisplayMessage(success, "deleted", this, r, componentName, ramBrowseGV); }