Esempio n. 1
0
        // --------------------------------
        // - End public properties region -
        // --------------------------------
        #endregion



        #region - Public methods -
        // -------------------------------
        // - Begin public methods region -
        // -------------------------------

        /// <summary>
        /// Common string dump logging for both a single and Sequence Attribute.
        /// </summary>
        /// <param name="attribute">The Attribute.</param>
        private void VisitAttribute(Attribute attribute)
        {
            stringBuilder.Append(this.prefix + string.Empty.PadLeft(this.nestingLevel, '>') + "(" + attribute.Tag.GroupNumber.ToString("X4") + "," + attribute.Tag.ElementNumber.ToString("X4") + ")");
            stringBuilder.Append(", " + VRHelper.ToString(attribute.ValueRepresentations, "/"));
            stringBuilder.Append(", \"" + attribute.Name + "\"");
            stringBuilder.Append(" ...................." + attribute.ToString3() + "\n");
        }
 //
 void OnToggleValueChanged(bool value)
 {
     VRHelper.SetVRDeviceType(value ? VRDeviceType.Split : VRDeviceType.None);
 }
 //
 void OnDropdownValueChanged(int index)
 {
     VRHelper.SetVRDeviceType(indexToVRDeviceType[index]);
 }