private void Print_OnBeginExport(object sender, EventArgs e)
        {
            if (m_print == null || m_print.m_ls == null || m_print.m_ls.Count == 0) return;
            Print print = new Print();

            m_Entity = m_print.m_CurrEntity as B_Finance;
            print.SetPrintBeginExport(m_print, m_Entity);
        }
Beispiel #2
0
        private void Print_OnBeginExport(object sender, EventArgs e)
        {
            if (m_print == null || m_print.m_ls == null || m_print.m_ls.Count == 0)
            {
                return;
            }
            Print print = new Print();

            m_Entity = m_print.m_CurrEntity as B_Finance;
            print.SetPrintBeginExport(m_print, m_Entity);
        }
Beispiel #3
0
        private void ucPrint_OnBeginExport(object sender, EventArgs e)
        {
            Print print = new Print();
            //B_Finance cEntity = new B_Finance();
            //GetFormData(cEntity, Submit.保存);
            B_Finance cEntity = null;

            if (base.IsPreview)
            {
                cEntity = base.EntityData != null ? base.EntityData as B_Finance : new B_Finance();
            }
            else
            {
                cEntity = this.ControlToEntity(false) as B_Finance;
            }
            print.SetPrintBeginExport(ucPrint, cEntity);
        }
 private void ucPrint_OnBeginExport(object sender, EventArgs e)
 {
     Print print = new Print();
     //B_Finance cEntity = new B_Finance();
     //GetFormData(cEntity, Submit.保存);
     B_Finance cEntity = null;
     if (base.IsPreview)
     {
         cEntity = base.EntityData != null ? base.EntityData as B_Finance : new B_Finance();
     }
     else
     {
         cEntity = this.ControlToEntity(false) as B_Finance;
     }
     print.SetPrintBeginExport(ucPrint, cEntity);
 }