private void addCar_Click(object sender, EventArgs e) //Добавление авто { T_AddCar newChildform = new T_AddCar(); newChildform.MdiParent = this.ParentForm; newChildform.Show(); }
private void carInfo_Click(object sender, EventArgs e) { T_AddCar newChild = new T_AddCar(); ShowChildForm(newChild); }