コード例 #1
0
        //-----------------------------------------------------------------
        #region Supprimer l'Offre de Casting
        private void Delete_Click(object sender, RoutedEventArgs e)
        {
            BDD bdd = new BDD();

            bdd.DeleteCasting();

            var mainwindow = Application.Current.MainWindow as MainWindow;

            mainwindow.Body.Source      = new Uri("Pages/Anglais/Castings/CustomerManagerEn.xaml", UriKind.RelativeOrAbsolute);
            mainwindow.TitleWindow.Text = "Castings Offers Management";
        }