More performance improvements

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1919 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-06-11 21:05:48 +00:00
commit 59665da813
2 changed files with 48 additions and 32 deletions

View file

@ -87,6 +87,8 @@ namespace Greenshot {
// init surface
this.surface = iSurface as Surface;
editorList.Add(this);
this.SuspendLayout();
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
@ -172,6 +174,7 @@ namespace Greenshot {
// Create the file menu, normally this is done when opening but if we don't do it now the short-cut keys are missing.
// See Bugs #3526974 & #3527020
FileMenuDropDownOpening(null, null);
this.ResumeLayout();
}
void AddDestinationButton(IDestination toolstripDestination) {