void CBudgetDlg::OnViewUnpaidExpenses() { // TODO: Add your command handler code here if (pUnpaidExpenses == NULL) { pUnpaidExpenses = new CUnpaidExpDlg(this); } else { delete pUnpaidExpenses; pUnpaidExpenses = NULL; pUnpaidExpenses = new CUnpaidExpDlg(this); } }
CUnpaidExpDlg::CUnpaidExpDlg(CWnd* pParent /*=NULL*/) : CDialog(CUnpaidExpDlg::IDD, pParent) { if(Create(CUnpaidExpDlg::IDD,pParent)) { ShowWindow(SW_SHOW); } my_string = _T(""); }
CUnpaidExpDlg::CUnpaidExpDlg(CWnd* pParent /*=NULL*/) : CDialog(CUnpaidExpDlg::IDD, pParent) ,my_string = CBudgetDlg.m_string; { if(Create(CUnpaidExpDlg::IDD,pParent)) { ShowWindow(SW_SHOW); } }
CUnpaidExpDlg::CUnpaidExpDlg(CWnd* pParent /*=NULL*/, CString theString): CDialog(CUnpaidExpDlg::IDD, pParent){ my_string = theString;...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)