Ejemplo n.º 1
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userProxy"></param>
        public AccountSetting(IUserProxy userProxy)
        {
            this.InitializeComponent();

            VM = new CreateUserViewModel(userProxy, KmtConstants.LoginUser, UserOperation.SetAccount);
            DataContext = VM;
        }
Ejemplo n.º 2
0
 public CreateNewUser(IUserProxy userProxy, User currentUser, UserOperation userOperation)
 {
     InitializeComponent();
     VM = new CreateUserViewModel(userProxy, currentUser, userOperation);
     VM.View = this;
     DataContext = VM;
 }