Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 打开游戏开启窗体
        /// </summary>
        public void UctGameShow()
        {
            Animator1.Hide(this.PnlFrm);
            Animator1.Hide(this.LblWizard);
            Animator1.WaitAllAnimations();
            UctGame uctGame = new UctGame();//游戏用户窗体

            uctGame.SetOwner <FrmMain>(this);
            uctGame.Show();
            this.PnlFrm.Controls.Clear();
            this.PnlFrm.Controls.Add(uctGame);
            Animator1.Show(this.pictureBox1, true);
            Animator1.Show(this.pictureBox2, true);
            Animator1.Show(this.pictureBox3, true);
            Animator1.Show(this.PnlFrm);
        }