Пример #1
0
        private void Print_OnBeforeClosed(object sender, EventArgs e)
        {
            if (m_print == null || m_Entity == null)
            {
                return;
            }
            ComSnd_Print print = new ComSnd_Print();

            switch (m_print.FileName)
            {
            case "工程会议纪要":
                m_print.DocLayout(1, 6, 1);
                break;

            case "公文报告模版":
                m_print.DocLayout(1, 7, 1);
                break;

            case "公文函模版":
                m_print.DocLayout(1, 7, 1);
                break;

            case "公文请示模版":
                m_print.DocLayout(1, 7, 1);
                break;

            case "公文首页纸":
                m_print.DocLayout(2, 12, 1);
                break;

            case "公文通知模版":
                ucPrint.DocLayout(1, 7, 1);
                break;

            case "会议纪要模版":
                m_print.DocLayout(1, 9, 1);
                break;

            case "简报模版":
                m_print.DocLayout(1, 4, 1);
                break;

            case "简讯模版":
                m_print.DocLayout(1, 6, 1);
                break;
            }
        }
Пример #2
0
        private void Print_OnBeforeClosed(object sender, EventArgs e)
        {
            if (m_print == null || m_Entity == null)
            {
                return;
            }
            switch (base.StepName)
            {
            case ProcessConstString.StepName.LetterSend.发起函件:
            case ProcessConstString.StepName.LetterSend.核稿:
            case ProcessConstString.StepName.LetterSend.会签:
            case ProcessConstString.StepName.LetterSend.签发:
            case ProcessConstString.StepName.LetterSend.函件分发:
                m_print.DocLayout(1, 10, 1);       // 使函件发文满页
                break;

            case ProcessConstString.StepName.LetterSend.二次分发:

                break;
            }
        }