private void Init() { outlineControl.SetPreview(this); FUpdateTimer = new Timer(); FUpdateTimer.Interval = 50; FUpdateTimer.Tick += new EventHandler(FUpdateTimer_Tick); FPageBorderColor = Color.FromArgb(80, 80, 80); FActivePageBorderColor = Color.FromArgb(255, 199, 60); FDefaultZoom = 1; FButtons = PreviewButtons.All; Font = DrawUtils.Default96Font; toolBar.Font = Font; statusBar.Font = Font; CreateExportList(btnSave, new EventHandler(Export_Click)); CreateExportList(btnEmailMapi, new EventHandler(Email_Click)); RestoreState(); UpdateButtons(); }
/// <summary> /// Initializes a new instance of the <b>PreviewSettings</b> class with default settings. /// </summary> public PreviewSettings() { FButtons = PreviewButtons.All; FPagesInCache = 50; FText = ""; }