6 Star 76 Fork 27

ZZK-1989/tianruoocr

forked from jurafish/tianruoocr 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
RichTextBoxEx.cs 928 Bytes
一键复制 编辑 原始数据 按行查看 历史
rochy_he 提交于 2019-02-24 11:38 . 重构汉字转拼音
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using TrOCR.Helper;
namespace TrOCR
{
public class RichTextBoxEx : HelpRepaint.AdvRichTextBox
{
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
components = new Container();
}
[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr LoadLibrary(string path);
[Bindable(true)]
[RefreshProperties(RefreshProperties.All)]
[SettingsBindable(true)]
[DefaultValue(false)]
[Category("Appearance")]
public string Rtf2
{
get
{
return Rtf;
}
set
{
Rtf = value;
}
}
private IContainer components;
private static IntPtr moduleHandle;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/ZZK-1989/tianruoocr.git
git@gitee.com:ZZK-1989/tianruoocr.git
ZZK-1989
tianruoocr
tianruoocr
master

搜索帮助