MCPcopy Create free account
hub / github.com/acl-dev/acl / OnBnClickedButtonGb2utf

Method OnBnClickedButtonGb2utf

app/jencode/JencodeDlg.cpp:219–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void CJencodeDlg::OnBnClickedButtonGb2utf()
220{
221 // TODO: 在此添加控件通知处理程序代码
222 if (!CheckPath()) {
223 return;
224 }
225
226 static CGb2Utf8 gb2Utf8("gbk", "UTF-8");
227
228 gb2Utf8.Init(this->GetSafeHwnd(), m_sPath, m_dPath);
229 gb2Utf8.OnTransEnd(WM_USER_TRANS_OVER);
230 gb2Utf8.start();
231 m_wndStatus.SetText("运行", 0, 0);
232 m_nBegin = time(NULL);
233 ButtonsDisable();
234}
235
236void CJencodeDlg::OnBnClickedButtonUtf2gb()
237{

Callers

nothing calls this directly

Calls 4

InitMethod · 0.45
OnTransEndMethod · 0.45
startMethod · 0.45
SetTextMethod · 0.45

Tested by

no test coverage detected