コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Info = ((combination1.controls.Info)(target));
                return;

            case 2:
                this.Joystick = ((combination1.controls.joystick)(target));
                return;

            case 3:
                this.Graph = ((combination1.controls.Graph)(target));
                return;

            case 4:
                this.FGC = ((combination1.controls.FGCommunication)(target));
                return;

            case 5:
                this.timeSlider = ((combination1.controls.timeSlider)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Info = ((combination1.controls.Info)(target));
                return;

            case 2:
                this.Joystick = ((combination1.controls.joystick)(target));
                return;

            case 3:
                this.Graph = ((combination1.controls.Graph)(target));
                return;

            case 4:
                this.FGC = ((combination1.controls.FGCommunication)(target));
                return;

            case 5:
                this.timeSlider = ((combination1.controls.timeSlider)(target));
                return;

            case 6:
                this.ExitButton = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click_1);

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