关于Devexpress richEditControl
窗体可以继承FormBase,但是不能继承frmTEditBase
barManager1:
1
btnCapture.ItemClick += (s, e) => { using (FrmCapture frmC = new FrmCapture()) { if (frmC.ShowDialog() == System.Windows.Forms.DialogResult.OK) { RichEditControl control = this.richEditControl1; control.Document.InsertImage(control.Document.CaretPosition, DocumentImageSource.FromFile(frmC.SaveFilename)); } } };
截屏代码