public AnalysisControlTest(ProcessSync communication, Window_ECG parent, TabItem parentTab, SynchronizationContext context) { _context = context; _communication = communication; _analysisEvent = new ToGUIDelegate(analysisEventHandler); _communication.ToGUIEvent += _analysisEvent; _parent = parent; _parentTab = parentTab; InitializeComponent(); }
public AnalysisControl(ProcessSync communication, Window_ECG parent, TabItem parentTab, SynchronizationContext context, string analysisName) : this(communication, parent, parentTab, context) { this.AnalysisName = analysisName; }
protected override void OnStartup(StartupEventArgs startEvent) { Window_ECG mainWindow = new Window_ECG(this); this.MainWindow = mainWindow; mainWindow.Show(); }