Click here to Skip to main content
16,005,491 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making string HTML compliant Pin
tommazzo7-Apr-05 10:43
tommazzo7-Apr-05 10:43 
QuestionC# Cursor with a rectangle? Pin
elapid6-Apr-05 4:18
elapid6-Apr-05 4:18 
AnswerRe: C# Cursor with a rectangle? Pin
elapid6-Apr-05 6:04
elapid6-Apr-05 6:04 
GeneralRe: C# Cursor with a rectangle? Pin
Tom Larsen6-Apr-05 6:16
Tom Larsen6-Apr-05 6:16 
GeneralRe: C# Cursor with a rectangle? Pin
elapid6-Apr-05 7:13
elapid6-Apr-05 7:13 
GeneralRe: C# Cursor with a rectangle? Pin
Dave Kreskowiak6-Apr-05 8:18
mveDave Kreskowiak6-Apr-05 8:18 
GeneralRe: C# Cursor with a rectangle? Pin
elapid6-Apr-05 10:33
elapid6-Apr-05 10:33 
GeneralProperties Problem Pin
chettu6-Apr-05 3:41
chettu6-Apr-05 3:41 
Hi
I have a custom property updating another custom properety the code is as follows
<br />
       public enum CodePageType { None, Swift, ASCII, Trade };<br />
       public string RegularExpP<br />
        {<br />
            get { return regularEx; }<br />
            set { regularEx = value; }<br />
        }<br />
        [Category("Custom Properties")]<br />
        [DefaultValue(false)]<br />
        public CodePageType Validate<br />
        {<br />
            get <br />
            {<br />
                if (type == CodePageType.ASCII)<br />
                {<br />
                     RegularExpP = "Exp1";<br />
                }<br />
                if (type == CodePageType.None)<br />
                {<br />
                     RegularExpP = "Exp2";<br />
                }<br />
                return type;<br />
            }<br />
            set {type = value;}<br />
        }<br />


Now when i select the validate property the RegExpP property is set in the UI but its not getting updated in the Form1.Designer.cs Page.But its getting updated only the second time, and this time it sets the previous value i selected hat could be the problem

Regards
Deepak.s
GeneralType.GetType(name) Pin
cobyjone6-Apr-05 3:34
cobyjone6-Apr-05 3:34 
GeneralRe: Type.GetType(name) Pin
Tom Larsen6-Apr-05 4:15
Tom Larsen6-Apr-05 4:15 
GeneralRe: Type.GetType(name) Pin
cobyjone6-Apr-05 4:25
cobyjone6-Apr-05 4:25 
GeneralUpload files to Server through FTP Pin
Deepa306-Apr-05 3:15
Deepa306-Apr-05 3:15 
GeneralSave and Retrieve pdf/tiff/bmp/jpg from database Pin
Deepa306-Apr-05 3:07
Deepa306-Apr-05 3:07 
GeneralRe: Save and Retrieve pdf/tiff/bmp/jpg from database Pin
Richsolnuv4-Jun-05 2:56
Richsolnuv4-Jun-05 2:56 
QuestionMemoryStream och regular stream? Pin
Snowjim6-Apr-05 3:06
Snowjim6-Apr-05 3:06 
QuestionRichTextBox and stream? Pin
Snowjim6-Apr-05 3:04
Snowjim6-Apr-05 3:04 
GeneralPrinting files in C# Pin
mainevent6-Apr-05 2:43
mainevent6-Apr-05 2:43 
GeneralGDI+ probs Pin
Confuzler6-Apr-05 2:37
Confuzler6-Apr-05 2:37 
GeneralRe: GDI+ probs Pin
leppie6-Apr-05 2:51
leppie6-Apr-05 2:51 
GeneralRe: GDI+ probs Pin
Confuzler6-Apr-05 3:12
Confuzler6-Apr-05 3:12 
GeneralRe: GDI+ probs Pin
Confuzler6-Apr-05 3:27
Confuzler6-Apr-05 3:27 
GeneralRe: GDI+ probs Pin
Confuzler6-Apr-05 4:57
Confuzler6-Apr-05 4:57 
GeneralAdd Image icon in textbox Pin
Adnan Siddiqi6-Apr-05 2:21
Adnan Siddiqi6-Apr-05 2:21 
GeneralRe: Add Image icon in textbox Pin
leppie6-Apr-05 2:45
leppie6-Apr-05 2:45 
GeneralDelegate on a MarshalByRefObject Pin
PEK6-Apr-05 1:17
PEK6-Apr-05 1:17 

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.