private void main_Load(object sender, EventArgs e) { clients clients = new clients(); clients.MdiParent = this; clients.Show(); clients.firstnameToolStripTextBox.Focus(); }
private void toolStripButton10_Click(object sender, EventArgs e) { clients clients = new clients(); clients.MdiParent = this; clients.Show(); clients.firstnameToolStripTextBox.Focus(); }
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(); }
private void toolStripButton2_Click(object sender, EventArgs e) { clients tempChild = (clients)ActiveMdiChild; tempChild.editToolStripMenuItem_Click(tempChild, e); }