예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

            rules = RuleManager.GetAllRules();
            if (rules.Count == 0)
            {
                MessageBox.Show("No rules files were found. Please make sure the rules directory exists and valid rules are present in that directory. Alternately, select \"Open Rule Files\" from the File Menu.", "No Rules Found", MessageBoxButton.OK, MessageBoxImage.Information);
            }
            RefreshUI();
        }