private void button5_Click(object sender, EventArgs e) { ToolInitialPositionForm toolInitialPositionForm = new ToolInitialPositionForm(this, null, SurfaceType.corner); toolInitialPositionForm.Show(); this.Hide(); }
private void surfaceEdgeInsert_Click(object sender, EventArgs e) { ToolInitialPositionForm toolInitialPositionForm = new ToolInitialPositionForm(this, null, SurfaceType.slopeInsert); toolInitialPositionForm.Show(); this.Hide(); }
public TaskSelectionForm(ToolInitialPositionForm prevForm) { this.prevForm = prevForm; Top = prevForm.Top; Left = prevForm.Left; InitializeComponent(); initializeData(); }
private void GenerateCustomSurfaceNextButton_Click(object sender, EventArgs e) { //FunctionWise.isSurfaceUserDefined = true; FunctionWise.initializeCustomSurfaceCoodinates(xValues, zValues); ToolInitialPositionForm toolInitialPositionForm = new ToolInitialPositionForm(preForm, null, SurfaceType.customSurface); toolInitialPositionForm.Show(); this.preForm.Hide(); this.Hide(); this.Close(); }