protected override void OnClick() { IMxDocument mxDoc = ArcMap.Document; IMap map = mxDoc.FocusMap; esriUtil.Forms.Stats.frmRasterFromModel frmPlr = new esriUtil.Forms.Stats.frmRasterFromModel(map); frmPlr.Show(); }