Exemplo n.º 1
0
        /// <summary>
        /// Hide properties not appropriate for constituents.
        /// See also CswNbtObjClassChemical._toggleConstituentProps()
        /// </summary>
        private void _toggleConstituentProps()
        {
            if( CswEnumTristate.True == IsConstituent.Checked )
            {
                ApprovedForReceiving.setHidden( true, true );
                Supplier.setHidden( true, true );
                PartNumber.setHidden( true, true );
                Receive.setHidden( true, true );
                Request.setHidden( true, true );

            }
        } // _toggleConstituentProps()