public RangeRulesControl()
        {
            _db = new AppContext();
            _preferenceRepository = new AppPreferencesRepository(_db);

            InitializeComponent();
        }
        public IgnoreFieldsControl()
        {
            _db = new AppContext();
            _preferenceRepository = new AppPreferencesRepository(_db);

            InitializeComponent();
        }
Beispiel #3
0
 public FileReaderForm()
 {
     _db = new AppContext();
     _preferenceRepository = new AppPreferencesRepository(_db);
     rangeList = _preferenceRepository.GetFieldRangeList();
     InitializeComponent();
 }
Beispiel #4
0
        public KrigingForm()
        {
            InitializeComponent();

            _db = new AppContext();
            _preferenceRepository = new AppPreferencesRepository(_db);
            _legendRepository = new FieldLegendRepository(_db);

            this.map = (Map)PluginExtension.MyAppManager.Map;

            btnAddImageTo.Visible = false;
        }
Beispiel #5
0
        public KrigingForm(bool importImage, string exportButtonText, bool multipleField)
        {
            InitializeComponent();

            _db = new AppContext();
            _preferenceRepository = new AppPreferencesRepository(_db);
            _legendRepository = new FieldLegendRepository(_db);

            this.map = (Map)PluginExtension.MyAppManager.Map;

            this.canSelectMultipleField = multipleField;
            this.btnAddImageTo.Text = exportButtonText;
            this.btnAddImageTo.Enabled = false;

            if (importImage) btnAddImageTo.Visible = true;
        }