//-------------------------------------------------------------------------------- // 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(); } }
//-------------------------------------------------------------------------------- // ClickCreateActor //-------------------------------------------------------------------------------- public void ClickCreateActor() { panelOverlay.Show(); panelActorCreate.Show(); Hide(); }