Ejemplo n.º 1
0
        protected void cmdBuildFinish_Click(object sender, EventArgs e)
        {
            if (!isValid()) { return; }
            if (!editAll()) { return; }

            String err = "";

            if (!Data.setActualBaseDiameterIfDouble(txtNewBaseRadius.Text))
            {
                err += "The revised base diameter must be numeric<br />";
                lblErrHead.Visible = true;
                return;
            }

            lblErrHead.Visible = false;
            BuildGCode bc = new BuildGCode();
            bc.buildFinalPass();
            Server.Transfer("~/Gui/ViewGCode.aspx");
        }
Ejemplo n.º 2
0
        protected void cmdBuildRough_Click(object sender, EventArgs e)
        {
            if (!isValid()) { return; }
            if (!editAll()) { return; }

            BuildGCode bc = new BuildGCode();
            bc.buildRoughingPasses();
            Server.Transfer("~/Gui/ViewGCode.aspx");
        }