// 更新
if ( LOWORD(wParam) == IDC_UPDATE ) {
if ( CurApp->BodyCheck() ) {
GetMessageString( "0102" );
if ( Dlg->MsgOkCancel( Message ) ) {
if ( CurApp->DataInsert() ) {
CurApp->HeadClear();
CurApp->BodyClear();
CurApp->HeadEnable();
CurApp->BodyDisable();
Dlg->EditFocus( IDC_SBUNRUI );
GetMessageString( "5001" );
Dlg->StatusSetText(Message);
}
}
}
}
|