private void btnExport_Click(object sender, RoutedEventArgs e)
        {
            SaveFileDialog fileDialog = null;
            string         filepath   = string.Empty;

            if (lvExceptions != null)
            {
                fileDialog        = new SaveFileDialog();
                fileDialog.Filter = "Excel Files (*.xls)|*.xls|All Files (*.*) |*.*";
                fileDialog.ShowDialog();
                filepath = fileDialog.FileName;
                if (filepath != "")
                {
                    bool bResult = objCashDeskManager.ExportToExcel(lvExceptions, filepath);
                    if (bResult)
                    {
                        MessageBox.ShowBox("MessageID131", BMC_Icon.Information);
                    }
                    else
                    {
                        MessageBox.ShowBox("MessageID1291");
                    }
                }
            }
            else
            {
                MessageBox.ShowBox("MessageID56");
            }
        }
        private void btnExport_Click(object sender, RoutedEventArgs e)
        {
            SaveFileDialog fileDialog = new SaveFileDialog();

            fileDialog.Filter = "Excel Files (*.xls)|*.xls|All Files (*.*) |*.*";
            fileDialog.ShowDialog();
            string filepath = fileDialog.FileName;

            if (filepath != "")
            {
                bool bResult = objCashDeskManager.ExportToExcel(lvVoucherStatus, filepath);
                if (bResult)
                {
                    MessageBox.ShowBox("MessageID130", BMC_Icon.Information);
                }
            }
        }