private void BindSites()
        {
            var projectService = MyAppManager.Instance.CompositionContainer.GetExportedValue <IProjectService>();

            ODM = projectService.Project.ODMSource;
            if (ODM != null)
            {
                var sites = ODM.GetSites(SQLSelection);
                if (sites != null)
                {
                    cmbObsSite.DataSource = sites;
                }
            }
        }
Beispiel #2
0
        private void BindSites()
        {
            var projectService = MyAppManager.Instance.CompositionContainer.GetExportedValue <IProjectService>();

            ODM = projectService.Project.ODMSource;
            if (ODM != null)
            {
                var sites = ODM.GetSites(Settings.Default.GagingStationSQL);
                if (sites != null)
                {
                    cmbSite.DataSource = sites;
                }
            }
        }