📄 lhj_cyglxtdlg.cpp
字号:
void CLhj_cyglxtDlg::OnButton8()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON8,state);
if (state=="开单")
{
TableNo="8";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(8);
}
}
}
void CLhj_cyglxtDlg::OnButton9()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON9,state);
if (state=="开单")
{
TableNo="9";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(9);
}
}
}
void CLhj_cyglxtDlg::OnButton10()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON10,state);
if (state=="开单")
{
TableNo="10";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(10);
}
}
}
void CLhj_cyglxtDlg::OnButton11()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON11,state);
if (state=="开单")
{
TableNo="11";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(11);
}
}
}
void CLhj_cyglxtDlg::OnButton12()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON12,state);
if (state=="开单")
{
TableNo="12";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(12);
}
}
}
void CLhj_cyglxtDlg::OnButton14()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON14,state);
if (state=="开单")
{
TableNo="14";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(14);
}
}
}
void CLhj_cyglxtDlg::OnButton15()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON15,state);
if (state=="开单")
{
TableNo="15";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(15);
}
}
}
void CLhj_cyglxtDlg::OnButton16()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON16,state);
if (state=="开单")
{
TableNo="16";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(16);
}
}
}
void CLhj_cyglxtDlg::OnButton17()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON17,state);
if (state=="开单")
{
TableNo="17";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(17);
}
}
}
void CLhj_cyglxtDlg::OnButton18()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON18,state);
if (state=="开单")
{
TableNo="18";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(18);
}
}
}
void CLhj_cyglxtDlg::OnButton19()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON19,state);
if (state=="开单")
{
TableNo="19";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(19);
}
}
}
void CLhj_cyglxtDlg::OnButton20()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON20,state);
if (state=="开单")
{
TableNo="20";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(20);
}
}
}
void CLhj_cyglxtDlg::OnButton21()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON21,state);
if (state=="开单")
{
TableNo="21";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(21);
}
}
}
void CLhj_cyglxtDlg::OnButton22()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON22,state);
if (state=="开单")
{
TableNo="22";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(22);
}
}
}
void CLhj_cyglxtDlg::OnButton23()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON23,state);
if (state=="开单")
{
TableNo="23";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(23);
}
}
}
void CLhj_cyglxtDlg::OnButton24()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON24,state);
if (state=="开单")
{
TableNo="24";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(24);
}
}
}
void CLhj_cyglxtDlg::OnButton25()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON25,state);
if (state=="开单")
{
TableNo="25";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(25);
}
}
}
void CLhj_cyglxtDlg::OnButton26()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON26,state);
if (state=="开单")
{
TableNo="26";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(26);
}
}
}
void CLhj_cyglxtDlg::OnButton27()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON27,state);
if (state=="开单")
{
TableNo="27";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(27);
}
}
}
void CLhj_cyglxtDlg::OnButton28()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON28,state);
if (state=="开单")
{
TableNo="28";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(28);
}
}
}
void CLhj_cyglxtDlg::OnButton29()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON29,state);
if (state=="开单")
{
TableNo="29";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(29);
}
}
}
void CLhj_cyglxtDlg::OnButton30()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON30,state);
if (state=="开单")
{
TableNo="30";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(30);
}
}
}
void CLhj_cyglxtDlg::OnButton31()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON31,state);
if (state=="开单")
{
TableNo="31";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(31);
}
}
}
void CLhj_cyglxtDlg::OnButton32()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON32,state);
if (state=="开单")
{
TableNo="32";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(32);
}
}
}
void CLhj_cyglxtDlg::OnButton33()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON33,state);
if (state=="开单")
{
TableNo="33";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(33);
}
}
}
void CLhj_cyglxtDlg::OnButton34()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON34,state);
if (state=="开单")
{
TableNo="34";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(34);
}
}
}
void CLhj_cyglxtDlg::OnButton35()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON35,state);
if (state=="开单")
{
TableNo="35";
billisnew=TRUE;
CDlgPos pos;
pos.DoModal();
//更新
inittablestate();
initcombox();
}
else
{
if (state=="结帐")
{
ToPayDialog(35);
}
}
}
void CLhj_cyglxtDlg::OnButton36()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CString state;
GetDlgItemText(IDC_BUTTON36,state);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -