protected virtual void OnScriptNameChanged(object sender, NameChangedEventArgs e)
        {
            NameChangedEventHandler handler = ScriptNameChanged;

            if (handler != null)
            {
                handler(sender, e);
            }
        }
        protected virtual void OnConversationNameChanged(object sender, NameChangedEventArgs e)
        {
            NameChangedEventHandler handler = ConversationNameChanged;

            if (handler != null)
            {
                handler(sender, e);
            }
        }
Exemple #3
0
        protected virtual void OnNameChangedEvent(string oldName, string newName)
        {
            NameChangedEventHandler ae = this.NameChanged;

            if (ae != null)
            {
                TableObjectChangedEventArgs <string> eventArgs = new TableObjectChangedEventArgs <string>(oldName, newName);
                ae(this, eventArgs);
            }
        }