예제 #1
0
 private void btLoad_Click(object sender, RoutedEventArgs e)
 {
     if (LbCharacters.SelectedItem != null)
     {
         var cnc = new CreateNewCharacter(LbCharacters.SelectedItem as Character);
         cnc.Show();
         Close();
     }
     else
     {
         MessageBox.Show("Please Select a Character to Load");
     }
 }
예제 #2
0
 private void btLoad_Click( object sender, RoutedEventArgs e )
 {
     if (LbCharacters.SelectedItem != null)
     {
         var cnc = new CreateNewCharacter(LbCharacters.SelectedItem as Character);
         cnc.Show();
         Close();
     }
     else
     {
         MessageBox.Show("Please Select a Character to Load");
     }
 }
예제 #3
0
 private void menuCreateNewCharacter_Click( object sender, RoutedEventArgs e )
 {
     MyCharacter = ServerConnection.LocalServiceClient.GetBlankCharacter(LocalCient);
     var cnc = new CreateNewCharacter(MyCharacter);
     cnc.ShowDialog();
 }