public frmAdvSWM() { InitializeComponent(); m_pSnippet = new clsSnippet(); m_pForm = Application.OpenForms["MainForm"] as MainForm; m_pEngine = m_pForm.pEngine; }
//public IFeatureLayer m_pClipPolygon; public frmSubsetPoly() { InitializeComponent(); m_pForm = Application.OpenForms["MainForm"] as MainForm; for (int i = 0; i < m_pForm.map1.Layers.Count; i++) { if (m_pForm.map1.Layers[i] is IMapPolygonLayer) { cboTargetLayer.Items.Add(m_pForm.map1.Layers[i].DataSet.Name); } } m_pSnippet = new clsSnippet(); }
public frmGLM() { InitializeComponent(); m_pForm = Application.OpenForms["MainForm"] as MainForm; for (int i = 0; i < m_pForm.map1.Layers.Count; i++) { cboTargetLayer.Items.Add(m_pForm.map1.Layers[i].DataSet.Name); } m_pEngine = m_pForm.pEngine; m_pEngine.Evaluate("library(spdep); library(maptools); library(MASS)"); m_pSnippet = new clsSnippet(); }
public frmSpatialRegression() { try { InitializeComponent(); m_pForm = Application.OpenForms["MainForm"] as MainForm; for (int i = 0; i < m_pForm.map1.Layers.Count; i++) { cboTargetLayer.Items.Add(m_pForm.map1.Layers[i].DataSet.Name); } m_pEngine = m_pForm.pEngine; m_pEngine.Evaluate("library(spdep); library(maptools); library(MASS)"); m_pSnippet = new clsSnippet(); } catch (Exception ex) { frmErrorLog pfrmErrorLog = new frmErrorLog(); pfrmErrorLog.ex = ex; pfrmErrorLog.ShowDialog(); return; } }
public frmPlot() { InitializeComponent(); m_pForm = Application.OpenForms["MainForm"] as MainForm; m_pSnippet = new clsSnippet(); }