示例#1
0
        /// <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();
            }
        }
示例#2
0
        /// <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();
            }
        }
示例#3
0
 /// <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);
     }
 }
示例#4
0
        /// <summary>
        /// Get data from dialogs and sets Data's strucutres.
        /// </summary>
        /// <example>
        /// <code>
        public override void OnSetData()
        {
            base.OnSetData();

            SubControlRef.SetData();
        }