void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ITUGazeTracker = ((GazeTrackerUI.GazeTrackerUIMainWindow)(target)); #line 12 "..\..\..\GazeTrackerUIMainWindow.xaml" this.ITUGazeTracker.Closing += new System.ComponentModel.CancelEventHandler(this.ITUGazeTracker_Closing); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.GridMain = ((System.Windows.Controls.Grid)(target)); return; case 4: this.GridBase = ((System.Windows.Controls.Grid)(target)); return; case 5: this.GridTop = ((System.Windows.Controls.Grid)(target)); return; case 6: this.Title = ((System.Windows.Controls.Label)(target)); #line 22 "..\..\..\GazeTrackerUIMainWindow.xaml" this.Title.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow); #line default #line hidden return; case 7: #line 34 "..\..\..\GazeTrackerUIMainWindow.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow); #line default #line hidden return; case 8: this.GridCamerImage = ((System.Windows.Controls.Grid)(target)); return; case 9: this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target)); return; case 10: this.GridVideoImage = ((System.Windows.Controls.Grid)(target)); return; case 11: this.videoImageControl = ((GazeTrackerUI.TrackerViewer.VideoImageControl)(target)); return; case 12: this.menuBarIcons = ((GazeTrackerUI.MenubarIconsUserControl)(target)); return; case 13: this.ProgressBarTrackingQuality = ((System.Windows.Controls.ProgressBar)(target)); return; case 14: this.ExpanderVisualization = ((System.Windows.Controls.Expander)(target)); return; case 15: this.X = ((System.Windows.Controls.Label)(target)); #line 66 "..\..\..\GazeTrackerUIMainWindow.xaml" this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose); #line default #line hidden return; case 16: this._ = ((System.Windows.Controls.Label)(target)); #line 67 "..\..\..\GazeTrackerUIMainWindow.xaml" this._.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppMinimize); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ITUGazeTracker = ((GazeTrackerUI.GazeTrackerUIMainWindow)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.GridMain = ((System.Windows.Controls.Grid)(target)); return; case 4: this.GridBase = ((System.Windows.Controls.Grid)(target)); return; case 5: this.GridTop = ((System.Windows.Controls.Grid)(target)); return; case 6: #line 34 "..\..\GazeTrackerUIMainWindow.xaml" ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow); #line default #line hidden return; case 7: #line 46 "..\..\GazeTrackerUIMainWindow.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow); #line default #line hidden return; case 8: this.GridCamerImage = ((System.Windows.Controls.Grid)(target)); return; case 9: this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target)); return; case 10: this.GridVideoImage = ((System.Windows.Controls.Grid)(target)); return; case 11: this.videoImageControl = ((GazeTrackerUI.TrackerViewer.VideoImageControl)(target)); return; case 12: this.menuBarIcons = ((GazeTrackerUI.MenubarIconsUserControl)(target)); return; case 13: this.ProgressBarTrackingQuality = ((System.Windows.Controls.ProgressBar)(target)); return; case 14: this.ExpanderVisualization = ((System.Windows.Controls.Expander)(target)); return; case 15: this.GridButtons1 = ((System.Windows.Controls.Grid)(target)); return; case 16: this.rectangle1_Copy = ((System.Windows.Shapes.Rectangle)(target)); return; case 17: this.WrapPanelButtons = ((System.Windows.Controls.WrapPanel)(target)); return; case 18: this.BtnSetup = ((GazeGUIVelocity.Button)(target)); #line 106 "..\..\GazeTrackerUIMainWindow.xaml" this.BtnSetup.Action += new System.Windows.RoutedEventHandler(this.ShowSetupWindow); #line default #line hidden return; case 19: this.BtnCalibrate = ((GazeGUIVelocity.Button)(target)); #line 107 "..\..\GazeTrackerUIMainWindow.xaml" this.BtnCalibrate.Action += new System.Windows.RoutedEventHandler(this.Calibrate); #line default #line hidden return; case 20: this.BtnStartStop = ((GazeGUIVelocity.Button)(target)); #line 108 "..\..\GazeTrackerUIMainWindow.xaml" this.BtnStartStop.Action += new System.Windows.RoutedEventHandler(this.StartStop); #line default #line hidden return; case 21: this.X = ((System.Windows.Controls.Label)(target)); #line 114 "..\..\GazeTrackerUIMainWindow.xaml" this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose); #line default #line hidden return; case 22: this._ = ((System.Windows.Controls.Label)(target)); #line 115 "..\..\GazeTrackerUIMainWindow.xaml" this._.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppMinimize); #line default #line hidden return; } this._contentLoaded = true; }