/// <summary> /// /// REINICIA UN NUEVO FORMULARIO /// /// </summary> public override void btNuevo_Click(object sender, EventArgs e) { InterseccionRectaPlano nuevo = new InterseccionRectaPlano(directa); nuevo.Show(); if (flotante != null) { flotante.Close(); } this.Close(); }
private void AceptarInterseccionRectaPlano_Click(object sender, EventArgs e) { if (this.Owner != null) { this.Owner.Hide(); } bool directo = rbDirecta.Checked; if (!rbDirecta.Checked && !rbPasoAPaso.Checked) { return; } InterseccionRectaPlano interseccionrectaplano = new InterseccionRectaPlano(directo); interseccionrectaplano.Size = new Size(1392, 703); interseccionrectaplano.Show(); interseccionrectaplano.Owner = this.Owner; this.Hide(); }