Пример #1
0
        private void btNuevo_Click(object sender, EventArgs e)
        {
            FormAmCrucero form = new FormAmCrucero("", this);

            this.Hide();
            form.ShowDialog();
            this.Show();
            IniciarFormulario();
        }
Пример #2
0
        private void btModificar_Click(object sender, EventArgs e)
        {
            String id = Convert.ToString(dgv_listado.CurrentRow.Cells[0].Value);

            FormAmCrucero form = new FormAmCrucero(id, this);

            this.Hide();
            form.ShowDialog();
            this.Show();

            IniciarFormulario();
        }