コード例 #1
0
        public AddEntryDialogViewModel(DateTime selectedDayDate)
        {
            AllActivities    = DataBaseConnector.GetAllActivities();
            _selectedDayDate = selectedDayDate;

            MessengerInstance.Register <string>(this, ProcessMessage);
        }
コード例 #2
0
 private void ProcessMessage(string message)
 {
     if (message == "Update")
     {
         AllActivities = DataBaseConnector.GetAllActivities();
     }
 }