public ToolParametersForm(SelectToolForm prevForm, SelectWorkpieceProfileForm nextForm, ToolType tooltype) { Top = prevForm.Top; Left = prevForm.Left; this.prevForm = prevForm; this.nextForm = nextForm; this.toolType = tooltype; InitializeComponent(); setTextBoxes(); }
public ToolInitialPositionForm(SelectWorkpieceProfileForm prevForm, TaskSelectionForm nextForm, SurfaceType surface) { this.prevForm = prevForm; this.nextForm = nextForm; this.surface = surface; Top = prevForm.Top; Left = prevForm.Left; InitializeComponent(); initializeTextBoxes(); //BackgroundImage = Properties.Resources.stepthrough; //imagePanel.BackgroundImage = global::WindowsFormsApplication2.Properties.Resources.samplePlain; //this.imagePanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; }
private void toolParameterNextButton_Click(object sender, EventArgs e) { if (dataValidation()) { if (this.nextForm == null) { SelectWorkpieceProfileForm selectSurfaceForm = new SelectWorkpieceProfileForm(this); selectSurfaceForm.Show(); this.nextForm = selectSurfaceForm; } else { this.nextForm.Show(); } this.Hide(); FunctionWise.initializeToolGeometryParametresForGeneralMillingTool(double.Parse(d.Text), double.Parse(r.Text), double.Parse(r_r.Text), double.Parse(r_z.Text), double.Parse(alpha.Text), double.Parse(beta.Text), double.Parse(h.Text), double.Parse(helixAngle.Text), double.Parse(rakeAngle.Text), int.Parse(noOfFlutes.Text), toolType, constHelix.Checked); //FunctionWise.toolParametersInitialization(double.Parse(d.Text), double.Parse(h.Text), double.Parse(helixAngle.Text), double.Parse(rakeAngle.Text), int.Parse(noOfFlutes.Text)); } }
public GenerateCustomSurface(SelectWorkpieceProfileForm preForm) { this.preForm = preForm; InitializeComponent(); initializeData(); }