Example #1
0
        /// <summary>
        /// If returns true dialog will close after OK button is clicked.
        /// </summary>
        /// <param name="Type">The closing type. See <see cref="REXCanCloseType"/> enum.</param>
        /// <returns>Returns true if module can be closed.</returns>
        public override bool OnCanClose(REXCanCloseType Type)
        {
            bool result = true;

            if (ExtensionRef != null)
            {
                result &= ExtensionRef.OnCanClose(Type);
            }

            return(result);
        }
Example #2
0
        /// <summary>
        /// If returns true dialog will close after OK button is clicked.
        /// </summary>
        /// <param name="Type">The closing type. See <see cref="REXCanCloseType"/> enum.</param>
        /// <returns>Returns true if module can be closed.</returns>
        public override bool OnCanClose(REXCanCloseType Type)
        {
            bool result = true;

            if (ExtensionRef != null)
            {
                result &= ExtensionRef.OnCanClose(Type);
            }

            // insert code here.

            result &= base.OnCanClose(Type);

            return(result);
        }
Example #3
0
 //******************************************************************************************
 /// <summary>
 /// If return true dialog will close after OK button clicked
 /// </summary>
 public override bool OnCanClose(REXCanCloseType Type)
 {
     return(base.OnCanClose(Type));
 }