示例#1
0
        private void bunifuButton2_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            ShtoStudent f2 = new ShtoStudent("rektor");

            f2.TopLevel = false;
            panel1.Controls.Add(f2);
            //veq pe provojm qysh pe qet
            f2.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            f2.Dock            = DockStyle.Fill;
            f2.Show();
        }
        private void bunifuButton2_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            ShtoStudent f2 = new ShtoStudent("prof");

            f2.TopLevel = false;
            panel1.Controls.Add(f2);
            //veq pe provojm qysh pe qet
            f2.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            f2.Dock            = DockStyle.Fill;
            f2.Show();

            /* AllChanges ac = new AllChanges();
             * ac.updatePasswordat();*/
        }