|
@@ -800,6 +800,32 @@ void CSystemSettingWnd::HandleClickMsg(TNotifyUI& msg)
|
|
|
{
|
|
{
|
|
|
m_valueWnd->PrintTest();
|
|
m_valueWnd->PrintTest();
|
|
|
}
|
|
}
|
|
|
|
|
+ else if (senderName == _T("shoukuan_setting_save"))
|
|
|
|
|
+ {
|
|
|
|
|
+ //点击了收款设置的保存按钮
|
|
|
|
|
+
|
|
|
|
|
+ //先处理开机启动
|
|
|
|
|
+ CCheckBoxUI* kaijiqidong = static_cast<CCheckBoxUI*>(m_pm.FindControl(L"shoukuan_setting_kaijiqidong"));
|
|
|
|
|
+ if (kaijiqidong->IsSelected())
|
|
|
|
|
+ {
|
|
|
|
|
+ CSystem::autostart();
|
|
|
|
|
+ }
|
|
|
|
|
+ else
|
|
|
|
|
+ {
|
|
|
|
|
+ CSystem::cancelAutoStart();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ //再处理浮标
|
|
|
|
|
+ CCheckBoxUI* fubiao = static_cast<CCheckBoxUI*>(m_pm.FindControl(L"shoukuan_setting_fubiao"));
|
|
|
|
|
+ if (fubiao->IsSelected())
|
|
|
|
|
+ {
|
|
|
|
|
+ m_valueWnd->ShowWindow(true);
|
|
|
|
|
+ }
|
|
|
|
|
+ else
|
|
|
|
|
+ {
|
|
|
|
|
+ m_valueWnd->ShowWindow(false);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
else if(senderName == _T("kuaijiejian_setting_jiesuan_btn"))
|
|
else if(senderName == _T("kuaijiejian_setting_jiesuan_btn"))
|
|
|
{
|
|
{
|
|
|
m_kuaijiejian_type = 1;
|
|
m_kuaijiejian_type = 1;
|
|
@@ -835,13 +861,23 @@ void CSystemSettingWnd::HandleSelectChangeMsg(TNotifyUI& msg)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ else if (name == _T("system_setting_option_shoukuanshezhi"))
|
|
|
|
|
+ {
|
|
|
|
|
+ CTabLayoutUI* pControl = static_cast<CTabLayoutUI*>(m_pm.FindControl(_T("switch")));
|
|
|
|
|
+
|
|
|
|
|
+ if (pControl && pControl->GetCurSel() != 2)
|
|
|
|
|
+ {
|
|
|
|
|
+ pControl->SelectItem(2);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
else if(name == _T("system_setting_option_kuaijiejian"))
|
|
else if(name == _T("system_setting_option_kuaijiejian"))
|
|
|
{
|
|
{
|
|
|
CTabLayoutUI* pControl = static_cast<CTabLayoutUI*>(m_pm.FindControl(_T("switch")));
|
|
CTabLayoutUI* pControl = static_cast<CTabLayoutUI*>(m_pm.FindControl(_T("switch")));
|
|
|
|
|
|
|
|
- if(pControl && pControl->GetCurSel() != 2)
|
|
|
|
|
|
|
+ if(pControl && pControl->GetCurSel() != 3)
|
|
|
{
|
|
{
|
|
|
- pControl->SelectItem(2);
|
|
|
|
|
|
|
+ pControl->SelectItem(3);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
m_is_kuaijiepan_page = true;
|
|
m_is_kuaijiepan_page = true;
|
|
@@ -851,9 +887,9 @@ void CSystemSettingWnd::HandleSelectChangeMsg(TNotifyUI& msg)
|
|
|
{
|
|
{
|
|
|
CTabLayoutUI* pControl = static_cast<CTabLayoutUI*>(m_pm.FindControl(_T("switch")));
|
|
CTabLayoutUI* pControl = static_cast<CTabLayoutUI*>(m_pm.FindControl(_T("switch")));
|
|
|
|
|
|
|
|
- if(pControl && pControl->GetCurSel() != 3)
|
|
|
|
|
|
|
+ if(pControl && pControl->GetCurSel() != 4)
|
|
|
{
|
|
{
|
|
|
- pControl->SelectItem(3);
|
|
|
|
|
|
|
+ pControl->SelectItem(4);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|