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

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

            case 3:
                this.Place_Holder_User = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 10 "..\..\Login.xaml"
                this.UIUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.UIPass = ((System.Windows.Controls.PasswordBox)(target));

            #line 11 "..\..\Login.xaml"
                this.UIPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBox_PasswordChanged);

            #line default
            #line hidden

            #line 11 "..\..\Login.xaml"
                this.UIPass.KeyUp += new System.Windows.Input.KeyEventHandler(this.UIPass_KeyUp);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\Login.xaml"
                this.UIBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIBtn_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 14 "..\..\Login.xaml"
                this.UIBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.UIBtn_MouseEnter);

            #line default
            #line hidden

            #line 14 "..\..\Login.xaml"
                this.UIBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.UIBtn_MouseLeave);

            #line default
            #line hidden

            #line 14 "..\..\Login.xaml"
                this.UIBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.UIBtn_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 14 "..\..\Login.xaml"
                this.UIBtn.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.UIBtn_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 8:
                this.UIWaring = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UIRootView = ((Camera_Final.Login)(target));
     return;
     case 2:
     this.UIView = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.Place_Holder_User = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.Place_Holder_Pass = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.UIUser = ((System.Windows.Controls.TextBox)(target));
     
     #line 10 "..\..\Login.xaml"
     this.UIUser.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.UIPass = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 11 "..\..\Login.xaml"
     this.UIPass.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBox_PasswordChanged);
     
     #line default
     #line hidden
     
     #line 11 "..\..\Login.xaml"
     this.UIPass.KeyUp += new System.Windows.Input.KeyEventHandler(this.UIPass_KeyUp);
     
     #line default
     #line hidden
     return;
     case 7:
     this.UIBtn = ((System.Windows.Controls.TextBlock)(target));
     
     #line 14 "..\..\Login.xaml"
     this.UIBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UIBtn_MouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 14 "..\..\Login.xaml"
     this.UIBtn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.UIBtn_MouseEnter);
     
     #line default
     #line hidden
     
     #line 14 "..\..\Login.xaml"
     this.UIBtn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.UIBtn_MouseLeave);
     
     #line default
     #line hidden
     
     #line 14 "..\..\Login.xaml"
     this.UIBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.UIBtn_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 14 "..\..\Login.xaml"
     this.UIBtn.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.UIBtn_PreviewMouseUp);
     
     #line default
     #line hidden
     return;
     case 8:
     this.UIWaring = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }