void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((BMC.Presentation.LicenseActivation)(target));
     
     #line 2 "..\..\LicenseActivation.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Root = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.grdLoginFields = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.lblMessage = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.txtLicenseKey = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\LicenseActivation.xaml"
     this.txtLicenseKey.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtLicenseKey_PreviewMouseUp);
     
     #line default
     #line hidden
     return;
     case 6:
     this.lblKey = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.btnActivate = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\LicenseActivation.xaml"
     this.btnActivate.Click += new System.Windows.RoutedEventHandler(this.btnActivate_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\LicenseActivation.xaml"
     this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnExit = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\LicenseActivation.xaml"
     this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.statusbaritemlblStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.statusbaritempbStatus = ((System.Windows.Controls.ProgressBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((BMC.Presentation.LicenseActivation)(target));

            #line 2 "..\..\LicenseActivation.xaml"
                this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Root = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.grdLoginFields = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.txtLicenseKey = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\LicenseActivation.xaml"
                this.txtLicenseKey.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtLicenseKey_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.lblKey = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 30 "..\..\LicenseActivation.xaml"
                this.btnActivate.Click += new System.Windows.RoutedEventHandler(this.btnActivate_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\LicenseActivation.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnExit = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\LicenseActivation.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.statusbaritemlblStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.statusbaritempbStatus = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }