Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            // Confirm then delete
            MovieDeleter md = new MovieDeleter(null);

            md.Result = m;
            if(md.deleteMovie())
            {
                Close();
            }
        }
Пример #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     // Open Delete Panel: Search for a title and remove if it exists
     MovieDeleter md = new MovieDeleter(this);
     md.Show();
 }