|
|
@@ -489,6 +489,150 @@ void CMainWnd::HandleClickMsg(TNotifyUI& msg)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ else if (name == _T("setting_printer_quhuo_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_quhuo_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_quhuo_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_quhuo_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_dingdanhao_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_dingdanhao_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_dingdanhao_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_dingdanhao_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_xiadanshijian_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_xiadanshijian_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_xiadanshijian_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_xiadanshijian_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_peisongshijian_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_peisongshijian_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_peisongshijian_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_peisongshijian_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_name_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_name_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_name_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_name_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_phone_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_phone_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_phone_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_phone_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_address_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_address_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_address_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_address_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_shangpin_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_shangpin_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_shangpin_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_shangpin_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_memo_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_memo_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_memo_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_memo_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_price_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_price_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_price_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_price_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if (name == _T("setting_printer_pay_big"))
|
|
|
+ {
|
|
|
+ CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_pay_big")));
|
|
|
+
|
|
|
+ if (box->IsSelected())
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_pay_big", "0");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ CSetting::SetParam("setting_printer_pay_big", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
else if(name == _T("setting_is_new_waimai_chufang_printer"))
|
|
|
{
|
|
|
CCheckBoxUI* box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_is_new_waimai_chufang_printer")));
|
|
|
@@ -1359,6 +1503,127 @@ void CMainWnd::InitSettingStatus()
|
|
|
com->SetText(L"4联");
|
|
|
}
|
|
|
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_quhuo_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_quhuo_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_dingdanhao_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_dingdanhao_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_xiadanshijian_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_xiadanshijian_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_peisongshijian_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_peisongshijian_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_name_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_name_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_phone_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_phone_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_address_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_address_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_shangpin_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_shangpin_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_memo_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_memo_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_price_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_price_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_printer_pay_big")));
|
|
|
+
|
|
|
+ if (CSetting::GetParam("setting_printer_pay_big") == "1")
|
|
|
+ {
|
|
|
+ box->Selected(true, false);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box->Selected(false, false);
|
|
|
+ }
|
|
|
+
|
|
|
box = static_cast<CCheckBoxUI*>(m_pm.FindControl(_T("setting_is_new_waimai_chufang_printer")));
|
|
|
|
|
|
if(CSetting::GetParam("setting_is_new_waimai_chufang_printer") == "1")
|