How do I show the enviroment settings window through C#

المشرف العام

Administrator
طاقم الإدارة
I am trying to let the user click the enviroment button at the bottom of my custom form and have the Enviroment Window Pop Up. I cannot seem to locate the Enviroment Settings Window GUID anywhere?

void environmentsButton_Click(object sender, EventArgs e) { try { UID uid = new UIDClass(); uid.Value = "esriGeoprocessing.GPEnviromentSettingsWindow"; Debug.WriteLine("Setting"); ESRI.ArcGIS.Framework.IDockableWindow win = Program.ActiveDockableWindowManager.GetDockableWindow(uid); Debug.WriteLine("Showing"); win.Show(true); } catch (Exception ex) { Debug.WriteLine(ex.Message); } }

أكثر...
 
أعلى