Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((ems.MainWindow)(target));
                return;

            case 2:
                this.mainWindowBg = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.actionPanelShadow = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.actionPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.statusbar = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 31 "..\..\MyWindow.xaml"
                this.btnMainClose.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnMainClose_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 7:
                this.btnMainMaximize = ((System.Windows.Controls.Image)(target));

            #line 32 "..\..\MyWindow.xaml"
                this.btnMainMaximize.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnMainMaximize_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 8:
                this.btnMainMinimze = ((System.Windows.Controls.Image)(target));

            #line 33 "..\..\MyWindow.xaml"
                this.btnMainMinimze.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnMainMinimze_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 9:
                this.resizeBarUp = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.statusbarTime = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 42 "..\..\MyWindow.xaml"
                this.btnBack.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnBack_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            case 13:
                this.fabShadow = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 14:
                this.fab = ((System.Windows.Shapes.Ellipse)(target));

            #line 48 "..\..\MyWindow.xaml"
                this.fab.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.fab_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 48 "..\..\MyWindow.xaml"
                this.fab.MouseEnter += new System.Windows.Input.MouseEventHandler(this.fab_MouseEnter);

            #line default
            #line hidden

            #line 48 "..\..\MyWindow.xaml"
                this.fab.MouseLeave += new System.Windows.Input.MouseEventHandler(this.fab_MouseLeave);

            #line default
            #line hidden
                return;

            case 15:
                this.fabTask = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.border = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((ems.MainWindow)(target));
                return;

            case 2:
                this.mainWindowBg = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.actionPanelShadow = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.border = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.actionPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.statusbar = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.btnMainClose = ((System.Windows.Controls.Image)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.btnMainClose.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnMainClose_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 8:
                this.btnMainMaximize = ((System.Windows.Controls.Image)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.btnMainMaximize.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnMainMaximize_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 9:
                this.btnMainMinimze = ((System.Windows.Controls.Image)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.btnMainMinimze.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnMainMinimze_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 10:
                this.btnMainMove = ((System.Windows.Controls.Image)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.btnMainMove.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnMainMove_MouseDown);

            #line default
            #line hidden
                return;

            case 11:
                this.statusbarTime = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.btnMainBack = ((System.Windows.Controls.Image)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.btnMainBack.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnBack_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            case 14:
                this.credentialScreenShadow = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.credentialScreen = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.loginName = ((System.Windows.Controls.TextBox)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.loginName.GotFocus += new System.Windows.RoutedEventHandler(this.name_GotFocus);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.loginName.LostFocus += new System.Windows.RoutedEventHandler(this.name_LostFocus);

            #line default
            #line hidden

            #line 78 "..\..\MainWindow.xaml"
                this.loginName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.loginName_TextChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.loginPassword = ((System.Windows.Controls.TextBox)(target));

            #line 89 "..\..\MainWindow.xaml"
                this.loginPassword.GotFocus += new System.Windows.RoutedEventHandler(this.password_GotFocus);

            #line default
            #line hidden

            #line 89 "..\..\MainWindow.xaml"
                this.loginPassword.LostFocus += new System.Windows.RoutedEventHandler(this.password_LostFocus);

            #line default
            #line hidden

            #line 89 "..\..\MainWindow.xaml"
                this.loginPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.loginPassword_TextChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.signUpScreenShadow = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.signUpScreen = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.name = ((System.Windows.Controls.TextBox)(target));

            #line 112 "..\..\MainWindow.xaml"
                this.name.GotFocus += new System.Windows.RoutedEventHandler(this.name_GotFocus);

            #line default
            #line hidden

            #line 112 "..\..\MainWindow.xaml"
                this.name.LostFocus += new System.Windows.RoutedEventHandler(this.name_LostFocus);

            #line default
            #line hidden

            #line 112 "..\..\MainWindow.xaml"
                this.name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.password = ((System.Windows.Controls.TextBox)(target));

            #line 123 "..\..\MainWindow.xaml"
                this.password.GotFocus += new System.Windows.RoutedEventHandler(this.password_GotFocus);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow.xaml"
                this.password.LostFocus += new System.Windows.RoutedEventHandler(this.password_LostFocus);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow.xaml"
                this.password.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.cell = ((System.Windows.Controls.TextBox)(target));

            #line 134 "..\..\MainWindow.xaml"
                this.cell.GotFocus += new System.Windows.RoutedEventHandler(this.cell_GotFocus);

            #line default
            #line hidden

            #line 134 "..\..\MainWindow.xaml"
                this.cell.LostFocus += new System.Windows.RoutedEventHandler(this.cell_LostFocus);

            #line default
            #line hidden

            #line 134 "..\..\MainWindow.xaml"
                this.cell.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.email = ((System.Windows.Controls.TextBox)(target));

            #line 145 "..\..\MainWindow.xaml"
                this.email.GotFocus += new System.Windows.RoutedEventHandler(this.email_GotFocus);

            #line default
            #line hidden

            #line 145 "..\..\MainWindow.xaml"
                this.email.LostFocus += new System.Windows.RoutedEventHandler(this.email_LostFocus);

            #line default
            #line hidden

            #line 145 "..\..\MainWindow.xaml"
                this.email.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.typeSelectionScreenShadow = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.typeSelectionScreen = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.loginRbGroup = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 27:
                this.loginAdminImg = ((System.Windows.Controls.Image)(target));

            #line 171 "..\..\MainWindow.xaml"
                this.loginAdminImg.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.loginAdminImg_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 28:
                this.loginManagerImg = ((System.Windows.Controls.Image)(target));

            #line 172 "..\..\MainWindow.xaml"
                this.loginManagerImg.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.loginManagerImg_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 29:
                this.loginUserImg = ((System.Windows.Controls.Image)(target));

            #line 173 "..\..\MainWindow.xaml"
                this.loginUserImg.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.loginUserImg_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 30:
                this.loginAdminRb = ((System.Windows.Controls.RadioButton)(target));

            #line 174 "..\..\MainWindow.xaml"
                this.loginAdminRb.Click += new System.Windows.RoutedEventHandler(this.loginAdminRb_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.loginManagerRb = ((System.Windows.Controls.RadioButton)(target));

            #line 175 "..\..\MainWindow.xaml"
                this.loginManagerRb.Click += new System.Windows.RoutedEventHandler(this.loginManagerRb_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.loginUserRb = ((System.Windows.Controls.RadioButton)(target));

            #line 176 "..\..\MainWindow.xaml"
                this.loginUserRb.Click += new System.Windows.RoutedEventHandler(this.loginUserRb_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.welcomeScreenShadow = ((System.Windows.Controls.Grid)(target));
                return;

            case 34:
                this.welcomeScreen = ((System.Windows.Controls.Grid)(target));
                return;

            case 35:
                this.logInBtn = ((System.Windows.Controls.Label)(target));

            #line 189 "..\..\MainWindow.xaml"
                this.logInBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.logInBtn_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 36:
                this.signUpBtn = ((System.Windows.Controls.Label)(target));

            #line 192 "..\..\MainWindow.xaml"
                this.signUpBtn.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.signUpBtn_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 37:
                this.fabShadow = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 38:
                this.fabBg = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 39:
                this.fabTask = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.fab = ((System.Windows.Shapes.Ellipse)(target));

            #line 201 "..\..\MainWindow.xaml"
                this.fab.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.fab_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 201 "..\..\MainWindow.xaml"
                this.fab.MouseEnter += new System.Windows.Input.MouseEventHandler(this.fab_MouseEnter);

            #line default
            #line hidden

            #line 201 "..\..\MainWindow.xaml"
                this.fab.MouseLeave += new System.Windows.Input.MouseEventHandler(this.fab_MouseLeave);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }