Example #1
0
 public GEOJSONParser(GeoJSONData dat, List <VenueLocation> ven)
 {
     data = dat;
     db   = new RhodeITDB();
     LocationsWithAssociatedHostedSubjects = ven;
     Process();
 }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("OTE3MjNAMzEzNzJlMzEyZTMwUUU4Q3NGUitCN0ZVQ09yTmxReDV3VlBRZ0xWNUdOdEJNYmoxWjhNNTh2bz0=;OTE3MjRAMzEzNzJlMzEyZTMwbjJUSnlaTkFLUGdKYXdhYjBNeHBsQUNhcThGVFNvZndoL1owQ0tTTUJIbz0=;OTE3MjVAMzEzNzJlMzEyZTMwWVpzcGM2RFZKUXN2VUh6eHRRNzVvbjIrV1Uzck1jS0wva2ZFcEpnaUFUQT0=;OTE3MjZAMzEzNzJlMzEyZTMwRlNSU2R2NjlHNkZ4T0I2b3ZDSnJ3V2YzMlpmL1Z5VWpWbVNiOFZJNGp4MD0=;OTE3MjdAMzEzNzJlMzEyZTMwT2dlRzFrRFJxTnY2bnhBSGVjQVpocEhjWFVhbzVDQmxLU0VLVGEwbXptRT0=;OTE3MjhAMzEzNzJlMzEyZTMwWE40LzRkN1ZqNnFNUms5QlRkSDVLN2ZsblNvNy92YnlrWnZRVXdXNU16ST0=;OTE3MjlAMzEzNzJlMzEyZTMwV1ppeDRIdUkwWkdNa1ZtMFhjaVlSVDZzT1JIMFk5K3VZN2hIRkdxVjB5VT0=;OTE3MzBAMzEzNzJlMzEyZTMwVFVqNjJRSUFqcUNTVVJVOWdCU1Z2Sy9kVDBxUU9yQTJTNGdjdjY0N3Uzdz0=;OTE3MzFAMzEzNzJlMzEyZTMwSDZpQnpWZUhKbW5xdkxjMEFqZTFYbTE3SHIwVStVUmNUWW9PMHVURWtWZz0=;OTE3MzJAMzEzNzJlMzEyZTMwT2dlRzFrRFJxTnY2bnhBSGVjQVpocEhjWFVhbzVDQmxLU0VLVGEwbXptRT0=");
            SfDataGrid    dataGrid = new SfDataGrid();
            RhodeITDB     db       = new RhodeITDB();
            var           helper   = new ResourceHelper();
            GEOJSONParser temp     = new GEOJSONParser(helper.Process(), helper.GetParsedVenuesWithSubjects());

            dataGrid.ItemsSource       = db.GetAllVenueLocations();
            dataGrid.FilterRowPosition = FilterRowPosition.FixedTop;
            dataGrid.AllowEditing      = true;
            dataGrid.AddNewRowPosition = AddNewRowPosition.Top;
            var addNewRowController = dataGrid.GetAddNewRowController();
            int addNewRowIndex      = addNewRowController.GetAddNewRowIndex();

            dataGrid.AddNewRowPosition           = AddNewRowPosition.Top;
            dataGrid.NewItemPlaceholderPosition  = NewItemPlaceholderPosition.AtBeginning;
            dataGrid.SearchHelper.AllowFiltering = true;
            grid.Children.Add(dataGrid);
        }