示例#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();
 }
示例#2
0
        private void LoadServerGeneralSettings()
        {
            // reload config files
            LoadAllSettings();

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

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