ArcGIS Pro右上角的提示信息

Notification notification = new Notification();

        protected override void OnClick()
        {
            try
            {
                if (Project.Current == null)
                    return;

                notification.Title = "提示";
                notification.Message = "gisoracle提示
欢迎你
2020年0328";
                //notification.ImageUrl = @"pack://application:,,,/TDProAppModule;component/Resources/game32.png";
                notification.ImageUrl = @"file:///C:/Program Files/NVIDIA Corporation/Installer2/installer/warning.png";
                ArcGIS.Desktop.Framework.FrameworkApplication.AddNotification(notification);

            }
            catch (Exception ex)
            {
                ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(ex.Message);
            }



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