Esempio n. 1
0
 public ProfileDetailsPage()
 {
     this.InitializeComponent();
     this.navigationHelper            = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
     settings = new SettingsFlyout1();
 }
Esempio n. 2
0
 public MainMenuPage()
 {
     this.InitializeComponent();
     this.database                    = App.database;
     this.navigationHelper            = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
     this.loadDescriptionStrings();
     settings = new SettingsFlyout1();
 }
Esempio n. 3
0
 public CreateNewVisit()
 {
     this.InitializeComponent();
     this.navigationHelper            = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
     this.ocString            = new ObservableCollection <string>();
     settings                 = new SettingsFlyout1();
     VisitListBox.ItemsSource = this.ocString;
     this.InitializeVisitDetialsComboBox();
 }
Esempio n. 4
0
        public DocKitPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);

            //Registering the Methods to be triggered for state change
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            //Registering the Methods to be triggered for state change in Collections of ListBox
            this.ocString = new ObservableCollection <string>();
            //this.ocString.CollectionChanged += ocString_CollectionChanged;
            docKitListBox.ItemsSource = this.ocString;
            settings = new SettingsFlyout1();
        }
Esempio n. 5
0
 public AnalysisPage()
 {
     this.InitializeComponent();
     this.navigationHelper            = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
     sexGraph       = AnalysisSexGraph;
     marriedGraph   = AnalysisMarriedGraph;
     cityGraph      = AnalysisCityGraph;
     bloodGraph     = AnalysisBloodGraph;
     diseaseGraph   = AnalysisDiseaseGraph;
     addictionGraph = AnalysisAddictionGraph;
     allergyGraph   = AnalysisAllergyGraph;
     operationGraph = AnalysisOperationGraph;
     vaccineGraph   = AnalysisVaccineGraph;
     settings       = new SettingsFlyout1();
 }
Esempio n. 6
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            navigationHelper.OnNavigatedTo(e);
            RecordProgressRing.Visibility = Windows.UI.Xaml.Visibility.Visible;
            RecordProgressRing.IsActive   = true;
            var sample = await HomePageDataSoure.GetLimitedGroupsAsync();

            RecordProgressRing.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
            RecordProgressRing.IsActive   = false;
            //this.DefaultViewModel["Groups"] = sample;
            groupedItemsViewSource.Source = sample;

            RecordGrid.SelectedItem = null;
            this.disableAppButtons();

            (SemanticZoomGrid.ZoomedOutView as ListViewBase).ItemsSource = groupedItemsViewSource.View.CollectionGroups;
            pageTitle.Text = await SettingsFlyout1.getOrganisationName();
        }