Ejemplo n.º 1
0
 private void SetComponents(WalletModelState newWalletState)
 {
     if (newWalletState.Equals(WalletModelState.Ready))
     {
         this.EnableWalletCommands();
         this.StatusBarComp.SetProperties(MainWallet);
     }
     else if (newWalletState.Equals(WalletModelState.Closing))
     {
         this.DisableWalletCommands();
         this.StatusBarComp.ClearProps();
     }
 }
Ejemplo n.º 2
0
 public void SetWalletState(WalletModelState newState)
 {
     CurrentState = newState;
 }