-1
我使用EA通過C#插件,我已經給如何在Windows窗體中對樹視圖項進行降序排序?
> // Summary:
> //Sorts the items in System.Windows.Forms.TreeView control.
> public void Sort(); -----(inbuilt Treeview metadata).
**
private void SortButton_Click(object sender, EventArgs e)
{
this.treeView_Control.Sort();
}
**
這是現在以升序排列的樹視圖中的項目。
很快我完成按升序排序,再次點擊相同的排序選項時,它應該再次按降序排列樹視圖項目。
有人請告訴我該怎麼做?
這是如何與http://stackoverflow.com/questions/43133835/sort-project-browser-tree-view-programmatically?假如我的假設錯了?請查看/編輯/刪除相關問題。 –