Andwho.Windows.Forms.QQTextBoxEx.PositionTextBox C# (CSharp) Method

PositionTextBox() protected method

偏移文本框
protected PositionTextBox ( ) : void
return void
        protected virtual void PositionTextBox()
        {
            if (this._icon != null)
            {
                int position = 23;
                this.BaseText.Width -= position;
                this.BaseText.Location = new Point(
                    this.BaseText.Location.X + position,
                    this.BaseText.Location.Y);
            }
        }