mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Removed the PictureBox from the Surface, meaning that the Surface is now just a Control, this should simplify the event stack and other logic and give us more control.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2099 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
68c0cf091a
commit
7bb187ce71
2 changed files with 50 additions and 32 deletions
|
@ -94,8 +94,8 @@ namespace Greenshot {
|
|||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
this.ManualLanguageApply = true;
|
||||
InitializeComponent();
|
||||
this.ManualLanguageApply = true;
|
||||
InitializeComponent();
|
||||
updateUI();
|
||||
|
||||
this.Load += delegate {
|
||||
|
@ -162,11 +162,11 @@ namespace Greenshot {
|
|||
|
||||
ApplyLanguage();
|
||||
|
||||
// Fix title
|
||||
if (surface != null && surface.CaptureDetails != null && surface.CaptureDetails.Title != null) {
|
||||
this.Text = surface.CaptureDetails.Title + " - " + Language.GetString(LangKey.editor_title);
|
||||
}
|
||||
}
|
||||
// Fix title
|
||||
if (surface != null && surface.CaptureDetails != null && surface.CaptureDetails.Title != null) {
|
||||
this.Text = surface.CaptureDetails.Title + " - " + Language.GetString(LangKey.editor_title);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get all the destinations and display them in the file menu and the buttons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue