/// <summary> /// 弹出编辑html对话框。 /// </summary> /// <param name="aInText"></param> /// <param name="HTML_result"></param> /// <returns></returns> public static bool pt_is成功获取html编辑器的结果(string aInText, ref string HTML_result) { bool lvRet = false; FormHTML_Editor lvf = new FormHTML_Editor(); lvf.pv_要编辑的内容 = aInText; if (lvf.ShowDialog() == DialogResult.OK) { HTML_result = lvf.HtmlContent; lvRet = true; } return(lvRet); }
public static bool pt_is自动黏贴出html(IDataObject inData, ref string HTML_result) { bool lvRet = false; FormHTML_Editor lvf = new FormHTML_Editor(); lvf.pv_剪切板内容 = inData; lvf.PV_手工录入 = false; if (lvf.ShowDialog() == DialogResult.OK) { HTML_result = lvf.HtmlContent; lvRet = true; } return(lvRet); }