Esempio n. 1
0
 private void ProductListing_Click(object sender, RoutedEventArgs e)
 {
     ProductViewModel cancel = new ProductViewModel();
     cancel.Cancel_Product();
     Product_Listing _PL = new Product_Listing();
     _PL.ShowDialog();
 }
Esempio n. 2
0
        //private void dataGrid1_RowEditEnding_1(object sender, DataGridRowEditEndingEventArgs e)
        //{

        //    App.Current.Properties["AssembledPro"] = "1";
        //    Product_Listing PL = new Product_Listing();
        //    PL.Show();
        //    App.Current.Properties["AssembledPro"] = null;


        //}

        private void dataGrid1_RowEditEnding_1(object sender, DataGridRowEditEndingEventArgs e)
        {
            App.Current.Properties["AssembledPro"] = "1";
            Product_Listing PL = new Product_Listing();

            PL.Show();
            App.Current.Properties["AssembledPro"] = null;
        }