Example #1
0
 //--------------------------------------------------------------------------------
 // CallbackLogin
 //--------------------------------------------------------------------------------
 private void CallbackLogin(string[] result)
 {
     if (result[0] == Constants.INT_FAILURE.ToString())
     {
         panelMessage.Show(msgFail);
     }
     else if (result[0] == Constants.INT_CONFIRM.ToString())
     {
         panelMessage.Show(msgFailConfirm);
         panelSecurityCode.Init(Constants.AccountActionType.ConfirmAccount, CallbackConfirmLogin);
     }
     else if (result[0] == Constants.INT_RECONFIRM.ToString())
     {
         panelMessage.Show(msgFailConfirm);
         panelSecurityCode.Init(Constants.AccountActionType.LoginAccount, CallbackConfirmLogin);
     }
     else if (result[0] == Constants.INT_SUCCESS.ToString())
     {
         panelOverlay.Show();
         panelActorList.Show();
         Hide();
     }
 }
Example #2
0
 //--------------------------------------------------------------------------------
 // ClickCreateActor
 //--------------------------------------------------------------------------------
 public void ClickCreateActor()
 {
     panelOverlay.Show();
     panelActorCreate.Show();
     Hide();
 }