# HG changeset patch # User IBBoard # Date 1273176402 0 # Node ID 7ddfbe85c8d9e0044226ab568c3ca791b76e5e02 # Parent 7c459ebc4210594f5aae5367c193fa5361d2b1c1 * Add style helper with initial snippet from DotNetPerls.com * Add license info to the top of ControlValueChangedChecker no-open-ticket diff -r 7c459ebc4210 -r 7ddfbe85c8d9 IBBoard.Windows.Forms.csproj --- a/IBBoard.Windows.Forms.csproj Sun Apr 18 15:04:21 2010 +0000 +++ b/IBBoard.Windows.Forms.csproj Thu May 06 20:06:42 2010 +0000 @@ -1,4 +1,4 @@ - + Local @@ -109,6 +109,7 @@ + ColorableStatusBar.cs diff -r 7c459ebc4210 -r 7ddfbe85c8d9 Windows/Forms/Util/ControlValueChangedChecker.cs --- a/Windows/Forms/Util/ControlValueChangedChecker.cs Sun Apr 18 15:04:21 2010 +0000 +++ b/Windows/Forms/Util/ControlValueChangedChecker.cs Thu May 06 20:06:42 2010 +0000 @@ -1,3 +1,7 @@ +// This file (ControlValueChangedChecker.cs) is a part of the IBBoard.Windows.Forms library and is copyright 2009 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. + using System; using System.Collections.Generic; using System.Text; diff -r 7c459ebc4210 -r 7ddfbe85c8d9 Windows/Forms/Util/WidgetValuesUtil.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Windows/Forms/Util/WidgetValuesUtil.cs Thu May 06 20:06:42 2010 +0000 @@ -0,0 +1,17 @@ +// This file (WidgetValueUtil.cs) is a part of the IBBoard.Windows.Forms library and is copyright 2010 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. + +using System.Drawing; +using System.Windows.Forms; + +namespace IBBoard.Windows.Forms.Util +{ + public class WidgetValuesUtil + { + static DataGridViewHeaderBorderStyle GetPlatformSpecificDataGridViewHeaderBorder() + { + return (SystemFonts.MessageBoxFont.Name == "Segoe UI") ? DataGridViewHeaderBorderStyle.None : DataGridViewHeaderBorderStyle.Raised; + } + } +}