private void btnExport_Click(object sender, EventArgs e) { if (txtFile.Text != "") { var exportFile = new BoardExporter(mainBoard, txtFile.Text, 4000.0f, 2500.0f, 107, 100); } }
private List <string> ParseExport(WhiteBoard w, string workfile, float moveSpeed, float drawSpeed, int downVal, int upVal) { var exportFile = new BoardExporter(mainBoard, "Workfile.nc", moveSpeed, drawSpeed, downVal, upVal); var drawingbuffer = exportFile.getLines(); return(drawingbuffer); }