void IDockableWindowDef.OnCreate(object hook) { m_application = hook as IApplication; #region setup URLs to the combo NameURLPair[] urls = new NameURLPair[9]; urls[0] = new NameURLPair(); urls[0].Name = "ESRI"; urls[0].URL = "http://www.esri.com"; urls[1] = new NameURLPair(); urls[1].Name = "ESRI User Conference"; urls[1].URL = "http://www.esri.com/events/uc/index.html"; urls[2] = new NameURLPair(); urls[2].Name = "ESRI User Conference Blog"; urls[2].URL = "http://blogs.esri.com/roller/page/ucblog"; urls[3] = new NameURLPair(); urls[3].Name = "ESRI Support"; urls[3].URL = "http://support.esri.com/"; urls[4] = new NameURLPair(); urls[4].Name = "ESRI Discussion Forum"; urls[4].URL = "http://support.esri.com/index.cfm?fa=forums.gateway"; urls[5] = new NameURLPair(); urls[5].Name = "ESRI Developer Network (EDN)"; urls[5].URL = "http://edn.esri.com"; urls[6] = new NameURLPair(); urls[6].Name = "Current ArcObject Library"; urls[6].URL = "http://edndoc.esri.com/arcobjects/9.1/default.asp"; urls[7] = new NameURLPair(); urls[7].Name = "ArcGIS 9.1 Desktop Help"; urls[7].URL = "http://webhelp.esri.com/arcgisdesktop/9.1/"; urls[8] = new NameURLPair(); urls[8].Name = "ArcGIS 9.2 Desktop Help"; urls[8].URL = "http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm"; cboURLs.DisplayMember = "Name"; cboURLs.ValueMember = "URL"; cboURLs.DataSource = urls; #endregion }