Preparations for the language changes

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1785 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-04-17 15:54:33 +00:00
commit 75b0204c57
10 changed files with 161 additions and 154 deletions

View file

@ -25,28 +25,20 @@ using Greenshot.Helpers;
using GreenshotPlugin.Core;
namespace Greenshot.Forms {
public partial class BugReportForm : Form {
public partial class BugReportForm : BaseForm {
private BugReportForm() {
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
UpdateUI();
WindowDetails.ToForeground(this.Handle);
}
public BugReportForm(string bugText) : this() {
this.textBoxDescription.Text = bugText;
}
void UpdateUI() {
this.Text = Language.GetString(LangKey.bugreport_title);
this.labelBugReportInfo.Text = Language.GetString(LangKey.bugreport_info);
this.btnClose.Text = Language.GetString(LangKey.bugreport_cancel);
}
void LinkLblBugsLinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) {
openLink((LinkLabel)sender);
}