Exemple #1
0
        public void AddToLog(string s)
        {
            if (logRTB.Text.Length > 0)
            {
                richText.AddText("\n\n");
            }

            richText.AddTaggedText(s + "", UIFonts.normalVerdana, Color.White);
        }
Exemple #2
0
        public PropertiesForm()
        {
            InitializeComponent();

            mapDescriptionRichText = new UIRichText(mapDescriptionRTB);

            filePathTextBox.Text = Current.map.Name;
            mapNameTextBox.Text = DHSTRINGS.GetTriggerString(DHJassExecutor.Globals["DHMapName"].StringValue);
            mapDescriptionRichText.AddTaggedText(DHSTRINGS.GetTriggerString(DHJassExecutor.Globals["DHMapDescription"].StringValue), UIFonts.boldVerdana, Color.White);
            mapImagePanel.BackgroundImage = DHRC.GetTgaImage("war3mapPreview.tga");
        }
Exemple #3
0
        public PropertiesForm()
        {
            InitializeComponent();

            mapDescriptionRichText = new UIRichText(mapDescriptionRTB);

            filePathTextBox.Text = Current.map.Name;
            mapNameTextBox.Text  = DHSTRINGS.GetTriggerString(DHJassExecutor.Globals["DHMapName"].StringValue);
            mapDescriptionRichText.AddTaggedText(DHSTRINGS.GetTriggerString(DHJassExecutor.Globals["DHMapDescription"].StringValue), UIFonts.boldVerdana, Color.White);
            mapImagePanel.BackgroundImage = DHRC.GetTgaImage("war3mapPreview.tga");
        }