private void nuevoTalleristaToolStripMenuItem_Click(object sender, EventArgs e) { CrearTallerista crearTallerista = new CrearTallerista(); crearTallerista.TopLevel = false; crearTallerista.AutoScroll = true; panel1.Controls.Clear(); panel1.Controls.Add(crearTallerista); crearTallerista.Dock = DockStyle.Left; crearTallerista.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; crearTallerista.Show(); }
private void pictureBox1_Click(object sender, EventArgs e) { CrearTallerista crearTallerista = new CrearTallerista(); crearTallerista.Show(); }