Inheritance: System.Windows.Forms.Form
        IRasterFunctionVariable myBandIndicesVar; // Variable for the Band Indices property.
        #endregion

        public NDVICustomFunctionUIClass()
        {
            myForm        = new NDVICustomFunctionUIForm();
            myArgs        = null;
            myPriority    = 100;
            myPageSite    = null;
            myHelpFile    = "";
            mySupportedID = new UIDClass();
            // The UID of the NDVICustomFunction object.
            mySupportedID.Value = "{" + "652642F3-9106-4EB3-9262-A4C39E03BC56" + "}";
            templateMode        = false;

            myRasterVar      = null;
            myBandIndicesVar = null;
        }
        IRasterFunctionVariable myBandIndicesVar; // Variable for the Band Indices property.
        #endregion

        public NDVICustomFunctionUIClass()
        {
            myForm = new NDVICustomFunctionUIForm();
            myArgs = null;
            myPriority = 100;
            myPageSite = null;
            myHelpFile = "";
            mySupportedID = new UIDClass();
            // The UID of the NDVICustomFunction object.
            mySupportedID.Value = "{" + "652642F3-9106-4EB3-9262-A4C39E03BC56" + "}";
            templateMode = false;

            myRasterVar = null;
            myBandIndicesVar = 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;
 }