Esempio n. 1
0
 private void enableUserToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (new AutoCursor(this)) {
         foreach (ListViewItem lvi in lvUsers.SelectedItems)
         {
             AdminProxy.EnableUser(Toolkit.ToInt32(lvi.Tag, -1));
         }
         RefreshData();
         MainFormUpdateStatus(getDisplayMember("enable{done}", "Enabled {0} user(s)", lvUsers.SelectedItems.Count.ToString("###,##0")), true);
     }
 }