Exemplo n.º 1
0
        private void btnExit_Click(object sender, EventArgs e)
        {
            Cars_and_Clients frmCars = (Cars_and_Clients)Application.OpenForms["Cars_and_Clients"];

            frmCars.loadData();
            frmCars.dgvClients.Update();
            frmCars.dgvClients.Refresh();
            this.Close();
        }
Exemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Cars_and_Clients frmCars = (Cars_and_Clients)Application.OpenForms["Cars_and_Clients"];

            frmCars.loadData();
            frmCars.dataGridView1.Update();
            frmCars.dataGridView1.Refresh();
            this.Close();
        }