Beispiel #1
0
        public PlaceFinderDockableWindow(object hook)
        {
            InitializeComponent();
            var factory = new Factory();

            factory.PlaceFinderDockableWindow = this;
            PlaceFinderController             = new PlaceFinderController(factory);
            configurationsForm = new ConfigurationsForm(PlaceFinderController);

            this.Hook = hook;
        }
        public PlaceFinderDockableWindow(object hook)
        {
            InitializeComponent();
            var factory = new Factory();

            factory.PlaceFinderDockableWindow = this;
            PlaceFinderController             = new PlaceFinderController(factory);

            // This string array defines the default search areas. The strings must match the elements in the
            // Configurations form exactly
            string[] defaultConfig = new string[] { "Stednavne v3" };

            // Create the configurations form
            configurationsForm = new ConfigurationsForm(PlaceFinderController, defaultConfig);

            this.Hook = hook;
        }