public AnalyzingWindow(Options options) { this.InitializeComponent(); this.analyzingViewModel_0 = new AnalyzingViewModel(); this.analysis_0 = new Analysis(options.Directory); this.analysis_0.Options = options; base.DataContext = this.analyzingViewModel_0; base.Loaded += new RoutedEventHandler(this.AnalyzingWindow_Loaded); }
public AnalyzingWindow(Options options) { InitializeComponent(); _analyzingViewModel = new AnalyzingViewModel(); Analysis = new Analysis(options.Directory); Analysis.Options = options; base.DataContext = _analyzingViewModel; base.Loaded += new RoutedEventHandler(AnalyzingWindow_Loaded); }