private void refresh(object sender, EventArgs e) { if (sender == RefreshWatch || sender.ToString() == "立即刷新") { ProcessListView.Refresh(); } }
private void 降序ToolStripMenuItem_Click(object sender, EventArgs e) { ProcessListView.Sorting = SortOrder.Descending; toolStripStatusLabel2.Text = "排序方式: 降序"; SortModeCheck(sender); ProcessListView.Refresh(); }