就这个Demo,我把下面几个代码注释掉,就可以编辑了。- private void Form1_Load(object sender, EventArgs e)
- {
- txContent.Load(InitTemplatePath, TXTextControl.StreamType.InternalFormat);
- AFC = this.txContent.ApplicationFields;
- DTC = this.txContent.DocumentTargets;
- this.txContent.Tables.GridLines = false;
- //SetAppFieldsName();
- //InitData();
- //this.txContent.ImeMode = System.Windows.Forms.ImeMode.Disable;
- //this.txContent.TextFieldEntered += txContent_TextFieldEntered;
- //this.txContent.TextFieldLeft += txContent_TextFieldLeft;
- }
复制代码 |