CEL_Payroll/Payroll.Report/UI/fDeptWiseHeadCount.cs

35 lines
833 B
C#
Raw Permalink Normal View History

2024-09-17 14:30:13 +06:00
using Payroll.BO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Payroll.Report
{
public partial class fDeptWiseHeadCount : Form
{
public fDeptWiseHeadCount()
{
InitializeComponent();
}
private void btnPreview_Click(object sender, EventArgs e)
{
rptEmployee oEmpReports = new rptEmployee();
if (rdoDivision.Checked)
{
oEmpReports.ShowDeptWiseHeadCount(EnumHeadCount.DivisionWise);
}
else
{
oEmpReports.ShowDeptWiseHeadCount(EnumHeadCount.DepartmentWise);
}
}
}
}