Example #1
0
        /// <summary>
        ///
        /// REINICIA UN NUEVO FORMULARIO
        ///
        /// </summary>
        ///
        public override void btNuevo_Click(object sender, EventArgs e)
        {
            DistanciaPuntoRecta nuevo = new DistanciaPuntoRecta(directa);

            nuevo.Show();
            this.Close();
        }
Example #2
0
        private void AceptarDistanciaPuntoRecta_Click(object sender, EventArgs e)
        {
            if (this.Owner != null)
            {
                this.Owner.Hide();
            }

            bool directo = rbDirecta.Checked;

            if (!rbDirecta.Checked && !rbPasoAPaso.Checked)
            {
                return;
            }

            DistanciaPuntoRecta distanciapuntorecta = new DistanciaPuntoRecta(directo);

            distanciapuntorecta.Size = new Size(1392, 703);
            distanciapuntorecta.Show();
            distanciapuntorecta.Owner = this.Owner;
            this.Hide();
        }