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

Method OnBnClickedButtonUtf2gb

app/jencode/JencodeDlg.cpp:236–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void CJencodeDlg::OnBnClickedButtonUtf2gb()
237{
238 // TODO: 在此添加控件通知处理程序代码
239 if (!CheckPath()) {
240 MessageBox(m_sPath);
241 return;
242 }
243
244 static CGb2Utf8 utf2gb("utf-8", "gbk");
245
246 utf2gb.Init(this->GetSafeHwnd(), m_sPath, m_dPath);
247 utf2gb.OnTransEnd(WM_USER_TRANS_OVER);
248 utf2gb.start();
249 m_wndStatus.SetText("运行", 0, 0);
250 m_nBegin = time(NULL);
251 ButtonsDisable();
252}
253
254void CJencodeDlg::OnBnClickedButtonGb2uni()
255{

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