Esempio n. 1
0
        private void visualizarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmVisorPersona frm = new frmVisorPersona(lista);

            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
            lista = frm.ListaPersona;
        }
Esempio n. 2
0
        private void visualizarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmVisorPersona frm = new frmVisorPersona(lista);

            frm.StartPosition = FormStartPosition.CenterScreen;

            //implementar
            this.lista = frm.Lista;
            frm.Show();
        }
        private void visualizarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmVisorPersona frm = new frmVisorPersona(this.lista);

            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.lstVisor.Items.Clear();
            for (int i = 0; i < lista.Count; i++)
            {
                frm.lstVisor.Items.Add(lista[i].ToString());
            }
            frm.ShowDialog();
        }
Esempio n. 4
0
 private void visualizarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         frmVisorPersona frm = new frmVisorPersona(this.lista);
         frm.Conexion      = this.conexion;
         frm.StartPosition = FormStartPosition.CenterScreen;
         frm.Show();
         this.lista = frm.ListaPersonas;
     }
     catch (Exception exc)
     {
         MessageBox.Show(exc.Message);
     }
 }
Esempio n. 5
0
        private void visualizarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                frmVisorPersona frm = new frmVisorPersona(this.lista);
                frm.StartPosition = FormStartPosition.CenterScreen;
                this.lista        = frm.Lista;
                frm.Show();
            }
            catch (Exception f)
            {
                MessageBox.Show(f.Message);
            }



            //implementar//
        }
Esempio n. 6
0
        private void visualizarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                frmVisorPersona frm = new frmVisorPersona(this.lista);

                frm.StartPosition = FormStartPosition.CenterScreen;

                //implementar

                frm.Show();

                this.lista = frm.Personas;//prop para obtener la lista del visor
            }
            catch (Exception a)
            {
                MessageBox.Show(a.ToString());
            }
        }