Forex_Strategy_Builder.Dialogs.Generator.IndicatorsLayout.ShowStatus C# (CSharp) Метод

ShowStatus() приватный Метод

Shows all banned indicators.
private ShowStatus ( ) : void
Результат void
        void ShowStatus()
        {
            string text = "";

            if (bannedEntryIndicators.Count > 0)
            {
                text = "<h2>" + Language.T("Opening Point of the Position") + "</h2>";
                text += "<ul>";
                foreach (string ind in bannedEntryIndicators)
                    text += "<li>" + ind + "</li>";
                text += "</ul>";
            }

            if (bannedEntryFilterIndicators.Count > 0)
            {
                text += "<h2>" + Language.T("Opening Logic Condition") + "</h2>";
                text += "<ul>";
                foreach (string ind in bannedEntryFilterIndicators)
                    text += "<li>" + ind + "</li>";
                text += "</ul>";
            }

            if (bannedExitIndicators.Count > 0)
            {
                text += "<h2>" + Language.T("Closing Point of the Position") + "</h2>";
                text += "<ul>";
                foreach (string ind in bannedExitIndicators)
                    text += "<li>" + ind + "</li>";
                text += "</ul>";
            }

            if (bannedExitFilterIndicators.Count > 0)
            {
                text += "<h2>" + Language.T("Closing Logic Condition") + "</h2>";
                text += "<ul>";
                foreach (string ind in bannedExitFilterIndicators)
                    text += "<li>" + ind + "</li>";
                text += "</ul>";
            }

            Fancy_Message_Box msgbox = new Fancy_Message_Box(text, Language.T("Banned Indicators"));
            msgbox.Show();
        }