CEL_Payroll/Payroll.Report/UI/fMonthlyPFAmount.cs

36 lines
823 B
C#
Raw Normal View History

2024-09-17 14:30:13 +06:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Payroll.BO;
using Ease.CoreV35;
using Ease.CoreV35.Utility;
namespace Payroll.Report
{
public partial class fMonthlyPFAmount : Form
{
public fMonthlyPFAmount()
{
InitializeComponent();
}
private void btnPreview_Click(object sender, EventArgs e)
{
try
{
rptPF opf = new rptPF();
opf.MonthlyPFReport(GlobalFunctions.LastDateOfMonth(dtpSalaryMonth.Value));
}
catch(Exception ex)
{
MessageBox.Show("No Data Found for "+ex.Message);
}
}
}
}