protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); MainWindow window = new MainWindow(); MainWindowViewModel viewModel = new MainWindowViewModel(); window.DataContext = viewModel; window.Show(); }
public TexturesToolViewModel(MainWindowViewModel mainWindowModelView, RenderCore renderCore) { m_mainWindowModelView = mainWindowModelView; Core = renderCore; }
public ImporterToolViewModel(MainWindowViewModel mainWindowViewModel, RenderCore theCore) { core = theCore; m_mainWindow = mainWindowViewModel; }
public AnimationToolViewModel(MainWindowViewModel mainWindowViewModel) { m_mainWindow = mainWindowViewModel; }