예제 #1
0
 private void HealingEditBtn_Click(object sender, RoutedEventArgs e)
 {
     Button button = sender as Button;
     var dataContext = button.DataContext;
     HealRule healrule = (HealRule)dataContext;
     windowHealRuleWindow = new HealerAddEditHealRule(healrule);
     windowHealRuleWindow.Owner = this;
     windowHealRuleWindow.ShowDialog();
 }
예제 #2
0
 private void HealerNewRule_Click(object sender, RoutedEventArgs e)
 {
     windowHealRuleWindow = new HealerAddEditHealRule();
     windowHealRuleWindow.Owner = this;
     windowHealRuleWindow.ShowDialog();
 }