Пример #1
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            Animator1.Hide(this.PnlFrm);
            Animator1.WaitAllAnimations();
            UctDownload uctDownload = new UctDownload();

            uctDownload.Show();
            this.PnlFrm.Controls.Clear();
            this.PnlFrm.Controls.Add(uctDownload);
            Animator2.Show(this.PnlFrm);
        }
Пример #2
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            Animator1.Hide(this.PnlFrm);
            Animator1.WaitAllAnimations();
            UctGame uctGame = new UctGame();

            uctGame.SetOwner <FrmMain>(this);
            uctGame.Show();
            this.PnlFrm.Controls.Clear();
            this.PnlFrm.Controls.Add(uctGame);
            Animator2.Show(this.PnlFrm);
        }