mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Changed EditorForm to use language binding... long live search & replace...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1834 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
00819deecd
commit
71f44023c2
11 changed files with 306 additions and 350 deletions
|
@ -23,15 +23,22 @@ using System.ComponentModel;
|
|||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Windows.Forms;
|
||||
using GreenshotPlugin.Controls;
|
||||
|
||||
namespace Greenshot.Controls {
|
||||
/// <summary>
|
||||
/// Description of ColorButton.
|
||||
/// </summary>
|
||||
public class ColorButton : Button {
|
||||
public class ColorButton : Button, IGreenshotLanguageBindable {
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
private Color selectedColor = Color.White;
|
||||
|
||||
[Category("Greenshot"), DefaultValue(null), Description("Specifies key of the language file to use when displaying the text.")]
|
||||
public string LanguageKey {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ColorButton() {
|
||||
Click += new EventHandler(ColorButtonClick);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue