Inheritance: System.Windows.Window
Ejemplo n.º 1
0
        void OnRulesClicked(object sender, RoutedEventArgs e)
        {
            var wnd = new RulesWindow(LogRules);

            wnd.Owner = this;
            var res = wnd.ShowDialog();

            if (res == true)
            {
                LogRules = wnd.ResultLogRules;

                var dataView = CollectionViewSource.GetDefaultView(logListView.ItemsSource);
                dataView.Refresh();
            }
        }
Ejemplo n.º 2
0
        void OnRulesClicked(object sender, RoutedEventArgs e)
        {
            var wnd = new RulesWindow(LogRules);
            wnd.Owner = this;
            var res = wnd.ShowDialog();
            if (res == true)
            {
                LogRules = wnd.ResultLogRules;

                var dataView = CollectionViewSource.GetDefaultView(logListView.ItemsSource);
                dataView.Refresh();
            }
        }