Beispiel #1
0
        private void btnUploadCSV_Click(object sender, EventArgs e)
        {
            string partyType = (string)this.cbPARTY_TYPE.EditValue;

            DialogResult result;

            using (frmUploadCSV uploadCSV = new frmUploadCSV()
            {
                MASTER_FORM = eMaster_Form.FRM_PARTY_MASTER, PARTY_TYPE = partyType, USER_ID = ((frmMainMenu)this.ParentForm).UserID
            })
            {
                result = UiUtility.ShowPopupForm(uploadCSV, this, true);
            }
        }
Beispiel #2
0
        private void btnUploadCSV_Click(object sender, EventArgs e)
        {
            string locationUpload = string.Empty;

            if (this.lueLocationUpload.EditValue != null)
            {
                locationUpload = (string)this.lueLocationUpload.EditValue;
            }

            DialogResult result;

            using (frmUploadCSV uploadCSV = new frmUploadCSV()
            {
                MASTER_FORM = eMaster_Form.FRM_MATERIAL_MASTER,
                LOCATION_ID = locationUpload,
                USER_ID = ((frmMainMenu)this.ParentForm).UserID
            })
            {
                result = UiUtility.ShowPopupForm(uploadCSV, this, true);
            }
        }