예제 #1
0
        private void m_cmdModify_Click(object sender, EventArgs e)
        {
            clsMS_InStorage_VO objMain = null;

            clsMS_InStorageDetail_VO[] objSubArr = null;
            ((clsCtl_Purchase)objController).m_mthModifySelected(out objMain, out objSubArr);

            if (objMain == null)
            {
                return;
            }

            int intSelectedSubRow = 0;

            if (m_dgvSubInfo.SelectedRows != null && m_dgvSubInfo.SelectedRows.Count > 0)
            {
                intSelectedSubRow = m_dgvSubInfo.SelectedRows[0].Index;
            }

            frmPurchase_Detail frmPurchaseType = new frmPurchase_Detail(m_strStorageID, objMain.m_intFORMTYPE_INT, objMain.m_intINSTORAGETYPE_INT, objMain, objSubArr, intSelectedSubRow);

            frmPurchaseType.FormClosed += new FormClosedEventHandler(frmPurchaseType_FormClosed);

            frmPurchaseType.ShowDialog();
        }
예제 #2
0
        private void cmdNewMake_Click(object sender, EventArgs e)
        {
            frmPurchase_Detail frmPurchaseType = new frmPurchase_Detail(m_strStorageID, 1, 1);

            //frmPurchaseType.TopMost = true;
            frmPurchaseType.FormClosed += new FormClosedEventHandler(frmPurchaseType_FormClosed);
            frmPurchaseType.ShowDialog();
        }
예제 #3
0
        private void 入即出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPurchase_Detail frmPurchaseType = new frmPurchase_Detail(m_strStorageID, 1, 3);

            //frmPurchaseType.m_bolAddOutMedicineInfo = true;
            //frmPurchaseType.m_intInstorageType = 3;
            frmPurchaseType.FormClosed += new FormClosedEventHandler(frmPurchaseType_FormClosed);
            frmPurchaseType.ShowDialog();
        }