Click here to Skip to main content
15,891,863 members

Comments by Arvi.S (Top 18 by date)

Arvi.S 8-Jan-18 0:35am View    
The same code i tried with the names i have kept. But even then its not working!
Arvi.S 4-Jan-18 23:00pm View    
In the above code you are trying to cancel the mouse click. I tried your code and i don't fetch with any positive result.. Any other way?? Small changes made to my code which i had changed abouve. Kindly see to it
Arvi.S 4-Jan-18 22:57pm View    
There is no response in the above code which you had sent. Is there any other solution?
Arvi.S 4-Jan-18 2:18am View    
Thank you so much pradeep!!. This works very well!!
Arvi.S 3-Jan-18 1:31am View    
Declared "bool isChecked = false;" globally.

private void t1RadioButton_CheckedChanged(object sender, EventArgs e)
{
for (int i = 0; i < routeNamesListView.Items.Count; i++)
{
if (t1RadioButton.Checked)
routeNamesListView.Items[i].Checked = true;
else
routeNamesListView.Items[i].Checked = false;
}
isChecked = t1RadioButton.Checked;
}

private void t1RadioButton_Click(object sender, EventArgs e)
{
if (t1RadioButton.Checked && !isChecked)
t1RadioButton.Checked = false;
else
{
t1RadioButton.Checked = true;
isChecked = false;
}
}

Once again I'm repeating, all the check boxes in list view control is checked by default!