Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 3 "..\..\LoadingWindow.xaml"
                ((DataGenerator.LoadingWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 4 "..\..\LoadingWindow.xaml"
                ((DataGenerator.LoadingWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.loading = ((DataGenerator.Controls.LoadingWait)(target));
                return;

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

            case 4:
                this.tbMsg = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.loadedControl = ((DataGenerator.Controls.LoadedControl)(target));
                return;

            case 2:
                this.loading = ((DataGenerator.Controls.LoadingWait)(target));
                return;

            case 3:
                this.lab = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }