示例#1
0
        private void m_cmdNewMake_Click(object sender, EventArgs e)
        {
            frmRejectOutStorage frmRO = new frmRejectOutStorage(m_strStorageID, m_strReportName);

            frmRO.FormClosed += new FormClosedEventHandler(frmRO_FormClosed);
            frmRO.ShowDialog();
        }
示例#2
0
        private void m_cmdModify_Click(object sender, EventArgs e)
        {
            clsMS_OutStorage_VO objMain = null;

            clsMS_OutStorageDetail_VO[] objDetail = null;
            ((clsCtl_RejectOutStorage_Main)objController).m_mthModify(out objMain, out objDetail);

            if (objMain == null)
            {
                return;
            }

            int intSelectedSubRow = 0;

            if (m_dgvSubInfo.SelectedRows != null && m_dgvSubInfo.SelectedRows.Count > 0)
            {
                intSelectedSubRow = m_dgvSubInfo.SelectedRows[0].Index;
            }
            frmRejectOutStorage frmRO = new frmRejectOutStorage(m_strStorageID, m_strReportName, objMain, objDetail, intSelectedSubRow);

            frmRO.FormClosed += new FormClosedEventHandler(frmRO_FormClosed);
            frmRO.ShowDialog();
        }