Пример #1
0
 void m_script_Updated(object sender, EditableScriptUpdatedEventArgs e)
 {
     if (Changed != null) Changed(this, new EventArgs());
 }
Пример #2
0
 protected void RaiseUpdated(EditableScriptUpdatedEventArgs e)
 {
     if (Updated != null)
     {
         Updated(this, e);
     }
 }
Пример #3
0
        private void script_Updated(object sender, EditableScriptUpdatedEventArgs e)
        {
            if (Updated != null)
            {
                Updated(this, new EditableScriptsUpdatedEventArgs((IEditableScript)sender, e));
            }
            if (UnderlyingValueUpdated != null)
            {
                UnderlyingValueUpdated(this, new DataWrapperUpdatedEventArgs());
            }

            System.Diagnostics.Debug.Assert(m_underlyingScript.Scripts.Count() == m_scripts.Count);
        }
Пример #4
0
 internal EditableScriptsUpdatedEventArgs(IEditableScript updatedScript, EditableScriptUpdatedEventArgs args)
 {
     UpdatedScript = updatedScript;
     UpdatedScriptEventArgs = args;
 }