Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.CanvasCalibration = ((GazeTrackerUI.Tools.DragCanvasControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.componentPlacingWindow = ((GazeTrackerUI.SettingsUI.ComponentPlacingWindow)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.LabelCloseX = ((System.Windows.Controls.Label)(target));
     
     #line 21 "..\..\..\..\Settings\ComponentPlacingWindow.xaml"
     this.LabelCloseX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HideWindow);
     
     #line default
     #line hidden
     return;
     case 4:
     this.GridLeftPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     
     #line 36 "..\..\..\..\Settings\ComponentPlacingWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);
     
     #line default
     #line hidden
     return;
     case 6:
     this.GridCanvas = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.GridDisplay = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.labelSelectIR = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.labelDrag = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.dragCanvas = ((GazeTrackerUI.Tools.DragCanvasControl)(target));
     return;
     case 11:
     this.GridBottomMenu = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.comboBoxNumberIR = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 13:
     this.BtnSave = ((GazeGUIVelocity.Button)(target));
     
     #line 124 "..\..\..\..\Settings\ComponentPlacingWindow.xaml"
     this.BtnSave.Action += new System.Windows.RoutedEventHandler(this.Save);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.componentPlacingWindow = ((GazeTrackerUI.Settings.ComponentPlacingWindow)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.LabelCloseX = ((System.Windows.Controls.Label)(target));

            #line 21 "..\..\..\Settings\ComponentPlacingWindow.xaml"
                this.LabelCloseX.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HideWindow);

            #line default
            #line hidden
                return;

            case 4:
                this.GridLeftPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:

            #line 36 "..\..\..\Settings\ComponentPlacingWindow.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragWindow);

            #line default
            #line hidden
                return;

            case 6:
                this.GridCanvas = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.GridDisplay = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.labelSelectIR = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.labelDrag = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.dragCanvas = ((GazeTrackerUI.Tools.DragCanvasControl)(target));
                return;

            case 11:
                this.GridBottomMenu = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.comboBoxNumberIR = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.BtnSave = ((GazeGUIVelocity.Button)(target));

            #line 124 "..\..\..\Settings\ComponentPlacingWindow.xaml"
                this.BtnSave.Action += new System.Windows.RoutedEventHandler(this.Save);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }