void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.windowChart = ((SymtChartLib.WindowChart)(target)); return; } this._contentLoaded = true; }
//public List<Trace> Traces { get; set; } public void AddWindow() { //WindowInfo wInfo = new WindowInfo(); //wInfo.Name = "window" + (Windows.Count + 1).ToString(); //Windows.Add(wInfo); DevExpress.Xpf.Docking.LayoutPanel lpl = new DevExpress.Xpf.Docking.LayoutPanel(); //lpl.Caption = wInfo.Name; WindowChart wChart = new WindowChart(); wChart.Name = "window" + (panels.Count + 1).ToString(); lpl.Caption = wChart.Name; lpl.Content = wChart; lpl.Content = wChart; DockPanels.Add(lpl); panels.Add(lpl); Windows.Add(wChart); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 24 "..\..\..\DataDisplay\ResultDisplay.xaml" ((MeasurementUI.ResultDisplay)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.DockingDemoModule_Unloaded); #line default #line hidden return; case 2: this.grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.dockLayoutManager1 = ((DevExpress.Xpf.Docking.DockLayoutManager)(target)); #line 183 "..\..\..\DataDisplay\ResultDisplay.xaml" this.dockLayoutManager1.DockOperationCompleted += new DevExpress.Xpf.Docking.Base.DockOperationCompletedEventHandler(this.dockLayoutManager1_DockOperationCompleted); #line default #line hidden return; case 4: this.documentGroup2 = ((DevExpress.Xpf.Docking.DocumentGroup)(target)); return; case 5: this.inputDocumentPanel = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 6: this.inputGrid = ((System.Windows.Controls.Grid)(target)); return; case 7: this.remarksPanel = ((System.Windows.Controls.StackPanel)(target)); return; case 8: this.flowDocumentPanel = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 9: this.tabcontrol = ((System.Windows.Forms.TabControl)(target)); return; case 10: this.documentGroup1 = ((DevExpress.Xpf.Docking.DocumentGroup)(target)); return; case 11: this.documentPanle2 = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 12: this.loopGridControl = ((DevExpress.Xpf.Grid.GridControl)(target)); #line 220 "..\..\..\DataDisplay\ResultDisplay.xaml" this.loopGridControl.CustomColumnDisplayText += new DevExpress.Xpf.Grid.CustomColumnDisplayTextEventHandler(this.loopGridControl_CustomColumnDisplayText); #line default #line hidden return; case 13: this.dpChart2 = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 14: this.InterfaceChart2 = ((SymtChartLib.WindowChart)(target)); return; case 15: this.documentGroup3 = ((DevExpress.Xpf.Docking.DocumentGroup)(target)); return; case 16: this.passFailDocumentPanel = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 17: this.passFailGrid = ((System.Windows.Controls.Grid)(target)); return; case 18: this.listBoxStep = ((System.Windows.Controls.ListBox)(target)); return; case 19: this.documentGroup4 = ((DevExpress.Xpf.Docking.DocumentGroup)(target)); return; case 20: this.documentPanel1 = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 21: this.contentControl = ((System.Windows.Controls.ContentControl)(target)); return; case 22: this.Start = ((System.Windows.Controls.Button)(target)); #line 285 "..\..\..\DataDisplay\ResultDisplay.xaml" this.Start.Click += new System.Windows.RoutedEventHandler(this.Start_Click); #line default #line hidden return; case 23: this.documentPanel2 = ((DevExpress.Xpf.Docking.DocumentPanel)(target)); return; case 24: this.listBoxStep2 = ((System.Windows.Controls.ListBox)(target)); #line 297 "..\..\..\DataDisplay\ResultDisplay.xaml" this.listBoxStep2.KeyDown += new System.Windows.Input.KeyEventHandler(this.listBoxStep2_KeyDown); #line default #line hidden return; case 26: this.btnPause = ((System.Windows.Controls.Button)(target)); #line 318 "..\..\..\DataDisplay\ResultDisplay.xaml" this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click); #line default #line hidden return; case 27: this.btnStop = ((System.Windows.Controls.Button)(target)); #line 321 "..\..\..\DataDisplay\ResultDisplay.xaml" this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click); #line default #line hidden return; case 28: this.btnBack = ((System.Windows.Controls.Button)(target)); #line 324 "..\..\..\DataDisplay\ResultDisplay.xaml" this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click); #line default #line hidden return; case 29: this.btnFinish = ((System.Windows.Controls.Button)(target)); #line 328 "..\..\..\DataDisplay\ResultDisplay.xaml" this.btnFinish.Click += new System.Windows.RoutedEventHandler(this.btnFinish_Click); #line default #line hidden return; case 30: this.navigateDocumentPanel = ((DevExpress.Xpf.Docking.LayoutPanel)(target)); return; case 31: this.combTestSpec = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target)); #line 357 "..\..\..\DataDisplay\ResultDisplay.xaml" this.combTestSpec.SelectedIndexChanged += new System.Windows.RoutedEventHandler(this.combTestSpec_SelectedIndexChanged); #line default #line hidden return; case 32: this.txtBoxSearch = ((System.Windows.Controls.TextBox)(target)); #line 366 "..\..\..\DataDisplay\ResultDisplay.xaml" this.txtBoxSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtBoxSearch_KeyDown); #line default #line hidden return; case 33: this.btnSearch = ((System.Windows.Controls.Button)(target)); #line 367 "..\..\..\DataDisplay\ResultDisplay.xaml" this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click); #line default #line hidden return; case 34: this.treeView = ((System.Windows.Controls.TreeView)(target)); #line 370 "..\..\..\DataDisplay\ResultDisplay.xaml" this.treeView.AddHandler(System.Windows.Controls.TreeViewItem.SelectedEvent, new System.Windows.RoutedEventHandler(this.treeView_Selected)); #line default #line hidden return; case 35: this.treeItem = ((System.Windows.Controls.TreeViewItem)(target)); return; case 36: this.expandAllItem = ((System.Windows.Controls.MenuItem)(target)); #line 390 "..\..\..\DataDisplay\ResultDisplay.xaml" this.expandAllItem.Click += new System.Windows.RoutedEventHandler(this.expandAllItem_Click); #line default #line hidden return; case 37: this.UnexpandAllItem = ((System.Windows.Controls.MenuItem)(target)); #line 391 "..\..\..\DataDisplay\ResultDisplay.xaml" this.UnexpandAllItem.Click += new System.Windows.RoutedEventHandler(this.UnexpandAllItem_Click); #line default #line hidden return; case 38: this.IsAddToChart = ((System.Windows.Controls.MenuItem)(target)); #line 392 "..\..\..\DataDisplay\ResultDisplay.xaml" this.IsAddToChart.Click += new System.Windows.RoutedEventHandler(this.IsAddToChart_Click); #line default #line hidden return; case 39: #line 403 "..\..\..\DataDisplay\ResultDisplay.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; } this._contentLoaded = true; }