Exemple #1
0
        private void agpic_Click(object sender, EventArgs e)
        {
            agents ag = new agents();

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

            ag.TopLevel = false;
            cntpnl.Controls.Clear();
            cntpnl.Controls.Add(ag);
            ag.Show();
        }