Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.utama = ((TCHusada.MainWindow)(target));
     return;
     case 2:
     this.FormFade = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 3:
     this.FormFadeAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
     return;
     case 4:
     this.FormFadeOut = ((System.Windows.Media.Animation.Storyboard)(target));
     
     #line 24 "..\..\..\MainWindow.xaml"
     this.FormFadeOut.Completed += new System.EventHandler(this.FormFadeOut_Completed);
     
     #line default
     #line hidden
     return;
     case 5:
     this.FormFadeOutAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
     return;
     case 6:
     this.imgBackground = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.lblUserName = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     
     #line 39 "..\..\..\MainWindow.xaml"
     this.label1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label1_MouseDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.label2 = ((System.Windows.Controls.Label)(target));
     
     #line 40 "..\..\..\MainWindow.xaml"
     this.label2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label2_MouseDown);
     
     #line default
     #line hidden
     return;
     case 10:
     this.txtUserName = ((System.Windows.Controls.TextBox)(target));
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.txtUserName.GotFocus += new System.Windows.RoutedEventHandler(this.txtUserName_GotFocus);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.txtUserName.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.txtUserName_GotMouseCapture);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.txtUserName.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtUserName_KeyDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.image1 = ((System.Windows.Controls.Image)(target));
     
     #line 42 "..\..\..\MainWindow.xaml"
     this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown);
     
     #line default
     #line hidden
     return;
     case 12:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.passwordBox1 = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 45 "..\..\..\MainWindow.xaml"
     this.passwordBox1.GotFocus += new System.Windows.RoutedEventHandler(this.passwordBox1_GotFocus);
     
     #line default
     #line hidden
     
     #line 45 "..\..\..\MainWindow.xaml"
     this.passwordBox1.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.passwordBox1_GotMouseCapture);
     
     #line default
     #line hidden
     
     #line 45 "..\..\..\MainWindow.xaml"
     this.passwordBox1.KeyDown += new System.Windows.Input.KeyEventHandler(this.passwordBox1_KeyDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.label5 = ((System.Windows.Controls.Label)(target));
     
     #line 46 "..\..\..\MainWindow.xaml"
     this.label5.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label5_MouseDown);
     
     #line default
     #line hidden
     return;
     case 16:
     this.labeljam = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.utama = ((TCHusada.MainWindow)(target));
                return;

            case 2:
                this.FormFade = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 3:
                this.FormFadeAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
                return;

            case 4:
                this.FormFadeOut = ((System.Windows.Media.Animation.Storyboard)(target));

            #line 24 "..\..\..\MainWindow.xaml"
                this.FormFadeOut.Completed += new System.EventHandler(this.FormFadeOut_Completed);

            #line default
            #line hidden
                return;

            case 5:
                this.FormFadeOutAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
                return;

            case 6:
                this.imgBackground = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.lblUserName = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label1 = ((System.Windows.Controls.Label)(target));

            #line 39 "..\..\..\MainWindow.xaml"
                this.label1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label1_MouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.label2 = ((System.Windows.Controls.Label)(target));

            #line 40 "..\..\..\MainWindow.xaml"
                this.label2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label2_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.txtUserName = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\..\MainWindow.xaml"
                this.txtUserName.GotFocus += new System.Windows.RoutedEventHandler(this.txtUserName_GotFocus);

            #line default
            #line hidden

            #line 41 "..\..\..\MainWindow.xaml"
                this.txtUserName.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.txtUserName_GotMouseCapture);

            #line default
            #line hidden

            #line 41 "..\..\..\MainWindow.xaml"
                this.txtUserName.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtUserName_KeyDown);

            #line default
            #line hidden
                return;

            case 11:
                this.image1 = ((System.Windows.Controls.Image)(target));

            #line 42 "..\..\..\MainWindow.xaml"
                this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown);

            #line default
            #line hidden
                return;

            case 12:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.passwordBox1 = ((System.Windows.Controls.PasswordBox)(target));

            #line 45 "..\..\..\MainWindow.xaml"
                this.passwordBox1.GotFocus += new System.Windows.RoutedEventHandler(this.passwordBox1_GotFocus);

            #line default
            #line hidden

            #line 45 "..\..\..\MainWindow.xaml"
                this.passwordBox1.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.passwordBox1_GotMouseCapture);

            #line default
            #line hidden

            #line 45 "..\..\..\MainWindow.xaml"
                this.passwordBox1.KeyDown += new System.Windows.Input.KeyEventHandler(this.passwordBox1_KeyDown);

            #line default
            #line hidden
                return;

            case 15:
                this.label5 = ((System.Windows.Controls.Label)(target));

            #line 46 "..\..\..\MainWindow.xaml"
                this.label5.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.label5_MouseDown);

            #line default
            #line hidden
                return;

            case 16:
                this.labeljam = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }