Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\Window2.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 15 "..\..\Window2.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 3:
                this.info_resultados = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.grafico = ((HelloApp1.UserControl1)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.info_resultados = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.grafico = ((HelloApp1.UserControl1)(target));
                return;
            }
            this._contentLoaded = true;
        }