Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Pages\DevicesPage.xaml"
                ((NuvolaWPF.Pages.DevicesPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.ipsList = ((System.Windows.Controls.ListBox)(target));

            #line 20 "..\..\..\Pages\DevicesPage.xaml"
                this.ipsList.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PlaceholdersListBox_OnPreviewMouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.ipLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.usernameLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.emailLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.cloudSizeLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.sendBtn = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\..\Pages\DevicesPage.xaml"
                this.sendBtn.Click += new System.Windows.RoutedEventHandler(this.sendBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.encryptBtn = ((FirstFloor.ModernUI.Windows.Controls.ModernToggleButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\Pages\UploadPage.xaml"
                ((System.Windows.Controls.ContentControl)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.uploadBtn_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.fileNameLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.isEncrypt = ((FirstFloor.ModernUI.Windows.Controls.ModernToggleButton)(target));
                return;

            case 4:

            #line 24 "..\..\..\Pages\UploadPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.sendBtn_Click);

            #line default
            #line hidden
                return;

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