Merge pull request #2734 from larsbrubaker/design_tools

Fixing warnings
This commit is contained in:
Lars Brubaker 2017-12-04 23:26:34 -08:00 committed by GitHub
commit 84ccd2d7ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 17 deletions

View file

@ -48,8 +48,6 @@ namespace MatterHackers.MatterControl
{ {
private CheckBox showInFolderAfterSave; private CheckBox showInFolderAfterSave;
private EventHandler unregisterEvents;
private Dictionary<RadioButton, IExportPlugin> exportPluginButtons; private Dictionary<RadioButton, IExportPlugin> exportPluginButtons;
private IEnumerable<ILibraryItem> libraryItems; private IEnumerable<ILibraryItem> libraryItems;
@ -258,11 +256,5 @@ namespace MatterHackers.MatterControl
} }
} }
} }
public override void OnClosed(ClosedEventArgs e)
{
unregisterEvents?.Invoke(this, null);
base.OnClosed(e);
}
} }
} }

View file

@ -319,8 +319,6 @@ namespace MatterHackers.MatterControl.PrintHistory
} }
} }
private EventHandler unregisterEvents;
public void ShowCantFindFileMessage(PrintItemWrapper printItemWrapper) public void ShowCantFindFileMessage(PrintItemWrapper printItemWrapper)
{ {
itemToRemove = printItemWrapper; itemToRemove = printItemWrapper;
@ -353,12 +351,6 @@ namespace MatterHackers.MatterControl.PrintHistory
} }
} }
public override void OnClosed(ClosedEventArgs e)
{
unregisterEvents?.Invoke(this, null);
base.OnClosed(e);
}
public override void OnDraw(Graphics2D graphics2D) public override void OnDraw(Graphics2D graphics2D)
{ {
base.OnDraw(graphics2D); base.OnDraw(graphics2D);

@ -1 +1 @@
Subproject commit 9779d8fd8dcee82e83dd1fe93464373558888bf2 Subproject commit 16c87b150f6ce47a5eeff160b0ced31be6272f12