Esempio n. 1
0
        private void aluguelLivroToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panel.Controls.Clear();
            Controle_Livro myForm = new Controle_Livro();

            myForm.FormBorderStyle = FormBorderStyle.None;
            myForm.TopLevel        = false;
            myForm.AutoScroll      = true;
            panel.Controls.Add(myForm);
            myForm.Show();
        }
Esempio n. 2
0
 private void pictureBox7_MouseClick(object sender, MouseEventArgs e)
 {
     {
         panel.Controls.Clear();
         Controle_Livro myForm = new Controle_Livro();
         myForm.FormBorderStyle = FormBorderStyle.None;
         myForm.TopLevel        = false;
         myForm.AutoScroll      = true;
         panel.Controls.Add(myForm);
         myForm.Show();
     }
 }