Beispiel #1
0
        private void pictureBox13_Click(object sender, EventArgs e)
        {
            CrearTurista turista = new CrearTurista();

            turista.Show();
            panel3.Visible = false;
        }
Beispiel #2
0
        private void nuevoTuristaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CrearTurista crearTurista = new CrearTurista();

            crearTurista.TopLevel   = false;
            crearTurista.AutoScroll = true;
            panel1.Controls.Clear();
            panel1.Controls.Add(crearTurista);
            crearTurista.Dock            = DockStyle.Left;
            crearTurista.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            crearTurista.Show();
        }