Exemplo n.º 1
0
 private void erosionSimToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var dlg = new OpenFileDialog();
     dlg.Filter = "Uber surface files (*.uber)|*.uber";
     if (dlg.ShowDialog() == DialogResult.OK)
     {
         var system = new GUILayer.ErosionIterativeSystem(dlg.FileName);
         var form = new Erosion(system);
         form.Show();
         _forms.Add(form);
     }
 }
Exemplo n.º 2
0
        private void erosionSimToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var dlg = new OpenFileDialog();

            dlg.Filter = "Uber surface files (*.uber)|*.uber";
            if (dlg.ShowDialog() == DialogResult.OK)
            {
                var system = new GUILayer.ErosionIterativeSystem(dlg.FileName);
                var form   = new Erosion(system);
                form.Show();
                _forms.Add(form);
            }
        }