public FieldLegendControl()
        {
            InitializeComponent();

            _db = new AppContext();
            _fieldLegendRepository = new FieldLegendRepository(_db);
            _colors = new List<LegendPattern>();

            BindComboList();
        }
Exemple #2
0
        public KrigingForm()
        {
            InitializeComponent();

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

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

            btnAddImageTo.Visible = false;
        }
Exemple #3
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;
        }