Click here to Skip to main content
15,898,036 members
Home / Discussions / C#
   

C#

 
QuestionC# equivalent of CMap? Pin
mcgahanfl1-Jul-03 13:36
mcgahanfl1-Jul-03 13:36 
AnswerRe: C# equivalent of CMap? Pin
Wesner Moise1-Jul-03 14:00
Wesner Moise1-Jul-03 14:00 
QuestionHow to set column widths of DataGrid, Anyone? Pin
Khang Nguyen1-Jul-03 13:28
Khang Nguyen1-Jul-03 13:28 
AnswerRe: How to set column widths of DataGrid, Anyone? Pin
Anonymous2-Jul-03 9:09
Anonymous2-Jul-03 9:09 
GeneralRe: How to set column widths of DataGrid, Anyone? Pin
Khang Nguyen2-Jul-03 12:24
Khang Nguyen2-Jul-03 12:24 
GeneralDesignerSerializationAttribute Pin
Kastro1-Jul-03 9:21
Kastro1-Jul-03 9:21 
GeneralRe: DesignerSerializationAttribute Pin
leppie1-Jul-03 13:05
leppie1-Jul-03 13:05 
GeneralRe: DesignerSerializationAttribute Pin
Kastro2-Jul-03 8:58
Kastro2-Jul-03 8:58 
GeneralSome C++ conversions over C#? Need help! Pin
Member 160351-Jul-03 7:54
Member 160351-Jul-03 7:54 
GeneralRe: Some C++ conversions over C#? Need help! Pin
jspano2-Jul-03 14:54
jspano2-Jul-03 14:54 
GeneralRe: Some C++ conversions over C#? Need help! Pin
Nick Seng2-Jul-03 15:45
Nick Seng2-Jul-03 15:45 
GeneralEffective Localization & Management of String Resources Pin
Sin Jeong-hun1-Jul-03 7:46
Sin Jeong-hun1-Jul-03 7:46 
Generalmanaged compiler question Pin
LongRange.Shooter1-Jul-03 6:02
LongRange.Shooter1-Jul-03 6:02 
GeneralRe: managed compiler question Pin
leppie1-Jul-03 11:58
leppie1-Jul-03 11:58 
GeneralRe: managed compiler question Pin
LongRange.Shooter2-Jul-03 3:57
LongRange.Shooter2-Jul-03 3:57 
GeneralRe: managed compiler question Pin
leppie2-Jul-03 7:40
leppie2-Jul-03 7:40 
GeneralTemplatePrinte source code Pin
nahumtakum1-Jul-03 4:07
nahumtakum1-Jul-03 4:07 
GeneralNeed help with service depencies Pin
Stas1-Jul-03 3:50
Stas1-Jul-03 3:50 
GeneralRe: Need help with service depencies Pin
Valeria Bogdevich1-Jul-03 4:57
Valeria Bogdevich1-Jul-03 4:57 
GeneralLaunching script on build Pin
AJ1231-Jul-03 3:35
AJ1231-Jul-03 3:35 
GeneralRe: Launching script on build Pin
Nathan Blomquist1-Jul-03 5:56
Nathan Blomquist1-Jul-03 5:56 
GeneralRe: Launching script on build Pin
AJ1231-Jul-03 7:07
AJ1231-Jul-03 7:07 
GeneralRe: Launching script on build Pin
Nathan Blomquist2-Jul-03 1:51
Nathan Blomquist2-Jul-03 1:51 
GeneralStatic Question Pin
CyberKewl1-Jul-03 3:02
CyberKewl1-Jul-03 3:02 
GeneralRe: Static Question Pin
Roland Bär1-Jul-03 4:58
Roland Bär1-Jul-03 4:58 
As I see the Visual Studio recreates the code in the InitializeComponents Function every time it shows/changes the form. So I think you have to put it in a special function that you call in the Constructor after the InitializeComponents call.
I had to do this also, because i moved some eventhandler to another class and all changes in the InitializeComponents got lost when VisualStudio showed the Form the next Time an said it don't know the Class... Frown | :(

Also if you put a code line out with comments, VS.NET removes this line from the File...

Greets
Roland


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.