private void boparam_Click(object sender, EventArgs e) { diag1frm2 di = new diag1frm2(); di.Inite = inite.ToString(); di.Interite = ite.ToString(); if (di.ShowDialog() == DialogResult.OK) { inite = float.Parse(di.Inite); ite = float.Parse(di.Interite); } return; }
private void boParamPun_Click(object sender, EventArgs e) { diag1frm2 di = new diag1frm2(); di.Inite = inite.ToString(); di.Interite = ite.ToString(); if (di.ShowDialog() == DialogResult.OK) { inite = float.Parse(di.Inite); ite = float.Parse(di.Interite); panelpun.BringToFront(); bomapa.Visible = false; boPun.Visible = false; boTeo.Visible = false; CorreHypo(); } }