/// <summary> /// Vouchertype combobox fill /// </summary> public void VoucherTypeComboFill() { try { spVoucherType.voucherTypeComboFill(cmbVoucherType, true); } catch (Exception ex) { MessageBox.Show("FSR :03" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
/// <summary> /// Function to get Vouchertype for combofill /// </summary> /// <param name="cmbVoucherType"></param> /// <param name="isAll"></param> public void voucherTypeComboFill(ComboBox cmbVoucherType, bool isAll) { try { spVoucherType.voucherTypeComboFill(cmbVoucherType, isAll); } catch (Exception ex) { MessageBox.Show("VT1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }