35 lines
833 B
C#
35 lines
833 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|