private void itemAnalysis_ItemClick(object sender, ItemClickEventArgs e) { TaskResolve resolve = new TaskResolve(); resolve.projectid = Convert.ToInt32(focused.GetDisplayText("Id")); resolve.ShowDialog(); }