Exemplo n.º 1
0
 private void LoadAllSettings()
 {
     laucherSettings      = new LauncherSettings();
     serverSettings       = new ServerSettings(System.IO.Path.Combine(laucherSettings.GetServerLocation(), "data"));
     ProfileSettings      = new ProfileSettings(Path.Combine(laucherSettings.GetServerLocation(), "data/profiles"));
     LoginBackendURL.Text = laucherSettings.GetBackendURL();
     Port.Text            = serverSettings.GetServerPort();
 }
Exemplo n.º 2
0
        private void LoadServerGeneralSettings()
        {
            // reload config files
            LoadAllSettings();

            // load the settings
            Port.Text            = serverSettings.GetServerPort();
            LoginBackendURL.Text = laucherSettings.GetBackendURL();
        }
Exemplo n.º 3
0
        private void LoadLoginSettings()
        {
            // reload config files
            LoadAllSettings();

            // load the settings
            LoginEmail.Text      = laucherSettings.GetEmail();
            LoginPassword.Text   = laucherSettings.GetPassword();
            LoginBackendURL.Text = laucherSettings.GetBackendURL();
        }
Exemplo n.º 4
0
 private void LoadAccountSettings()
 {
     Email.Text            = laucherSettings.GetEmail();
     Password.Text         = laucherSettings.GetPassword();
     ClientBackendURL.Text = laucherSettings.GetBackendURL();
 }