예제 #1
0
파일: BetTree.xaml.cs 프로젝트: ddksaku/rzr
 public void LoadWizard(PartialGenerator generator)
 {
     generator.GetPartialTree(_activeModel);
     MainTree.RefreshNodes(_activeModel);
     CloseWizardDialog();
 }
예제 #2
0
파일: BetTree.xaml.cs 프로젝트: ddksaku/rzr
 public void ShowWizardDialog(TreePartialMeta meta)
 {
     PartialGenerator generator = new PartialGenerator(meta, Controller, _activeModel, Controller.Service);
     WizardDialogue.DataContext = generator;
     WizardEditor.Visibility = Visibility.Visible;
 }
예제 #3
0
 protected void SetModel(object sender, DependencyPropertyChangedEventArgs e)
 {
     _model = this.DataContext as PartialGenerator;
     if (_model == null) return;
 }