Exemple #1
0
        private void polpic_Click(object sender, EventArgs e)
        {
            policy pol = new policy();

            pol.TopLevel = false;
            cntpnl.Controls.Clear();
            cntpnl.Controls.Add(pol);
            pol.Show();
        }
Exemple #2
0
        private void policybtn_Click(object sender, EventArgs e)
        {
            arrow1.Visible = false;
            arrow2.Visible = true;
            arrow3.Visible = false;
            arrow4.Visible = false;
            arrow5.Visible = false;
            arrow6.Visible = false;
            arrow7.Visible = false;
            arrow8.Visible = false;
            arrow9.Visible = false;
            Cursor         = Cursors.WaitCursor;
            policy pol = new policy();

            pol.TopLevel = false;
            cntpnl.Controls.Clear();
            cntpnl.Controls.Add(pol);
            pol.Show();
            Cursor = Cursors.Arrow;
        }