Ejemplo n.º 1
0
        private void btn_add_Click(object sender, EventArgs e)
        {
            changeClients f = new changeClients();

            f.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void btn_change_Click(object sender, EventArgs e)
        {
            string[] arrayClient = new string[dataGridView1.ColumnCount];

            for (int i = 0; i < dataGridView1.ColumnCount; i++)
            {
                arrayClient[i] = dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells[i].Value.ToString();
            }

            changeClients f = new changeClients(arrayClient);

            f.Show();
            this.Close();
        }