コード例 #1
0
ファイル: Distancia.cs プロジェクト: Xadnem53/Matedicom
        /// <summary>
        ///
        /// REINICIA UN NUEVO FORMULARIO
        ///
        /// </summary>

        public override void btNuevo_Click(object sender, EventArgs e)
        {
            Distancia nuevo = new Distancia(directa);

            nuevo.Show();
            this.Close();
        }
コード例 #2
0
ファイル: MenuVectores.cs プロジェクト: Xadnem53/Matedicom
        private void AceptarDistancia_Click(object sender, EventArgs e)
        {
            if (this.Owner != null)
            {
                this.Owner.Hide();
            }

            bool directo = rbDirecta.Checked;

            if (!rbDirecta.Checked && !rbPasoAPaso.Checked)
            {
                return;
            }
            Distancia distancia = new Distancia(directo);

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