Пример #1
0
 public ChosenLanguge()
 {
     eng     = new English();
     hun     = new Hungarian();
     name    = eng.name;
     mark    = eng.mark;
     Content = eng.Content;
 }
Пример #2
0
 public Hungarian()
 {
     Content = new LanguageContent
     {
         LoginWindow_Input       = "Írd be a mester-kulcsot:",
         LoginWindow_Title       = "Bejelentkezés",
         LoginWindow_LoginButton = "Belépek!"
     };
 }
Пример #3
0
 public English()
 {
     Content = new LanguageContent
     {
         LoginWindow_Input       = "Type in the master-key:",
         LoginWindow_Title       = "Login",
         LoginWindow_LoginButton = "LoginButton"
     };
 }
Пример #4
0
 public void ChoseType(string type)
 {
     if (type == "HU")
     {
         name    = hun.name;
         mark    = hun.mark;
         Content = hun.Content;
     }
     else if (type == "EN")
     {
         name    = eng.name;
         mark    = eng.mark;
         Content = eng.Content;
     }
 }