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);
}
}