Import merge from .printer starting to work.

Ability to center model windows
This commit is contained in:
Lars Brubaker 2016-06-20 15:45:17 -07:00
parent bed39a2354
commit 9b42fac41a
5 changed files with 149 additions and 5 deletions

View file

@ -27,6 +27,7 @@ namespace MatterHackers.MatterControl
public static void ShowMessageBox(Action<bool> callback, string message, string caption, GuiWidget[] extraWidgetsToAdd, MessageType messageType, string yesOk = "", string no = "")
{
StyledMessageBox messageBox = new StyledMessageBox(callback, message, caption, messageType, extraWidgetsToAdd, 400, 300, yesOk, no);
messageBox.CenterInParent = true;
messageBox.ShowAsSystemWindow();
}