Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //lancer form intervenant
            Form_Intervenant f3 = new Form_Intervenant();

            f3.Show();
        }
Beispiel #2
0
        private void intervenantToolStripMenuItem2BBBBB_Click(object sender, EventArgs e)
        {
            Form_Intervenant f4 = new Form_Intervenant();

            f4.TopLevel = false;
            this.panel1.Controls.Add(f4);
            f4.FormBorderStyle = FormBorderStyle.None;

            f4.Top  = 0;
            f4.Left = 0;
            f4.Size = f4.ClientSize;
            f4.Dock = DockStyle.Fill;
            f4.BringToFront();
            f4.Show();
            this.Text = "Intervenant";
        }