/// <summary> /// Called when data loaded. /// </summary> /// <param name="Result">If set to <c>true</c> operation succeeded; Otherwise some errors found.</param> public override void OnDataLoaded(bool Result) { //Step 5.2.: Serialize if (Result) { ParameterControlRef.SetDialog(); NoteControlRef.SetDialog(); } }
/// <summary> /// Activates or deactivates layout - module can modify layout before or after activation. /// </summary> /// <param name="LItem">The layout item.</param> /// <param name="Activate">If set to <c>true</c> activate.</param> public override void OnActivateLayout(REXLayoutItem LItem, bool Activate) { //Step 4.6.: Extension class base.OnActivateLayout(LItem, Activate); ParameterControlRef.SetData(); NoteControlRef.SetDialog(); if (ExtensionRef != null) { ExtensionRef.OnActivateLayout(LItem, Activate); } }
/// <summary> /// Set data on dialogs. /// </summary> public override void OnSetDialogs() { //Step 4.5.: Extension class base.OnSetDialogs(); NoteControlRef.SetDialog(); ParameterControlRef.SetDialog(); Layout.SelectLayout("Parameters"); if (ExtensionRef != null) { ExtensionRef.OnSetDialogs(); } }