Be.Windows.Forms.HexBox.HexBox C# (CSharp) 메소드

HexBox() 공개 메소드

Initializes a new instance of a HexBox class.
public HexBox ( ) : System
리턴 System
        public HexBox()
        {
            this._vScrollBar = new VScrollBar();
            this._vScrollBar.Scroll += _vScrollBar_Scroll;

            this._builtInContextMenu = new BuiltInContextMenu(this);

            BackColor = Color.White;
            Font = new Font("Courier New", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
            _stringFormat = new StringFormat(StringFormat.GenericTypographic);
            _stringFormat.FormatFlags = StringFormatFlags.MeasureTrailingSpaces;

            ActivateEmptyKeyInterpreter();

            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            _thumbTrackTimer.Interval = 50;
            _thumbTrackTimer.Tick += PerformScrollThumbTrack;
        }
HexBox