Esempio n. 1
0
 protected internal virtual void OnScriptingContextReleased(ContextEventArgs e)
 {
     var handler = ScriptingContextReleased;
     if (handler != null) {
         handler(this, e);
     }
 }
 private void OnScriptingContextReleased(object sender, ContextEventArgs e)
 {
     if (e.Context.IsSame(EntryContext)) {
         Cancel();
     }
 }