private void navForm_LoadFormsEditorEvent(object sender, LoadFormsEditorEventArgs e)
 {
     object[] args = new object[] {sender, e};
     Invoke(new LoadFormsEditorEventHandler(LoadFormsEditor), args);
 }
 /// <summary>
 /// Loads the form editor.
 /// </summary>
 /// <param name="sender"> The sender object.</param>
 /// <param name="e"> The LoadFormsEditorEventArgs.</param>
 private void LoadFormsEditor(object sender, LoadFormsEditorEventArgs e)
 {
     // Add as a pending call if is still loading.
     if ( InspectorState == GBInspectorState.Complete )
     {
         DisplayForms(e.FormCollection, false);
         formCollection = null;
     }
     else
     {
         formCollection = e.FormCollection;
     }
 }