protected virtual void OnToolClassLoadConfigurationException(CoreExceptionEventArgs args)
        {
            EventHandler <CoreExceptionEventArgs> handler = ToolClassLoadConfigurationException;

            if (handler != null)
            {
                handler(this, args);
            }
        }
        void Instance_ToolClassLoadException(object sender, CoreExceptionEventArgs e)
        {
            string message = string.Empty;
            if (e != null && e.Exception != null)
            {
                message = e.Exception.Message;
            }

            AddNotification(LocalizableStrings.ToolClassLoadFailedExceptionHeader, message, e.Exception != null ? e.Exception.ToString() : null, MessageType.Warning);
        }
 void Instance_ToolClassLoadConfigurationException(object sender, CoreExceptionEventArgs e)
 {
     AddNotification(LocalizableStrings.ToolClassLoadConfigurationFailedExceptionHeader, e != null && e.Exception != null ? e.Exception.ToString() : "", e.Exception != null ? e.Exception.ToString() : null, MessageType.Warning);
 }
 protected virtual void OnToolClassLoadConfigurationException(CoreExceptionEventArgs args)
 {
     EventHandler<CoreExceptionEventArgs> handler = ToolClassLoadConfigurationException;
     if (handler != null)
         handler(this, args);
 }
 private void toolPanel_ToolClassLoadConfigurationException(object sender, CoreExceptionEventArgs e)
 {
     OnToolClassLoadConfigurationException(e);
 }