ArcGIS Pro二次开发--提示系统信息

 Notification notification = new Notification();
        protected override void OnClick()
        {

            //ApplySymbol("graduated color");

            try
            {
                if (Project.Current == null) return;
                notification.Title = "提示";
                notification.Message = "gisoracle";
                //notification.ImageUrl = @"pack://application:,,,/TDProAppModule;component/Resources/game32.png";            
                notification.ImageUrl = @"file:///C:UsersDELLsource
eposylsetproylsetproImagesGenericButtonBlue32.png";
                ArcGIS.Desktop.Framework.FrameworkApplication.AddNotification(notification);
            }
            catch (Exception ex)
            {
                ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(ex.Message);
            }

        }
原文地址:https://www.cnblogs.com/gisoracle/p/12491006.html