Пример #1
0
        private void SortDescendingMenuItem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            DisplayStatusMsg("Sorting, wait please...");
            UserObject uo = CidList.UserObject;

            CidList            = new CidList(CidListCtl.Text);
            CidList.UserObject = uo;
            CidList.Sort(SortOrder.Descending);
            string formattedList = FormatList();

            CidListCtl.Text = formattedList;
            CidListCtl.Focus();
            DisplayStatusMsg("");
        }