UI thread is more explicit about what functions it accepts and now accepts no parameter functions.

This commit is contained in:
Lars Brubaker 2015-06-11 12:06:40 -07:00
parent 42568cc0f1
commit 5cc1b651b4
69 changed files with 270 additions and 269 deletions

View file

@ -497,7 +497,7 @@ namespace MatterHackers.MatterControl
createThumbnailWorker = null;
}
private void DoOnMouseClick(object state)
private void DoOnMouseClick()
{
if (printItem != null)
{
@ -521,7 +521,7 @@ namespace MatterHackers.MatterControl
}
}
private void EnsureImageUpdated(object state)
private void EnsureImageUpdated()
{
thumbnailImage.MarkImageChanged();
Invalidate();