コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((BMC.Presentation.About)(target));

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

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.BGLayer = ((System.Windows.Controls.Viewbox)(target));
                return;

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

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

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

            case 7:
                this.CompanyName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.CopyRight = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((BMC.Presentation.About)(target));
     
     #line 6 "..\..\About.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.BGLayer = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 4:
     this.txtVersion = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.ProductName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.ProductVersion = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.CompanyName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.CopyRight = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.btnExit = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\About.xaml"
     this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }