using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections; using Ease.CoreV35; using Ease.CoreV35.Model; using Ease.CoreV35.Utility; using Payroll.BO; namespace Payroll.Controls { public partial class frmSkillLevelList : Form { public frmSkillLevelList() { InitializeComponent(); } private void lvwSkills_ColumnClick(object sender, ColumnClickEventArgs e) { this.Cursor = Cursors.WaitCursor; SortOrder order = SortOrder.Ascending; if (order == lvwSkills.Sorting) order = SortOrder.Descending; else order = SortOrder.Ascending; lvwSkills.ListViewItemSorter = new Global.ItemSorter(e.Column, order); lvwSkills.Sorting = order; this.Cursor = Cursors.Default; } } }