Esempio n. 1
0
        private void carsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Data.ClientID = dataGridView1[0, dataGridView1.CurrentRow.Index].Value.ToString();

            cars cars = new cars();

            cars.MdiParent = ActiveForm;
            cars.Show();
        }
Esempio n. 2
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            clients tempChild = (clients)ActiveMdiChild;

            Data.ClientID = tempChild.dataGridView1[0, tempChild.dataGridView1.CurrentRow.Index].Value.ToString();

            cars cars = new cars();

            cars.MdiParent = ActiveForm;
            cars.Show();
        }