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

            #line 13 "..\..\..\Windows\AdminWindow.xaml"
                this.RE_AdminWindow.Loaded += new System.Windows.RoutedEventHandler(this.RE_AdminWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TI_AdminView = ((RealEstate.Views.AdminViews.AdminView)(target));
                return;

            case 3:
                this.TI_AgentView = ((RealEstate.Views.AdminViews.AgentView)(target));
                return;

            case 4:
                this.TI_ClientView = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RE_AdminWindow = ((RealEstate.Windows.AdminWindow)(target));
     
     #line 13 "..\..\..\Windows\AdminWindow.xaml"
     this.RE_AdminWindow.Loaded += new System.Windows.RoutedEventHandler(this.RE_AdminWindow_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.TI_AdminView = ((RealEstate.Views.AdminViews.AdminView)(target));
     return;
     case 3:
     this.TI_AgentView = ((RealEstate.Views.AdminViews.AgentView)(target));
     return;
     case 4:
     this.TI_ClientView = ((System.Windows.Controls.TabItem)(target));
     return;
     }
     this._contentLoaded = true;
 }