Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Concat.ProgressWindow)(target));
                return;

            case 2:
                this.TextBlockProcessing = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 4:
                this.TextBlockOf = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.TextBlockTotal = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 32 "..\..\ProgressWindow.xaml"
                this.ButtonCancel.Click += new System.Windows.RoutedEventHandler(this.CancelClick);

            #line default
            #line hidden
                return;

            case 7:
                this.ButtonStart = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\ProgressWindow.xaml"
                this.ButtonStart.Click += new System.Windows.RoutedEventHandler(this.ButtonStart_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Concat.ProgressWindow)(target));
     return;
     case 2:
     this.TextBlockProcessing = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.TextBlockCurrent = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.TextBlockOf = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.TextBlockTotal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.ButtonCancel = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\ProgressWindow.xaml"
     this.ButtonCancel.Click += new System.Windows.RoutedEventHandler(this.CancelClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ButtonStart = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\ProgressWindow.xaml"
     this.ButtonStart.Click += new System.Windows.RoutedEventHandler(this.ButtonStart_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }