mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
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:
parent
72b3f774ce
commit
75b0204c57
10 changed files with 161 additions and 154 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue