Added Export button to PartPreviewWindow with functionality.
This commit is contained in:
parent
b3589d6c8c
commit
f6e5929e5b
2 changed files with 45 additions and 4 deletions
|
|
@ -28,12 +28,12 @@ namespace MatterHackers.MatterControl
|
|||
bool partIsGCode = false;
|
||||
string documentsPath;
|
||||
|
||||
public ExportPrintItemWindow(PrintItemWrapper printItemWraper)
|
||||
public ExportPrintItemWindow(PrintItemWrapper printItemWrapper)
|
||||
: base(400, 250)
|
||||
{
|
||||
this.printItemWrapper = printItemWraper;
|
||||
this.printItemWrapper = printItemWrapper;
|
||||
documentsPath = System.Environment.GetFolderPath (System.Environment.SpecialFolder.Personal);
|
||||
if (Path.GetExtension(printItemWraper.FileLocation).ToUpper() == ".GCODE")
|
||||
if (Path.GetExtension(printItemWrapper.FileLocation).ToUpper() == ".GCODE")
|
||||
{
|
||||
partIsGCode = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue