Esempio n. 1
0
        public MailViewModel(MainViewModel main, PropertyChanged last, mailType optie)
            : base(main,last)
        {
            type = optie;

            To = "";
            SetMessage();
        }
Esempio n. 2
0
 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] + " ";
         }
     }
 }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
 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)
     {
     }
 }