Click here to Skip to main content
15,795,318 members
Home / Discussions / C#
   

C#

 
GeneralRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 7:07
professionalPIEBALDconsult20-Oct-09 7:07 
AnswerRe: A matter of style : Switch or ?: Pin
Nisha Agrawal20-Oct-09 2:14
Nisha Agrawal20-Oct-09 2:14 
GeneralRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 7:04
professionalPIEBALDconsult20-Oct-09 7:04 
AnswerRe: A matter of style : Switch or ?: Pin
Luc Pattyn20-Oct-09 2:53
sitebuilderLuc Pattyn20-Oct-09 2:53 
GeneralRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 6:49
professionalPIEBALDconsult20-Oct-09 6:49 
AnswerRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 6:56
professionalPIEBALDconsult20-Oct-09 6:56 
QuestionHow to lock the column width expansion in list view at run time Pin
@nisha 2n20-Oct-09 0:21
@nisha 2n20-Oct-09 0:21 
AnswerRe: How to lock the column width expansion in list view at run time Pin
Jacobb Michael20-Oct-09 2:48
Jacobb Michael20-Oct-09 2:48 
Hi

Just a simple approach, but not feasible,

see bellow code

private void listView1_ColumnWidthChanged(object sender, ColumnWidthChangedEventArgs e)
        {
            if(listView1.Columns[e.ColumnIndex].Width != 50)
                listView1.Columns[e.ColumnIndex].Width = 50;
        }



check the static column width, if it miss matches then it is changed so reset it , this is a simple approach, if you find some other good method follow that.

thanks
GeneralRe: How to lock the column width expansion in list view at run time Pin
SimpleData20-Oct-09 6:57
SimpleData20-Oct-09 6:57 
QuestionRegular Expression ? Pin
Jacobb Michael20-Oct-09 0:07
Jacobb Michael20-Oct-09 0:07 
AnswerRe: Regular Expression ? Pin
Eddy Vluggen20-Oct-09 2:29
professionalEddy Vluggen20-Oct-09 2:29 
GeneralRe: Regular Expression ? Pin
Jacobb Michael20-Oct-09 2:58
Jacobb Michael20-Oct-09 2:58 
GeneralRe: Regular Expression ? Pin
Eddy Vluggen20-Oct-09 3:02
professionalEddy Vluggen20-Oct-09 3:02 
GeneralRe: Regular Expression ? Pin
Jacobb Michael20-Oct-09 3:13
Jacobb Michael20-Oct-09 3:13 
GeneralRe: Regular Expression ? Pin
J4amieC20-Oct-09 3:38
J4amieC20-Oct-09 3:38 
GeneralRe: Regular Expression ? Pin
Eddy Vluggen20-Oct-09 5:41
professionalEddy Vluggen20-Oct-09 5:41 
Questionhow to design page navigation window form using back and next button Pin
@nisha 2n19-Oct-09 23:49
@nisha 2n19-Oct-09 23:49 
AnswerRe: how to design page navigation window form using back and next button Pin
Calla20-Oct-09 0:00
Calla20-Oct-09 0:00 
AnswerRe: how to design page navigation window form using back and next button Pin
Jacobb Michael20-Oct-09 0:14
Jacobb Michael20-Oct-09 0:14 
GeneralRe: how to design page navigation window form using back and next button Pin
@nisha 2n20-Oct-09 0:26
@nisha 2n20-Oct-09 0:26 
GeneralRe: how to design page navigation window form using back and next button Pin
Jacobb Michael20-Oct-09 1:47
Jacobb Michael20-Oct-09 1:47 
AnswerRe: how to design page navigation window form using back and next button Pin
stancrm20-Oct-09 0:46
stancrm20-Oct-09 0:46 
QuestionMake main window wait for message box Pin
Lee Reid19-Oct-09 23:41
Lee Reid19-Oct-09 23:41 
AnswerRe: Make main window wait for message box Pin
dan!sh 19-Oct-09 23:50
professional dan!sh 19-Oct-09 23:50 
GeneralRe: Make main window wait for message box Pin
Lee Reid19-Oct-09 23:54
Lee Reid19-Oct-09 23:54 

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.