示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\LoginWindow.xaml"
                ((HeaviSoft.Documentor.Presentation.Login.LoginWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 21 "..\..\LoginWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.CTBoxUserName = ((HeaviSoft.FrameworkBase.Component.CustomTextBox)(target));
                return;

            case 4:
                this.CPBoxPassword = ((HeaviSoft.FrameworkBase.Component.CustomPasswordBox)(target));
                return;

            case 5:

            #line 28 "..\..\LoginWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 33 "..\..\LoginWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSubmit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\LoginWindow.xaml"
     ((HeaviSoft.Documentor.Presentation.Login.LoginWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 21 "..\..\LoginWindow.xaml"
     ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.CTBoxUserName = ((HeaviSoft.FrameworkBase.Component.CustomTextBox)(target));
     return;
     case 4:
     this.CPBoxPassword = ((HeaviSoft.FrameworkBase.Component.CustomPasswordBox)(target));
     return;
     case 5:
     
     #line 28 "..\..\LoginWindow.xaml"
     ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Hyperlink_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 33 "..\..\LoginWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSubmit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }