コード例 #1
0
        protected virtual void OnToolClassLoadConfigurationException(CoreExceptionEventArgs args)
        {
            EventHandler <CoreExceptionEventArgs> handler = ToolClassLoadConfigurationException;

            if (handler != null)
            {
                handler(this, args);
            }
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 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);
 }
コード例 #4
0
 protected virtual void OnToolClassLoadConfigurationException(CoreExceptionEventArgs args)
 {
     EventHandler<CoreExceptionEventArgs> handler = ToolClassLoadConfigurationException;
     if (handler != null)
         handler(this, args);
 }
コード例 #5
0
 private void toolPanel_ToolClassLoadConfigurationException(object sender, CoreExceptionEventArgs e)
 {
     OnToolClassLoadConfigurationException(e);
 }