public WatermarkFunctionUIClass()
        {
            myForm              = new WatermarkFunctionUIForm();
            myArgs              = null;
            myPriority          = 100;
            myPageSite          = null;
            myHelpFile          = "";
            mySupportedID       = new UIDClass();
            mySupportedID.Value = "{" + "25BE29A6-AAF9-496E-AE73-130D5947682D" + "}";
            templateMode        = false;
            isFormReadOnly      = false;

            myRasterVar             = null;
            myBlendPercentageVar    = null;
            myWatermarkImagePathVar = null;
            myXGapVar = null;
            myYGapVar = null;
        }
        bool templateMode; // Flag to specify template mode.

        #endregion Fields

        #region Constructors

        public WatermarkFunctionUIClass()
        {
            myForm = new WatermarkFunctionUIForm();
            myArgs = null;
            myPriority = 100;
            myPageSite = null;
            myHelpFile = "";
            mySupportedID = new UIDClass();
            mySupportedID.Value = "{" + "25BE29A6-AAF9-496E-AE73-130D5947682D" + "}";
            templateMode = false;
            isFormReadOnly = false;

            myRasterVar = null;
            myBlendPercentageVar = null;
            myWatermarkImagePathVar = null;
            myXGapVar = null;
            myYGapVar = null;
        }
 /// <summary>
 /// Shut down the form and destroy the object.
 /// </summary>
 public void Deactivate()
 {
     myForm.Close();
     myForm.Dispose();
     myForm = null;
 }
 /// <summary>
 /// Shut down the form and destroy the object.
 /// </summary>
 public void Deactivate()
 {
     myForm.Close();
     myForm.Dispose();
     myForm = null;
 }