Exemple #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            制度修订废弃申请流程明细 frmDetail = new 制度修订废弃申请流程明细();

            frmDetail.Custom_FlowInfo = m_serverInstitution.GetProcessInfo(null);
            FormCommonProcess frm = new FormCommonProcess(CE_BillTypeEnum.制度修订废弃申请流程, null, frmDetail, CE_OperatorMode.添加);

            frm.CommonProcessSubmit += new FormCommonProcess.FormSubmit(frm_CommonProcessSubmit);

            if (frm.ShowDialog() != DialogResult.OK)
            {
                m_billNoControl.CancelBill(frmDetail.LnqInstitution.BillNo);
            }

            RefreshData();
            PositioningRecord(frmDetail.LnqInstitution.BillNo);
        }
Exemple #2
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            if (dataGridView1.CurrentRow == null)
            {
                return;
            }

            string billNo = dataGridView1.CurrentRow.Cells["流程编号"].Value.ToString();

            制度修订废弃申请流程明细 frmDetail = new 制度修订废弃申请流程明细();

            frmDetail.FlowInfo_BillNo  = billNo;
            frmDetail.Custom_FlowInfo  = m_serverInstitution.GetProcessInfo(billNo);
            frmDetail.Custom_FlowMagic = m_serverInstitution.GetExcuteInfo(billNo);
            FormCommonProcess frm = new FormCommonProcess(CE_BillTypeEnum.制度修订废弃申请流程, null, frmDetail, CE_OperatorMode.编辑);

            frm.CommonProcessSubmit += new FormCommonProcess.FormSubmit(frm_CommonProcessSubmit1);
            frm.ShowDialog();

            RefreshData();
            PositioningRecord(billNo);
        }