diff --git a/Source/Examples/ExampleBrowser.Designer.cs b/Source/Examples/ExampleBrowser.Designer.cs index 1f77caba..422e5bf3 100644 --- a/Source/Examples/ExampleBrowser.Designer.cs +++ b/Source/Examples/ExampleBrowser.Designer.cs @@ -187,7 +187,7 @@ // // richTextBoxDescription // - this.richTextBoxDescription.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.richTextBoxDescription.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.richTextBoxDescription.ContextMenuStrip = this.contextMenuStripDescription; this.richTextBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBoxDescription.Location = new System.Drawing.Point(3, 3); @@ -226,7 +226,7 @@ // richTextBoxSource // this.richTextBoxSource.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(242)))), ((int)(((byte)(240))))); - this.richTextBoxSource.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.richTextBoxSource.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.richTextBoxSource.ContextMenuStrip = this.contextMenuStripSource; this.richTextBoxSource.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBoxSource.Location = new System.Drawing.Point(3, 3); @@ -265,7 +265,7 @@ // textBoxOutput // this.textBoxOutput.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(242)))), ((int)(((byte)(240))))); - this.textBoxOutput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxOutput.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.textBoxOutput.ContextMenuStrip = this.contextMenuStripOutput; this.textBoxOutput.Dock = System.Windows.Forms.DockStyle.Fill; this.textBoxOutput.Location = new System.Drawing.Point(3, 3); diff --git a/Source/Examples/ExampleBrowser.cs b/Source/Examples/ExampleBrowser.cs index a190cb26..5196342a 100644 --- a/Source/Examples/ExampleBrowser.cs +++ b/Source/Examples/ExampleBrowser.cs @@ -24,15 +24,17 @@ namespace Examples InitializeComponent(); - // Windows 6 (Vista) and higher come with Consolas, a high-quality monospace font. Use that or fallback to the generic - // monospace font on other systems. - if (System.Environment.OSVersion.Platform == PlatformID.Win32NT && System.Environment.OSVersion.Version.Major >= 6) + // Windows 6 (Vista) and higher come with Consolas, a high-quality monospace font. Use that or fallback to + // the generic monospace font on other systems. + if (System.Environment.OSVersion.Platform == PlatformID.Win32NT && + System.Environment.OSVersion.Version.Major >= 6) { - richTextBoxSource.Font = new Font("Consolas", 10.0f, FontStyle.Regular); + textBoxOutput.Font = richTextBoxSource.Font = new Font("Consolas", 10.0f, FontStyle.Regular); } else { - richTextBoxSource.Font = new Font(FontFamily.GenericMonospace, 10.0f, FontStyle.Regular); + textBoxOutput.Font = richTextBoxSource.Font = + new Font(FontFamily.GenericMonospace, 10.0f, FontStyle.Regular); } }