示例#1
0
 public MessageUserPageViewModel(Models.User.UserModel obj)
 {
     this.User = obj;
     LoadMessage();
     ImageCommand = new Command(ImageCommandExecuted);
     SendCommand  = new Command(SendCommandExecuted);
 }
 public UserPagePopup(Models.User.UserModel use)
 {
     InitializeComponent();
     img.Source       = (string.IsNullOrEmpty(use.IconString)) ? "user" : "http://rentapp.carlosdiaz.com.elpumavp.arvixevps.com/Image/" + use.IconString;
     name.Text        = use.Name;
     address.Text     = use.Address;
     phone.Text       = use.Phone;
     user.Text        = Encrypt.DeCrypt(use.User);
     datecreated.Text = use.DateCreated.ToString();
 }
 public MessageUserPage(Models.User.UserModel obj)
 {
     InitializeComponent();
     txtname.Text        = obj.Name;
     this.BindingContext = new MessageUserPageViewModel(obj);
 }
示例#4
0
 public MessageOwnerUserPage(Models.User.UserModel obj)
 {
     InitializeComponent();
     this.BindingContext = new MessageOwnerUserPageViewModel(obj);
 }