Beispiel #1
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            Add_Movie_Menu Amm = new Add_Movie_Menu();
            DialogResult dr = Amm.ShowDialog();

            switch (dr)
            {
                case DialogResult.OK :
                    Database.Update.Movies();
                    LoadMovies();
                    break;
                default:
                    break;
            }
        }
Beispiel #2
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            Add_Movie_Menu Amm = new Add_Movie_Menu();
            DialogResult   dr  = Amm.ShowDialog();

            switch (dr)
            {
            case DialogResult.OK:
                Database.Update.Movies();
                LoadMovies();
                break;

            default:
                break;
            }
        }