Exemplo n.º 1
0
 public frmAdvSWM()
 {
     InitializeComponent();
     m_pSnippet = new clsSnippet();
     m_pForm    = Application.OpenForms["MainForm"] as MainForm;
     m_pEngine  = m_pForm.pEngine;
 }
Exemplo n.º 2
0
        //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();
        }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
        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;
            }
        }
Exemplo n.º 5
0
 public frmPlot()
 {
     InitializeComponent();
     m_pForm    = Application.OpenForms["MainForm"] as MainForm;
     m_pSnippet = new clsSnippet();
 }