The default value for the key and propertyname is "null", no need to serialize this to the .Designer.cs files.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1768 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-04-11 06:44:35 +00:00
parent eacbd114da
commit c3a1e18faa
7 changed files with 8 additions and 8 deletions

View file

@ -24,7 +24,7 @@ using System.Windows.Forms;
namespace GreenshotPlugin.Controls {
public class GreenshotButton : Button, IGreenshotLanguageBindable {
[Category("Greenshot"), Description("Specifies key of the language file to use when displaying the text.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies key of the language file to use when displaying the text.")]
public string LanguageKey {
get;
set;

View file

@ -27,7 +27,7 @@ namespace GreenshotPlugin.Controls {
/// Description of GreenshotCheckbox.
/// </summary>
public class GreenshotCheckBox : CheckBox, IGreenshotLanguageBindable, IGreenshotConfigBindable {
[Category("Greenshot"), Description("Specifies key of the language file to use when displaying the text.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies key of the language file to use when displaying the text.")]
public string LanguageKey {
get;
set;
@ -44,7 +44,7 @@ namespace GreenshotPlugin.Controls {
}
}
[Category("Greenshot"), Description("Specifies the property name to map the configuration.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies the property name to map the configuration.")]
public string PropertyName {
get;
set;

View file

@ -12,7 +12,7 @@ namespace GreenshotPlugin.Controls {
private static log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(GreenshotForm));
protected ILanguage language;
[Category("Greenshot"), Description("Specifies key of the language file to use when displaying the text.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies key of the language file to use when displaying the text.")]
public string LanguageKey {
get;
set;

View file

@ -24,7 +24,7 @@ using System.ComponentModel;
namespace GreenshotPlugin.Controls {
public class GreenshotGroupBox : GroupBox , IGreenshotLanguageBindable {
[Category("Greenshot"), Description("Specifies key of the language file to use when displaying the text.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies key of the language file to use when displaying the text.")]
public string LanguageKey {
get;
set;

View file

@ -24,7 +24,7 @@ using System.ComponentModel;
namespace GreenshotPlugin.Controls {
public class GreenshotLabel : Label, IGreenshotLanguageBindable {
[Category("Greenshot"), Description("Specifies key of the language file to use when displaying the text.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies key of the language file to use when displaying the text.")]
public string LanguageKey {
get;
set;

View file

@ -24,7 +24,7 @@ using System.ComponentModel;
namespace GreenshotPlugin.Controls {
public class GreenshotTabPage : TabPage, IGreenshotLanguageBindable {
[Category("Greenshot"), Description("Specifies key of the language file to use when displaying the text.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies key of the language file to use when displaying the text.")]
public string LanguageKey {
get;
set;

View file

@ -35,7 +35,7 @@ namespace GreenshotPlugin.Controls {
}
}
[Category("Greenshot"), Description("Specifies the property name to map the configuration.")]
[Category("Greenshot"), DefaultValue(null), Description("Specifies the property name to map the configuration.")]
public string PropertyName {
get;
set;