Ejemplo n.º 1
0
        internal void ShowRules()
        {
            if (!ServiceGateway.IsStarted)
            {
                _FormMain.ShowMessageBox("Sorry but you can't view rules while service is stopped.");
            }
            else
            {
                CloseAll();

                _FormMain.SelectedPage = FormMainPage.Rules;

                ((RulesetGrid)_FormMain.DisplayedControl).RuleSet = ServiceGateway.ServiceInterface.GetRuleset();
            }
        }