diff --git a/trunk/Helpers/PrinterHelper.cs b/trunk/Helpers/PrinterHelper.cs index e0e4991..7caa1cc 100644 --- a/trunk/Helpers/PrinterHelper.cs +++ b/trunk/Helpers/PrinterHelper.cs @@ -385,13 +385,13 @@ namespace LSLEditor.Helpers printmargins = printDoc.DefaultPageSettings.Margins; // set default fonts - pagenofont = new Font("Tahoma", 8, FontStyle.Regular, GraphicsUnit.Point); + pagenofont = new Font("Tahoma", 10, FontStyle.Regular, GraphicsUnit.Point); pagenocolor = Color.Black; - titlefont = new Font("Tahoma", 8, FontStyle.Bold, GraphicsUnit.Point); + titlefont = new Font("Tahoma", 10, FontStyle.Bold, GraphicsUnit.Point); titlecolor = Color.Black; - subtitlefont = new Font("Tahoma", 8, FontStyle.Regular, GraphicsUnit.Point); + subtitlefont = new Font("Tahoma", 10, FontStyle.Regular, GraphicsUnit.Point); subtitlecolor = Color.Black; - footerfont = new Font("Tahoma", 8, FontStyle.Regular, GraphicsUnit.Point); + footerfont = new Font("Tahoma", 10, FontStyle.Regular, GraphicsUnit.Point); footercolor = Color.Black; // set default string formats @@ -460,13 +460,18 @@ namespace LSLEditor.Helpers pd.AllowPrintToFile = false; // show print dialog - if (DialogResult.OK == pd.ShowDialog()) - { - SetupPrint(pd); - PrintPreviewDialog ppdialog = new PrintPreviewDialog(); - ppdialog.Document = printDoc; - ppdialog.ShowDialog(); - } + DialogResult result = pd.ShowDialog(); + if (DialogResult.OK == result) + { + SetupPrint(pd); + PrintPreviewDialog ppdialog = new PrintPreviewDialog(); + ppdialog.Document = printDoc; + ppdialog.ShowDialog(); + } + else + { + //; + } } /// diff --git a/trunk/Properties/AssemblyInfo.cs b/trunk/Properties/AssemblyInfo.cs index f292f58..22055c4 100644 --- a/trunk/Properties/AssemblyInfo.cs +++ b/trunk/Properties/AssemblyInfo.cs @@ -70,7 +70,7 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.53.0.1")] +[assembly: AssemblyVersion("2.53.0.2")] // // In order to sign your assembly you must specify a key to use. Refer to the @@ -100,4 +100,4 @@ using System.Runtime.InteropServices; [assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyName("")] [assembly: ComVisibleAttribute(false)] -[assembly: AssemblyFileVersionAttribute("2.53.0.1")] +[assembly: AssemblyFileVersionAttribute("2.53.0.2")]