Inheritance: System.Windows.Window
Example #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();
            }
        }
Example #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();
            }
        }