Exemple #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            string xmlFile = this.textBox1.Text;

            ArcTimData.readXMLFile(xmlFile);
            ModelSettingsForm msf = new ModelSettingsForm(m_application, false, m_hookHelper2);

            this.Hide();
            msf.Show();
        }
 /// <summary>
 /// Occurs when this command is clicked
 /// </summary>
 public override void OnClick()
 {
     if (m_hookHelper != null)
     {
         ModelSettingsForm msw = new ModelSettingsForm(m_application, false, m_hookHelper);
         msw.Show();
     }
     else if (m_sceneHookHelper != null)
     {
         //TODO: Add Scene related logic
     }
     else if (m_globeHookHelper != null)
     {
         //TODO: Add Globe related logic
     }
 }