Beispiel #1
0
 public PubDisGeoVm()
 {
     this.AddAttCmd  = new DelegateCommand(AddAtt);
     this.PubCmd     = new DelegateCommand(Pub);
     this.ConfirmCmd = new DelegateCommand(ConfirmSection);
     this.attList    = new ObservableCollection <string>();
     config          = new NotesAddressConfig();
 }
 public NotesRcverConfigVm()
 {
     this.AddCmd      = new DelegateCommand(Add);
     this.ModifyCmd   = new DelegateCommand(Modify);
     this.DeleteCmd   = new DelegateCommand(Delete);
     this.ChangeCmd   = new DelegateCommand <object>(Change);
     config           = new NotesAddressConfig();
     this.ContactList = new ObservableCollection <NotesAddress>(config.ListNotesAddr);
 }
Beispiel #3
0
        public void InitNotesInfo()
        {
            NotesAddressConfig config = new NotesAddressConfig();

            this.NotesOptions = new ObservableCollection <NotesGroupOption>();
            foreach (var item in config.ListNotesAddr)
            {
                var op = new NotesGroupOption(item);
                this.NotesOptions.Add(op);
            }
        }
Beispiel #4
0
 public SendNotesVm()
 {
     this.AddAttCmd        = new DelegateCommand(AddAtt);
     this.SendCmd          = new DelegateCommand(Send);
     this.AddRcverCmd      = new DelegateCommand(AddRcver);
     this.SelectContactCmd = new DelegateCommand(AddContanctToRcver);
     this.SelectRcverCmd   = new DelegateCommand(RemoveRcver);
     this.rcverList        = new ObservableCollection <NotesAddress>();
     this.attList          = new ObservableCollection <string>();
     config           = new NotesAddressConfig();
     this.ContactList = new ObservableCollection <NotesAddress>(config.ListNotesAddr);
 }