Click here to Skip to main content
16,015,681 members
Home / Discussions / C#
   

C#

 
GeneralRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 6:07
mvePIEBALDconsult20-Oct-09 6:07 
AnswerRe: A matter of style : Switch or ?: Pin
Nisha Agrawal20-Oct-09 1:14
Nisha Agrawal20-Oct-09 1:14 
GeneralRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 6:04
mvePIEBALDconsult20-Oct-09 6:04 
AnswerRe: A matter of style : Switch or ?: Pin
Luc Pattyn20-Oct-09 1:53
sitebuilderLuc Pattyn20-Oct-09 1:53 
GeneralRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 5:49
mvePIEBALDconsult20-Oct-09 5:49 
AnswerRe: A matter of style : Switch or ?: Pin
PIEBALDconsult20-Oct-09 5:56
mvePIEBALDconsult20-Oct-09 5:56 
QuestionHow to lock the column width expansion in list view at run time Pin
@nisha 2n19-Oct-09 23:21
@nisha 2n19-Oct-09 23:21 
AnswerRe: How to lock the column width expansion in list view at run time Pin
Jacobb Michael20-Oct-09 1:48
Jacobb Michael20-Oct-09 1: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 5:57
SimpleData20-Oct-09 5:57 
QuestionRegular Expression ? Pin
Jacobb Michael19-Oct-09 23:07
Jacobb Michael19-Oct-09 23:07 
AnswerRe: Regular Expression ? Pin
Eddy Vluggen20-Oct-09 1:29
professionalEddy Vluggen20-Oct-09 1:29 
GeneralRe: Regular Expression ? Pin
Jacobb Michael20-Oct-09 1:58
Jacobb Michael20-Oct-09 1:58 
GeneralRe: Regular Expression ? Pin
Eddy Vluggen20-Oct-09 2:02
professionalEddy Vluggen20-Oct-09 2:02 
GeneralRe: Regular Expression ? Pin
Jacobb Michael20-Oct-09 2:13
Jacobb Michael20-Oct-09 2:13 
GeneralRe: Regular Expression ? Pin
J4amieC20-Oct-09 2:38
J4amieC20-Oct-09 2:38 
GeneralRe: Regular Expression ? Pin
Eddy Vluggen20-Oct-09 4:41
professionalEddy Vluggen20-Oct-09 4:41 
Questionhow to design page navigation window form using back and next button Pin
@nisha 2n19-Oct-09 22:49
@nisha 2n19-Oct-09 22:49 
AnswerRe: how to design page navigation window form using back and next button Pin
Calla19-Oct-09 23:00
Calla19-Oct-09 23:00 
AnswerRe: how to design page navigation window form using back and next button Pin
Jacobb Michael19-Oct-09 23:14
Jacobb Michael19-Oct-09 23:14 
GeneralRe: how to design page navigation window form using back and next button Pin
@nisha 2n19-Oct-09 23:26
@nisha 2n19-Oct-09 23:26 
GeneralRe: how to design page navigation window form using back and next button Pin
Jacobb Michael20-Oct-09 0:47
Jacobb Michael20-Oct-09 0:47 
AnswerRe: how to design page navigation window form using back and next button Pin
stancrm19-Oct-09 23:46
stancrm19-Oct-09 23:46 
QuestionMake main window wait for message box Pin
Lee Reid19-Oct-09 22:41
Lee Reid19-Oct-09 22:41 
AnswerRe: Make main window wait for message box Pin
dan!sh 19-Oct-09 22:50
professional dan!sh 19-Oct-09 22:50 
GeneralRe: Make main window wait for message box Pin
Lee Reid19-Oct-09 22:54
Lee Reid19-Oct-09 22: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.