예제 #1
0
 private void onBtn_ChangeSkill4(object sender, RoutedEventArgs e)
 {
     if (dgWarrior.SelectedItem != null)
     {
         SkillPickWindow skillPickWindow = new SkillPickWindow();
         if (skillPickWindow.ShowDialog() == true)
         {
             (dgWarrior.SelectedItem as DataRowView)["SkillD"] = "[" + skillPickWindow.PickedSkillType + "]";
         }
     }
 }
예제 #2
0
 private void onBtn_ChangeSkill4(object sender, RoutedEventArgs e)
 {
     if (dgWarrior.SelectedItem != null)
     {
         SkillPickWindow skillPickWindow = new SkillPickWindow();
         if (skillPickWindow.ShowDialog() == true)
         {
             (dgWarrior.SelectedItem as DataRowView)["SkillD"] = "[" + skillPickWindow.PickedSkillType + "]";
         }
     }
 }