示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ParametersErrorWindow1 = ((PPC.ParametersErrorWindow)(target));
                return;

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

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

            #line 12 "..\..\..\ParametersErrorWindow.xaml"
                this.ErrorButton.Click += new System.Windows.RoutedEventHandler(this.ErrorButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ErrorLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ParametersErrorWindow1 = ((PPC.ParametersErrorWindow)(target));
     return;
     case 2:
     this.MainErrLabel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.ErrorButton = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\ParametersErrorWindow.xaml"
     this.ErrorButton.Click += new System.Windows.RoutedEventHandler(this.ErrorButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ErrorLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }