Пример #1
0
        private void guardasContactosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            VentanaContactos Contactos = new VentanaContactos();

            Contactos.Show();
        }
Пример #2
0
        private void dataGridView2_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            VentanaContactos logica = new VentanaContactos();

            if (e.RowIndex >= 0)
            {
                index = e.RowIndex;
                btnDeseleccionar.Visible = true;
                logica.loadeditar();
            }
            logica.Show();
            this.Hide();
        }