Пример #1
0
 public void Init(Service setService)
 {
     service = setService;
     viewModel = new ParticleEditorViewModel(service);
     DataContext = viewModel;
     AttachToUpdateEvents();
 }
 public void Init(Service setService)
 {
     service     = setService;
     viewModel   = new ParticleEditorViewModel(service);
     DataContext = viewModel;
     AttachToUpdateEvents();
 }