回复 5楼lovefr01的帖子
测试代码如下:
- private void Form1_Load(object sender, EventArgs e)
- {
- this.textControl1.Text = "123456789";
- }
- private void insertTextToolStripMenuItem_Click(object sender, EventArgs e)
- {
- this.textControl1.InputPosition = new TXTextControl.InputPosition(1, 1, 5);
- this.textControl1.Selection.Text = "textcontrol";
- }
复制代码 |