/// <summary> /// Get data from dialogs and sets Data's strucutres. /// </summary> public override void OnSetData() { base.OnSetData(); SubControlRef.SetData(); // insert code here. if (ExtensionRef != null) { ExtensionRef.OnSetData(); } }
/// <summary> /// Set data on dialogs. /// </summary> public override void OnSetDialogs() { base.OnSetDialogs(); // insert code here. SubControlRef.SetDialog(); Layout.SelectLayout("L1"); if (ExtensionRef != null) { ExtensionRef.OnSetDialogs(); } }
/// <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) { base.OnActivateLayout(LItem, Activate); if (Activate) { if (LItem.Name == "L1") { SubControlRef.Focus(); REXLayoutItem LayoutItem = Layout.GetItem("L1"); LayoutItem.Visible = true; } } else { } if (ExtensionRef != null) { ExtensionRef.OnActivateLayout(LItem, Activate); } }
/// <summary> /// Get data from dialogs and sets Data's strucutres. /// </summary> /// <example> /// <code> public override void OnSetData() { base.OnSetData(); SubControlRef.SetData(); }