Esempio n. 1
0
 /// <summary>
 /// URGWOM is a custom RiverWare model.
 /// Pisces reads the ouput as excel files.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddUrgwomClick(object sender, EventArgs e)
 {
     if (openExcelDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         UrgwomUtility u = new UrgwomUtility(DB, openExcelDialog.FileName);
         u.LoadTree();      // load slots into Tree from first run -- column names
         u.LoadScenarios(); // Load scenario selector with years 1976 - 2005)
         DatabaseChanged();
     }
 }
Esempio n. 2
0
        /// <summary>
        /// URGWOM is a custom RiverWare model.
        /// Pisces reads the ouput as excel files.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AddUrgwomClick(object sender, EventArgs e)
        {
            if (openExcelDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {

                UrgwomUtility u = new UrgwomUtility(DB,openExcelDialog.FileName);
                u.LoadTree();// load slots into Tree from first run -- column names
                u.LoadScenarios(); // Load scenario selector with years 1976 - 2005)
                DatabaseChanged();
            }
        }