public FieldLegendControl() { InitializeComponent(); _db = new AppContext(); _fieldLegendRepository = new FieldLegendRepository(_db); _colors = new List<LegendPattern>(); BindComboList(); }
public KrigingForm() { InitializeComponent(); _db = new AppContext(); _preferenceRepository = new AppPreferencesRepository(_db); _legendRepository = new FieldLegendRepository(_db); this.map = (Map)PluginExtension.MyAppManager.Map; btnAddImageTo.Visible = false; }
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; }