Click here to Skip to main content
15,914,905 members
Home / Discussions / C#
   

C#

 
AnswerRe: changing a column type of datagridview ? Pin
MCSD-Gandalf12-Jun-06 7:14
MCSD-Gandalf12-Jun-06 7:14 
Questiondatagridview delete last row when sort order changes ? Pin
cmpeng3412-Jun-06 2:48
cmpeng3412-Jun-06 2:48 
AnswerRe: datagridview delete last row when sort order changes ? Pin
Elina Blank12-Jun-06 8:10
sitebuilderElina Blank12-Jun-06 8:10 
QuestionHow to Run exe from memory or stream ? Pin
hdv21212-Jun-06 1:58
hdv21212-Jun-06 1:58 
AnswerRe: How to Run exe from memory or stream ? Pin
Super Lloyd12-Jun-06 2:10
Super Lloyd12-Jun-06 2:10 
QuestionSNMP TRAP Programming in C#[modified] Pin
bannapradeep12-Jun-06 1:53
bannapradeep12-Jun-06 1:53 
Questionminimixing the fullscreen window in javascript Pin
Vivek Pokale12-Jun-06 1:38
Vivek Pokale12-Jun-06 1:38 
QuestionListView checkboxes... [modified] Pin
Kasic Slobodan12-Jun-06 1:20
Kasic Slobodan12-Jun-06 1:20 
First, Iam sorry for the subject. I can't get any appropriate subject for this thread.

Now, the problem.
I have listview with checkboxes. when I double click on listview item, checkbox gets checked.
I was wandering how can I prevent checkbox to get checked on double click and instead of checking checkboxes to run an method or anything else, but to still have checkboxes and to check them by clicking on each one?

I've tried with

ListViewItem item = (ListViewItem)sender;<br />
item.Checked = false;


plased on doubleclick event of listview, but raises an error?
Is there any other resolution?

Iam working on Framework 1.1 - for now Smile | :) .

-- modified at 7:23 Monday 12th June, 2006
AnswerRe: ListView checkboxes... Pin
Ed.Poore12-Jun-06 9:15
Ed.Poore12-Jun-06 9:15 
GeneralRe: ListView checkboxes... [modified] Pin
Kasic Slobodan13-Jun-06 0:43
Kasic Slobodan13-Jun-06 0:43 
QuestionDataGrid..Assign Runtime Values? Pin
innocent7312-Jun-06 1:20
innocent7312-Jun-06 1:20 
AnswerRe: DataGrid..Assign Runtime Values? Pin
Mairaaj Khan12-Jun-06 1:47
professionalMairaaj Khan12-Jun-06 1:47 
Questiontabcontrol problem ? howto check if a different tab is clicked ? Pin
cmpeng3412-Jun-06 1:01
cmpeng3412-Jun-06 1:01 
AnswerRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
Mairaaj Khan12-Jun-06 1:31
professionalMairaaj Khan12-Jun-06 1:31 
AnswerRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
MCSD-Gandalf12-Jun-06 2:13
MCSD-Gandalf12-Jun-06 2:13 
AnswerRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
Andrei Ungureanu12-Jun-06 4:18
Andrei Ungureanu12-Jun-06 4:18 
GeneralRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
Mairaaj Khan12-Jun-06 20:53
professionalMairaaj Khan12-Jun-06 20:53 
QuestionHow to Clear data from DataGridView? Pin
Mairaaj Khan12-Jun-06 0:47
professionalMairaaj Khan12-Jun-06 0:47 
QuestionWritting listview items to xml file Pin
chandler8312-Jun-06 0:47
chandler8312-Jun-06 0:47 
AnswerRe: Writting listview items to xml file Pin
rah_sin12-Jun-06 0:50
professionalrah_sin12-Jun-06 0:50 
GeneralRe: Writting listview items to xml file Pin
chandler8312-Jun-06 1:11
chandler8312-Jun-06 1:11 
GeneralRe: Writting listview items to xml file Pin
rah_sin12-Jun-06 1:35
professionalrah_sin12-Jun-06 1:35 
QuestionProblem with TVM_GETITEM Pin
suguimoto12-Jun-06 0:44
suguimoto12-Jun-06 0:44 
QuestionFile Downloading - Help Please Pin
Andrew Mercer12-Jun-06 0:17
Andrew Mercer12-Jun-06 0:17 
QuestionDataGridView.SelectedRows to DataTable in C# Pin
peshawarcoder11-Jun-06 23:03
peshawarcoder11-Jun-06 23:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.