private void enableMenuItem_Click(object sender, EventArgs e) { if (lv.SelectedItems.Count > 0) { foreach (ListViewItem lvi in lv.SelectedItems) { AdminProxy.EnableFile(Toolkit.ToInt32(lvi.Tag, -1)); } MainFormUpdateStatus(getDisplayMember("enable{done}", "Enabled {0} file(s)", lv.SelectedItems.Count.ToString("###,##0")), true); RefreshData(); } }