Example #1
0
 /// <summary>
 /// This override is used for Bookmark Processing. It will automatically
 /// call the character from Battle.Net and load it into the form.
 /// </summary>
 /// <param name="characterName">The Name of the Character. Eg- Astrylian</param>
 /// <param name="region">The Region the Character is in. Eg- US</param>
 /// <param name="realm">The Realm the Character is on. Eg- Stormrage</param>
 public void LoadCharacterFromRawr4Repository(string identifier)
 {
     // There shouldn't be any unsaved changes to a character
     // in the form as this is direct from a Bookmark
     Rawr4RepoLoadDialog armoryLoad = new Rawr4RepoLoadDialog();
     armoryLoad.Closed += new EventHandler(rawr4RepoLoad_Closed);
     armoryLoad.Show();
     armoryLoad.Load(identifier);
 }
Example #2
0
 // Rawr4 Repository
 public void LoadFromRawr4Repository(object sender, RoutedEventArgs args)
 {
     if (_unsavedChanges) { NeedToSaveCharacter(); }
     if (CancelToSave) { CancelToSave = false; return; }
     Rawr4RepoLoadDialog armoryLoad = new Rawr4RepoLoadDialog();
     armoryLoad.Closed += new EventHandler(rawr4RepoLoad_Closed);
     armoryLoad.Show();
 }