4 references to GetPositionFromCharIndex
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripTextBoxTests.cs (4)
780
_toolStripTextBox.
GetPositionFromCharIndex
(0).Should().Be(new Point(1, 0));
781
_toolStripTextBox.
GetPositionFromCharIndex
(5).Should().Be(new Point(29, 0));
782
_toolStripTextBox.
GetPositionFromCharIndex
(10).Should().Be(new Point(57, 0));
791
Point position = _toolStripTextBox.
GetPositionFromCharIndex
(_toolStripTextBox.SelectionStart);