Beispiel #1
0
        private void msgpic_Click(object sender, EventArgs e)
        {
            messages msg = new messages();

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

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