Beispiel #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            FormGiris f3 = new FormGiris(banka);

            f3.TopLevel = false;
            panel1.Controls.Add(f3);
            f3.Show();
            f3.Dock = DockStyle.Fill;
        }
Beispiel #2
0
        private void simpleButton9_Click(object sender, EventArgs e)
        {
            FormAna f1     = Application.OpenForms["FormAna"] as FormAna;
            Panel   panel1 = f1.Controls["panel1"] as Panel;

            panel1.Controls.Clear();
            FormGiris f3 = new FormGiris(banka);

            f3.TopLevel = false;
            panel1.Controls.Add(f3);
            f3.Show();
            f3.Dock = DockStyle.Fill;
        }
Beispiel #3
0
        private void SimpleButton7_Click(object sender, EventArgs e)
        {
            Form1 form1  = Application.OpenForms["Form1"] as Form1;
            Panel panel1 = form1.Controls["panel1"] as Panel;

            panel1.Controls.Clear();
            FormGiris formGiris = new FormGiris(banka);

            formGiris.TopLevel = false;
            panel1.Controls.Add(formGiris);
            formGiris.Show();
            formGiris.Dock = DockStyle.Fill;
        }