Exemple #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;
        }
Exemple #2
0
        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;
        }