Esempio n. 1
0
        public static void FireWidgetFunctionRemovedEvent(WidgetFunctionsRemovedEventArgs widgetFunctionsRemovedEventArgs)
        {
            lock (_lock)
            {
                if (_widgetFunctionsRemovedEvent != null)
                {
                    WidgetFunctionsRemovedEventDelegate widgetFunctionsRemovedEvent = _widgetFunctionsRemovedEvent;

                    widgetFunctionsRemovedEvent(widgetFunctionsRemovedEventArgs);
                }
            }
        }
        public static void FireWidgetFunctionRemovedEvent(WidgetFunctionsRemovedEventArgs widgetFunctionsRemovedEventArgs)
        {
            lock (_lock)
            {
                if (_widgetFunctionsRemovedEvent != null)
                {
                    WidgetFunctionsRemovedEventDelegate widgetFunctionsRemovedEvent = _widgetFunctionsRemovedEvent;

                    widgetFunctionsRemovedEvent(widgetFunctionsRemovedEventArgs);
                }
            }
        }