Exemplo n.º 1
0
        /// <summary>
        /// Function to fill VoucherType combobox
        /// </summary>
        public void VoucherTypeComboFill()
        {
            RejectionInMasterSP spRejectionInMaster = new RejectionInMasterSP();

            try
            {
                spRejectionInMaster.VoucherTypeSelectionFill(cmbVoucherType, "Rejection In", true);
            }
            catch (Exception ex)
            {
                MessageBox.Show("RIReport:05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Exemplo n.º 2
0
        public List <DataTable> VoucherTypeSelectionFill(ComboBox cmbVoucherType, string strVoucherType, bool isAll)
        {
            List <DataTable> list = new List <DataTable>();

            try
            {
                list = spRejectionInMaster.VoucherTypeSelectionFill(cmbVoucherType, strVoucherType, isAll);
            }
            catch (Exception ex)
            {
                MessageBox.Show("RI13:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(list);
        }