| 252 | } |
| 253 | |
| 254 | void CJencodeDlg::OnBnClickedButtonGb2uni() |
| 255 | { |
| 256 | // TODO: 在此添加控件通知处理程序代码 |
| 257 | if (!CheckPath()) { |
| 258 | MessageBox(m_sPath); |
| 259 | return; |
| 260 | } |
| 261 | |
| 262 | return; |
| 263 | |
| 264 | static CGb2Utf8 gb2uni("gbk", "UCS2LE"); |
| 265 | |
| 266 | gb2uni.Init(this->GetSafeHwnd(), m_sPath, m_dPath); |
| 267 | gb2uni.OnTransEnd(WM_USER_TRANS_OVER); |
| 268 | gb2uni.start(); |
| 269 | m_wndStatus.SetText("运行", 0, 0); |
| 270 | m_nBegin = time(NULL); |
| 271 | ButtonsDisable(); |
| 272 | } |
| 273 | |
| 274 | void CJencodeDlg::OnBnClickedButton2() |
| 275 | { |
nothing calls this directly
no test coverage detected