Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GazeClientWindow = ((WSComUI.MainWindow)(target));

            #line 5 "..\..\MainWindow.xaml"
                this.GazeClientWindow.Closed += new System.EventHandler(this.Window_Closed_1);

            #line default
            #line hidden
                return;

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

            case 3:
                this.DownGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.TextBlockConsole = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.UpGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 7:
                this.SlideSetup = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 8:
                this.ButtonSetup = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.ButtonSetup.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 9:
                this.ButtonConnect = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.ButtonConnect.Click += new System.Windows.RoutedEventHandler(this.ButtonConnect_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.TextBoxSetupAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.LabelSetupAddress = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.ButtonOKAddress = ((System.Windows.Shapes.Rectangle)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.ButtonOKAddress.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseLeftButtonUp_1);

            #line default
            #line hidden
                return;

            case 13:
                this.Title = ((System.Windows.Controls.Label)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.Title.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Title_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 14:
                this.X = ((System.Windows.Controls.Label)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.GazeClientWindow = ((WSComUI.MainWindow)(target));
     
     #line 5 "..\..\MainWindow.xaml"
     this.GazeClientWindow.Closed += new System.EventHandler(this.Window_Closed_1);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.DownGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.TextBlockConsole = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.UpGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.GridControls = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.SlideSetup = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.ButtonSetup = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\MainWindow.xaml"
     this.ButtonSetup.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ButtonConnect = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.ButtonConnect.Click += new System.Windows.RoutedEventHandler(this.ButtonConnect_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.TextBoxSetupAddress = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.LabelSetupAddress = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.ButtonOKAddress = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 29 "..\..\MainWindow.xaml"
     this.ButtonOKAddress.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseLeftButtonUp_1);
     
     #line default
     #line hidden
     return;
     case 13:
     this.Title = ((System.Windows.Controls.Label)(target));
     
     #line 31 "..\..\MainWindow.xaml"
     this.Title.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Title_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 14:
     this.X = ((System.Windows.Controls.Label)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.X.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.AppClose);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }