Added Tests and added utility function so that we can run tests with different MatterControlDB States

This commit is contained in:
Gregory Diaz 2015-08-28 17:55:50 -07:00
parent 92be8c6269
commit 33e36198e2
22 changed files with 427 additions and 2 deletions

View file

@ -606,6 +606,7 @@ namespace MatterHackers.MatterControl
if (partPreviewWindow == null)
{
partPreviewWindow = new PartPreviewMainWindow(this.PrintItem, autoRotate);
partPreviewWindow.Name = "Part Preview Window Thumbnail";
partPreviewWindow.Closed += (object sender, EventArgs e) =>
{
this.partPreviewWindow = null;