private void btnLoadCs_Click(object sender, EventArgs e)
        {
            CoordinateSystemDefinition cs = CoordinateSystemBrowserDialog.GetCoordinateSystem();

            if (cs != null)
            {
                _presenter.SetCoordinateSystem(cs);
            }
        }
Beispiel #2
0
        public static CoordinateSystemDefinition GetCoordinateSystem()
        {
            CoordinateSystemBrowserDialog diag = new CoordinateSystemBrowserDialog();

            if (diag.ShowDialog() == DialogResult.OK)
            {
                return(diag.SelectedCS);
            }
            return(null);
        }
 public static CoordinateSystemDefinition GetCoordinateSystem()
 {
     CoordinateSystemBrowserDialog diag = new CoordinateSystemBrowserDialog();
     if (diag.ShowDialog() == DialogResult.OK)
     {
         return diag.SelectedCS;
     }
     return null;
 }