Ejemplo n.º 1
0
        private void btn_Exit_Click(object sender, EventArgs e)
        {
            SkinFrmQuit quit = new SkinFrmQuit();

            quit.ActionForm += Quit_ActionForm;
            pnl_Notify.Controls.Add(quit);
            quit.BringToFront();
            pnl_Notify.BringToFront();
        }
Ejemplo n.º 2
0
 private void Btn_Previous_Click(object sender, EventArgs e)
 {
     if (this.pnl_GamePlay.Visible)
     {
         SkinFrmQuit quit = new SkinFrmQuit();
         quit.ActionForm += Quit_ActionForm_ForPrevious;
         this.pnl_Notify.Controls.Add(quit);
         quit.BringToFront();
         this.pnl_Notify.BringToFront();
     }
     else if (this.pnl_Common.Visible)
     {
         this.pnl_Index.Visible = true;
         this.pnl_Index.BringToFront();
         (sender as Button).Visible = false;
     }
 }