예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((inventory.View.Login)(target));
                return;

            case 2:

            #line 31 "..\..\..\View\Login.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);

            #line default
            #line hidden
                return;

            case 3:
                this.txt_UserName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.txt_Password = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((inventory.View.Login)(target));
     return;
     case 2:
     
     #line 31 "..\..\..\View\Login.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.txt_UserName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txt_Password = ((System.Windows.Controls.PasswordBox)(target));
     return;
     }
     this._contentLoaded = true;
 }