Пример #1
0
        private void NewParsing_Click(object sender, RoutedEventArgs e)
        {
            NewParsing np = new NewParsing();

            this.Visibility = Visibility.Hidden;
            np.ShowDialog();
            this.Visibility = Visibility.Visible;
        }
Пример #2
0
        private void EKParcing_Click(object sender, RoutedEventArgs e)
        {
            MContext   mc   = new MContext();
            List <SKU> lsku = mc.SKUs.Where(x => x.TotalPrice == 0 && x.Enable == true && (x.UrlHotline != null && x.UrlHotline != string.Empty)).ToList();
            NewParsing np   = new NewParsing(lsku);

            this.Visibility = Visibility.Hidden;
            np.ShowDialog();
            this.Visibility = Visibility.Visible;
        }