mirror of
https://github.com/greenshot/greenshot
synced 2025-07-31 04:00:13 -07:00
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:
parent
eacbd114da
commit
c3a1e18faa
7 changed files with 8 additions and 8 deletions
|
@ -24,7 +24,7 @@ using System.Windows.Forms;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls {
|
namespace GreenshotPlugin.Controls {
|
||||||
public class GreenshotButton : Button, IGreenshotLanguageBindable {
|
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 {
|
public string LanguageKey {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
|
|
|
@ -27,7 +27,7 @@ namespace GreenshotPlugin.Controls {
|
||||||
/// Description of GreenshotCheckbox.
|
/// Description of GreenshotCheckbox.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class GreenshotCheckBox : CheckBox, IGreenshotLanguageBindable, IGreenshotConfigBindable {
|
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 {
|
public string LanguageKey {
|
||||||
get;
|
get;
|
||||||
set;
|
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 {
|
public string PropertyName {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
|
|
|
@ -12,7 +12,7 @@ namespace GreenshotPlugin.Controls {
|
||||||
private static log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(GreenshotForm));
|
private static log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(GreenshotForm));
|
||||||
protected ILanguage language;
|
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 {
|
public string LanguageKey {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
|
|
|
@ -24,7 +24,7 @@ using System.ComponentModel;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls {
|
namespace GreenshotPlugin.Controls {
|
||||||
public class GreenshotGroupBox : GroupBox , IGreenshotLanguageBindable {
|
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 {
|
public string LanguageKey {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
|
|
|
@ -24,7 +24,7 @@ using System.ComponentModel;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls {
|
namespace GreenshotPlugin.Controls {
|
||||||
public class GreenshotLabel : Label, IGreenshotLanguageBindable {
|
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 {
|
public string LanguageKey {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
|
|
|
@ -24,7 +24,7 @@ using System.ComponentModel;
|
||||||
|
|
||||||
namespace GreenshotPlugin.Controls {
|
namespace GreenshotPlugin.Controls {
|
||||||
public class GreenshotTabPage : TabPage, IGreenshotLanguageBindable {
|
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 {
|
public string LanguageKey {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
|
|
|
@ -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 {
|
public string PropertyName {
|
||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue