Exemple #1
0
 public static string RichTextBoxFormat()
 {
     return("|c00FEBA0EName:|r             " + WTS.Get(mapName) + "|n|n" +
            "|c00FEBA0EPlayers:|r           " + WTS.Get(mapPlayers) + "|n|n" +
            "|c00FEBA0EAutor:|r             " + WTS.Get(mapAutor) + "|n|n" +
            "|c00FEBA0EDescription:|r|n|n" + WTS.Get(mapDescription));
 }
Exemple #2
0
        public static void ShowEditBox(bool flag)
        {
            ShowLabel(!flag);

            Wc3Engine.This.mapName_textBox.Text            = WTS.Get(mapName);
            Wc3Engine.This.mapAutor_textBox.Text           = WTS.Get(mapAutor);
            Wc3Engine.This.mapDescription_richTextBox.Text = WTS.Get(mapDescription);
            Wc3Engine.This.mapPlayers_textBox.Text         = WTS.Get(mapPlayers);

            Wc3Engine.This.mapName_textBox.Visible            = flag;
            Wc3Engine.This.mapAutor_textBox.Visible           = flag;
            Wc3Engine.This.mapDescription_richTextBox.Visible = flag;
            Wc3Engine.This.mapPlayers_textBox.Visible         = flag;
        }