Beispiel #1
0
        private void m_cmdModify_Click(object sender, EventArgs e)
        {
            clsMS_StockPlan_VO objMain = null;

            clsMS_StockPlan_Detail_VO[] objSubArr = null;
            ((clsCtl_StockPlan)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;
            }

            frmStockPlan_Detail frmspd = new frmStockPlan_Detail(m_strStorageID, objMain, objSubArr, intSelectedSubRow);

            frmspd.FormClosed += new FormClosedEventHandler(frmspd_FormClosed);
            frmspd.ShowDialog();
            frmspd.m_txtProviderName.Focus();
        }
Beispiel #2
0
        internal void m_mthGenerate(clsMS_StockPlan_Detail_VO[] p_objDetailArr)
        {
            frmStockPlan_Detail frmDetail = new frmStockPlan_Detail(m_objViewer.m_strStorageID);

            frmDetail.SetDetail(p_objDetailArr);
            frmDetail.ShowDialog();
        }
Beispiel #3
0
        private void cmdNewMake_Click(object sender, EventArgs e)
        {
            frmStockPlan_Detail frmspd = new frmStockPlan_Detail(m_strStorageID);

            frmspd.FormClosed += new FormClosedEventHandler(frmspd_FormClosed);
            frmspd.ShowDialog();
            frmspd.m_txtProviderName.Focus();
        }