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:\Users\DELL\source\repos\ylsetpro\ylsetpro\Images\GenericButtonBlue32.png"; ArcGIS.Desktop.Framework.FrameworkApplication.AddNotification(notification); } catch (Exception ex) { ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(ex.Message); } }