Notification notification = new Notification();

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

                notification.Title = "提示";
                notification.Message = "gisoracle提示\n欢迎你\n2020年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);
            }



        }

 

相关文章:

  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-11-06
  • 2022-01-23
猜你喜欢
  • 2022-01-22
  • 2021-09-18
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2021-11-11
相关资源
相似解决方案