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