public MailViewModel(MainViewModel main, PropertyChanged last, mailType optie) : base(main,last) { type = optie; To = ""; SetMessage(); }
public MailViewModel(MainViewModel main, PropertyChanged last, List<String> emails, mailType optie) : this(main, last, optie) { if (emails != null) { for (int i = 0; i < emails.Count; i++) { To += emails[i] + " "; } } }
public MailViewModel(MainViewModel main, PropertyChanged last, List<String> emails, mailType optie, String input) : this(main, last, optie) { if (emails != null) { for (int i = 0; i < emails.Count; i++) { To += emails[i] + " "; } } messageBeoordeling = input; SetMessage(); }
public override void update(object[] o) { try { To=""; List<String> emails = (List<String>)o[2]; for (int i = 0; i < emails.Count; i++) { To += emails[i] + " "; } type = (mailType)o[3]; SetMessage(); } catch (Exception) { } }