コード例 #1
0
        public PreviewTab(PreviewControl preview, PreparedPages preparedPages, string text)
        {
            FPreview       = preview;
            FPreparedPages = preparedPages;

            FWorkspace      = new PreviewWorkspace(this);
            FWorkspace.Dock = DockStyle.Fill;
            AttachedControl = FWorkspace;

            Text  = text;
            Zoom  = preview.Zoom;
            Style = preview.UIStyle;
            First();
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\CPrintView.xaml"
                ((DBReport.CPrintView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.reportVC = ((FastReport.Preview.PreviewControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: OutlineControl.cs プロジェクト: zixing131/LAEACC
 internal void SetPreview(PreviewControl preview)
 {
     FPreview = preview;
 }