Пример #1
0
        private void btnBWDate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            if (m_iCCId == 0)
            {
                return;
            }

            frmDateBetween frm = new frmDateBetween();

            frm.Execute(ref deFrom, ref deTo);
            m_sType = "Between";
            PopulateAECostSheet();
            Cursor.Current = Cursors.Default;
        }
Пример #2
0
        private void btnBWDate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmDateBetween frm = new frmDateBetween();

            frm.Execute(ref deFrom, ref deTo);
            if (frm.m_bOk == true)
            {
                m_sType = "Between";
            }
            else
            {
                m_sType = "All";
            }
            PopulateBuyer();
        }