Esempio n. 1
0
 private void listMain_DoubleClick(object sender, System.EventArgs e)
 {
     if (listMain.SelectedIndex == -1 || (checkMulti.Checked && PrefC.IsODHQ))          //If user is in checkMulti state, disable doubleclick
     {
         return;
     }
     ListSelectedLists = listMain.GetListSelected <TaskList>().Select(x => x.TaskListNum).ToList();
     DialogResult      = DialogResult.OK;
 }