Exemplo n.º 1
0
        public override void Login(LoginPanelViewModel viewModel)
        {
            base.Login(viewModel);

            // 进行登录
            Publish(new NetLogin()
            {
                CustomID = viewModel.CustomId
            });
        }
Exemplo n.º 2
0
 public virtual void Login(LoginPanelViewModel viewModel)
 {
 }
Exemplo n.º 3
0
        //		[Inject ("OutOfGameRoot")] public OutOfGameRootViewModel OutOfGameRoot;

        public override void InitializeLoginPanel(LoginPanelViewModel viewModel)
        {
            base.InitializeLoginPanel(viewModel);
            // This is called when a LoginPanelViewModel is created
        }
Exemplo n.º 4
0
 public virtual void InitializeLoginPanel(LoginPanelViewModel viewModel)
 {
     // This is called when a LoginPanelViewModel is created
     viewModel.Login.Action = this.LoginHandler;
     LoginPanelViewModelManager.Add(viewModel);
 }