public void SetDetails(clsArtist prArtist) { _Artist = prArtist; updateForm(); UpdateDisplay(); ShowDialog(); }
public void NewArtist() { clsArtist lcArtist = new clsArtist(this); try { if (lcArtist.GetKey() != "") { Add(lcArtist.GetKey(), lcArtist); MessageBox.Show("Artist added!"); } } catch (Exception) { MessageBox.Show("Duplicate Key!"); } }