public InitializeLanguage ( String language ) : void | ||
language | String | |
Résultat | void |
/* Pokerclient language has changed, initialize the new config */ private void cmbPokerClientLanguage_SelectionChangeCommitted(object sender, EventArgs e) { PokerClient client = userSettings.CurrentPokerClient; client.InitializeLanguage(cmbPokerClientLanguage.Text); userSettings.CurrentPokerClient = client; }
/* Pokerclient language has changed, initialize the new config */ private void cmbPokerClientLanguage_SelectionChangeCommitted(object sender, EventArgs e) { PokerClient client = Globals.UserSettings.CurrentPokerClient; client.InitializeLanguage(cmbPokerClientLanguage.Text); // Tell directory that we have changed the client Globals.Director.ChangePokerClient(client); }
/* Pokerclient has changed, store in config and load available languages */ private void cmbPokerClient_SelectionChangeCommitted(object sender, EventArgs e) { PokerClient client = PokerClientsList.Find(cmbPokerClient.Text); client.InitializeLanguage(client.DefaultLanguage); LoadPokerClientLanguages(client); LoadPokerClientThemes(client); userSettings.CurrentPokerClient = client; }
/* Pokerclient has changed, store in config and load available languages */ private void cmbPokerClient_SelectionChangeCommitted(object sender, EventArgs e) { PokerClient client = PokerClientsList.Find(cmbPokerClient.Text); client.InitializeLanguage(client.DefaultLanguage); LoadPokerClientLanguages(client); LoadPokerClientThemes(client); client.SetTheme(cmbPokerClientTheme.Text); Globals.Director.ChangePokerClient(client); // Refresh hand history directory txtHandHistoryDirectory.Text = Globals.UserSettings.StoredHandHistoryDirectory; }