Click here to Skip to main content
15,889,820 members
Home / Discussions / C#
   

C#

 
GeneralRe: Design question about windows services... Pin
CherezZaboro23-Jun-03 3:08
CherezZaboro23-Jun-03 3:08 
GeneralComm Port and WinSock Pin
RB@Emphasys20-Jun-03 5:10
RB@Emphasys20-Jun-03 5:10 
GeneralRe: Comm Port and WinSock Pin
Nick Parker20-Jun-03 10:22
protectorNick Parker20-Jun-03 10:22 
GeneralRe: Comm Port and WinSock Pin
Dimitris Iliopoulos20-Jun-03 11:52
Dimitris Iliopoulos20-Jun-03 11:52 
GeneralColumn Headers in a Datagrid Pin
Qarash20-Jun-03 4:57
Qarash20-Jun-03 4:57 
GeneralRe: Column Headers in a Datagrid Pin
Dimitris Iliopoulos20-Jun-03 12:19
Dimitris Iliopoulos20-Jun-03 12:19 
GeneralRe: Column Headers in a Datagrid Pin
Qarash23-Jun-03 2:40
Qarash23-Jun-03 2:40 
GeneralVisual Studio Design Time Bug (C#) Pin
Qarash20-Jun-03 4:53
Qarash20-Jun-03 4:53 
Hello,

I was just wondering if anyone else was getting this type of error.

Basically, in the last little while I have created my own versions of two common Windows controls and I would like to put them all in one project. My first control was a masked text box and everything work fine except that I would lose certain properties that I set in design after I compiled. For example, I had a "Mask Type" enum property that could be set at design time but when I ran the program and I went back to Visual Studio (while the program was still running) the "Masked Type" property would reset to its default state. The program ran properly the first time with the masked type but as soon as I closed it and ran it again, it would use the default value that it had been reset to. This problem frusterated me to no end as I couldn't do anything to save that property but I did narrow it down to that fact that it was because the property was an enum type. As a result, I found that if I moved that enum type to a different class, it would save properly and I could finally move on (although not as happily as I would have hoped). Recently, I have created a customized tab control that would allow me to change the style and colours of the pages. Again everything seemed to work fine but as I neared completion, I noticed that the design view was again not saving the changes that I was making in it after I had compiled. This time is was the pages collection that was losing its settings. Again, if I moved the collection outside of the class and into it's own class, the design time properties saved properly and I could use it normally.

My question is: Does anyone know what I am doing wrong (or possibly doing wrong) Has anyone had this problem with the designer and if so, how did you fix it. I would appreciate any and all help that I could get in this matter. Thanks in advance.

Cheers,

Mike

GeneralSQL Server Structure Access Pin
Mark Sanders20-Jun-03 3:24
Mark Sanders20-Jun-03 3:24 
GeneralRe: SQL Server Structure Access Pin
Daniel Turini20-Jun-03 3:38
Daniel Turini20-Jun-03 3:38 
GeneralRe: SQL Server Structure Access Pin
Arjan Einbu20-Jun-03 11:39
Arjan Einbu20-Jun-03 11:39 
QuestionRichText Gradient ColorFill ?? Pin
KingTermite20-Jun-03 2:59
KingTermite20-Jun-03 2:59 
GeneralRe: RichText Gradient ColorFill ?? Pin
KingTermite20-Jun-03 6:53
KingTermite20-Jun-03 6:53 
GeneralRe: RichText Gradient ColorFill ?? Pin
KingTermite20-Jun-03 10:45
KingTermite20-Jun-03 10:45 
AnswerRe: RichText Gradient ColorFill ?? Pin
Nick Parker20-Jun-03 18:22
protectorNick Parker20-Jun-03 18:22 
GeneralDelegates Design Problem Pin
Rohde20-Jun-03 2:46
Rohde20-Jun-03 2:46 
GeneralRe: Delegates Design Problem Pin
Philip Fitzsimons20-Jun-03 3:07
Philip Fitzsimons20-Jun-03 3:07 
Generalproblem in getting text in TABLE tag of html document Pin
Asim N.20-Jun-03 1:28
Asim N.20-Jun-03 1:28 
GeneralSend file from PC to PDA Pin
Justnice20-Jun-03 0:58
Justnice20-Jun-03 0:58 
QuestionHow to create VARIANT pointer of an array of structs from C# Pin
Chris Goddard19-Jun-03 23:40
Chris Goddard19-Jun-03 23:40 
AnswerRe: How to create VARIANT pointer of an array of structs from C# Pin
Nick Parker20-Jun-03 3:55
protectorNick Parker20-Jun-03 3:55 
Questionhow could I do a rebar ? Pin
JeffSayHi19-Jun-03 22:41
JeffSayHi19-Jun-03 22:41 
QuestionUsing 3rd Party API ?? Pin
slnarasimhan19-Jun-03 22:18
slnarasimhan19-Jun-03 22:18 
AnswerRe: Using 3rd Party API ?? Pin
Kannan Kalyanaraman19-Jun-03 22:25
Kannan Kalyanaraman19-Jun-03 22:25 
AnswerRe: Using 3rd Party API ?? Pin
Deepak Khajuria19-Jun-03 22:28
Deepak Khajuria19-Jun-03 22:28 

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.