示例#1
0
        /// <summary>
        /// 缴管理费
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItem22_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            int           rowHandle = gridView1.FocusedRowHandle;
            V_AC01_REPORT ac01      = null;

            if (rowHandle >= 0)
            {
                ac01 = xpCollection_ac01[gridView1.GetDataSourceRowIndex(rowHandle)] as V_AC01_REPORT;
                Frm_PayManageFee frm_1 = new Frm_PayManageFee();
                frm_1.swapdata["ac01"] = ac01;
                if (frm_1.ShowDialog() == DialogResult.OK)
                {
                    ac01.Session.Reload(ac01);
                }
                frm_1.Dispose();
            }
        }
示例#2
0
        /// <summary>
        /// 缴管理费
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void toolStripMenuItem_mfee_Click(object sender, EventArgs e)
        {
            if (bi01 == null)
            {
                return;
            }
            V_AC01_REPORT ac01 = null;

            ac01 = session1.GetObjectByKey <V_AC01_REPORT>(bi01.AC001);
            Frm_PayManageFee frm_1 = new Frm_PayManageFee();

            frm_1.swapdata["ac01"] = ac01;
            if (frm_1.ShowDialog() == DialogResult.OK)
            {
            }
            frm_1.Dispose();
        }