Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.signaturePanel = ((Telerik.Windows.Controls.FixedDocumentViewersUI.SignaturePanel)(target));
                return;

            case 2:
                this.pdfViewer = ((Telerik.Windows.Controls.RadPdfViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ErpDocumentView = ((GGGC.Admin.Views.DocumentView)(target));
                return;

            case 2:
                this.Print = ((Telerik.Windows.Controls.RadButton)(target));
                return;

            case 3:
                this.Save = ((Telerik.Windows.Controls.RadButton)(target));
                return;

            case 4:
                this.pdfViewer = ((Telerik.Windows.Controls.RadPdfViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\..\..\..\ERP\Modules\LRG\Databooks\Views\DatabookView.xaml"
                ((GGGC.Admin.ERP.Modules.LRG.Databooks.Views.DatabookView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.mainPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 4:
                this.btnClose = ((System.Windows.Controls.Border)(target));

            #line 36 "..\..\..\..\..\..\..\ERP\Modules\LRG\Databooks\Views\DatabookView.xaml"
                this.btnClose.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnClose_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 6:
                this.containerColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 7:
                this.tbCurrentPage = ((System.Windows.Controls.TextBox)(target));

            #line 93 "..\..\..\..\..\..\..\ERP\Modules\LRG\Databooks\Views\DatabookView.xaml"
                this.tbCurrentPage.KeyDown += new System.Windows.Input.KeyEventHandler(this.tbCurrentPage_KeyDown);

            #line default
            #line hidden
                return;

            case 8:
                this.PART_btnZoomOut = ((Telerik.Windows.Controls.RadButton)(target));
                return;

            case 9:
                this.fitToWidthButton = ((Telerik.Windows.Controls.RadToggleButton)(target));
                return;

            case 10:
                this.fitToPageButton = ((Telerik.Windows.Controls.RadToggleButton)(target));
                return;

            case 11:
                this.pdfViewer = ((Telerik.Windows.Controls.RadPdfViewer)(target));
                return;

            case 12:
                this.menu = ((Telerik.Windows.Controls.RadContextMenu)(target));
                return;

            case 13:

            #line 183 "..\..\..\..\..\..\..\ERP\Modules\LRG\Databooks\Views\DatabookView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadFromUri);

            #line default
            #line hidden
                return;

            case 14:

            #line 184 "..\..\..\..\..\..\..\ERP\Modules\LRG\Databooks\Views\DatabookView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadFromStream);

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