Make PrinterTabPage derive from TabPage

This commit is contained in:
John Lewin 2017-08-14 20:11:31 -07:00
parent 3d26180284
commit 70fe9123a1
3 changed files with 7 additions and 4 deletions

View file

@ -44,7 +44,7 @@ using MatterHackers.VectorMath;
namespace MatterHackers.MatterControl.PartPreviewWindow
{
public class PrinterTabPage : GuiWidget
public class PrinterTabPage : TabPage
{
internal View3DWidget modelViewer;
internal GCode2DWidget gcode2DWidget;
@ -69,7 +69,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
private SystemWindow parentSystemWindow;
public PrinterTabPage(PrinterSettings activeSettings, PrintItemWrapper printItem)
public PrinterTabPage(PrinterSettings activeSettings, PrintItemWrapper printItem, string tabTitle)
: base (tabTitle)
{
printer = ApplicationController.Instance.Printer;