Ejemplo n.º 1
0
 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!");
     }
 }
Ejemplo n.º 3
0
        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!");
            }
        }