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(); }
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; }
internal void SetPreview(PreviewControl preview) { FPreview = preview; }