private void formClosed_SetupForm(object sender, FormClosedEventArgs e) { loadSettings(sender, e); _setup_form = null; VisuGCode.drawMachineLimit(toolTable.getToolCordinates()); pictureBox1.Invalidate(); // resfresh view gamePadTimer.Enabled = Properties.Settings.Default.gamePadEnable; }
private void transformEnd() { VisuGCode.getGCodeLines(fCTBCode.Lines); // get code path VisuGCode.calcDrawingArea(); // calc ruler dimension VisuGCode.drawMachineLimit(toolTable.getToolCordinates()); pictureBox1.Invalidate(); // resfresh view update_GCode_Depending_Controls(); // update GUI controls updateControls(); // update control enable this.Cursor = Cursors.Default; }
private void transformEnd() { VisuGCode.getGCodeLines(fCTBCode.Lines, null, null); // get code path VisuGCode.calcDrawingArea(); // calc ruler dimension VisuGCode.drawMachineLimit(toolTable.getToolCordinates()); pictureBox1.Invalidate(); // resfresh view update_GCode_Depending_Controls(); // update GUI controls timerUpdateControlSource = "transformEnd"; updateControls(); // update control enable enableCmsCodeBlocks(VisuGCode.codeBlocksAvailable()); this.Cursor = Cursors.Default; setEditMode(false); }