Load() 공개 메소드

public Load ( Person person ) : IList
person HospitalLib.Data.Person
리턴 IList
예제 #1
0
        private void AnalysisHistoryButton_Click(object sender, RoutedEventArgs e)
        {
            var analysisProvider = new AnalysisProvider(new DatabaseProvider());
            IList<Analysis> analyzes = analysisProvider.Load(CurrentState.CurrentPerson);
            if (analyzes.Count == 0)
            {
                MessageBox.Show("История анализов данного пациента пуста!", "Error!");
                return;
            }

            Switcher.PageSwitcher.Navigate(new AnalysisHistory());
        }
예제 #2
0
 private void LoadAllAnalyzes()
 {
     var analysisProvider = new AnalysisProvider(new DatabaseProvider());
     IList<Analysis> analyzes = analysisProvider.Load(CurrentState.CurrentPerson);
     AddToDictionary(analyzes);
 }