Ejemplo n.º 1
0
        private void visualizarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //frmVisorPersona frm = new frmVisorPersona(this.lista);
            frmVisorDataTable frm = new frmVisorDataTable(tablaPersonas);

            frm.StartPosition = FormStartPosition.CenterScreen;

            //implementar
            frm.Show();
            //this.tablaPersonas = frm.DataTable;
            //this.lista = frm.ListaDePersonas;
        }
        private void dataTableToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmVisorDataTable frm = new frmVisorDataTable(this.tabla);

            frm.StartPosition = FormStartPosition.CenterScreen;

            //implementar
            frm.ShowDialog();

            this.lista = frm.ListaPersonas;

            frm.Show();
        }