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

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

            case 3:
                this.FlightPlaning = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.FlightPlaning.Click += new System.Windows.RoutedEventHandler(this.FlightPlaning_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.view = ((System.Windows.Controls.UserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: MainWindow.g.i.cs プロジェクト: Yumi-Romain/aa
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((back.MainWindow)(target));
                return;

            case 2:
                this.view = ((System.Windows.Controls.UserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }