Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void DeleteArtistButton_Click(object sender, EventArgs e)
        {
            DialogResult   dr  = new DialogResult();
            DeleteArtistWF frm = new DeleteArtistWF();

            dr = frm.ShowDialog();
            if (dr == DialogResult.OK)
            {
                MessageBox.Show("Main: DeleteArtist User clicked OK button");
            }
            else if (dr == DialogResult.Cancel)
            {
                MessageBox.Show("Main: DeleteArtist User clicked Cancel button");
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void DeleteArtistButton_Click(object sender, EventArgs e)
        {
            DialogResult dr = new DialogResult();
            DeleteArtistWF frm = new DeleteArtistWF();

            dr = frm.ShowDialog();
            if (dr == DialogResult.OK)
            {
                MessageBox.Show("Main: DeleteArtist User clicked OK button");
            }
            else if (dr == DialogResult.Cancel)
            {
                MessageBox.Show("Main: DeleteArtist User clicked Cancel button");
            }
        }