Click here to Skip to main content
15,891,704 members
Home / Discussions / C#
   

C#

 
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
Martin#2-Aug-07 19:55
Martin#2-Aug-07 19:55 
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
FDK22-Aug-07 20:56
FDK22-Aug-07 20:56 
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
Martin#2-Aug-07 21:06
Martin#2-Aug-07 21:06 
AnswerRe: Show an integer property as hexadecimal in a property grid Pin
pmarfleet2-Aug-07 4:12
pmarfleet2-Aug-07 4:12 
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
FDK22-Aug-07 10:55
FDK22-Aug-07 10:55 
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
pmarfleet2-Aug-07 11:32
pmarfleet2-Aug-07 11:32 
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
FDK22-Aug-07 11:48
FDK22-Aug-07 11:48 
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
pmarfleet2-Aug-07 12:23
pmarfleet2-Aug-07 12:23 
You can continue to store the value of the property internally as an integer. However, you should make the public property declaration of type String. When reading the value, convert the internal integer value to a string representing its value in hex format using the code I previously supplied. When setting the value, parse the hex string and convert the value back to an integer.

Paul
GeneralRe: Show an integer property as hexadecimal in a property grid Pin
FDK22-Aug-07 20:59
FDK22-Aug-07 20:59 
Questionautomate Active directory C# Pin
franklinm2-Aug-07 4:03
franklinm2-Aug-07 4:03 
AnswerRe: automate Active directory C# Pin
originSH2-Aug-07 4:25
originSH2-Aug-07 4:25 
QuestionAnswer my comment Pin
Karthi_jpk2-Aug-07 3:35
Karthi_jpk2-Aug-07 3:35 
JokeRe: Answer my comment Pin
CPallini2-Aug-07 3:43
mveCPallini2-Aug-07 3:43 
AnswerRe: Answer my comment Pin
Joseph Guadagno2-Aug-07 3:43
Joseph Guadagno2-Aug-07 3:43 
AnswerRe: Answer my comment Pin
Software_Specialist2-Aug-07 4:15
Software_Specialist2-Aug-07 4:15 
AnswerRe: Answer my comment Pin
Sam_c2-Aug-07 4:21
Sam_c2-Aug-07 4:21 
GeneralRe: Answer my comment Pin
CPallini2-Aug-07 4:51
mveCPallini2-Aug-07 4:51 
AnswerMow my lawn. Pin
leckey2-Aug-07 6:35
leckey2-Aug-07 6:35 
GeneralRe: Mow my lawn. Pin
snorkie2-Aug-07 7:49
professionalsnorkie2-Aug-07 7:49 
QuestionProblem placing the TableLayoutPanel at the same location! Pin
Khoramdin2-Aug-07 3:35
Khoramdin2-Aug-07 3:35 
AnswerRe: Problem placing the TableLayoutPanel at the same location! Pin
Martin#2-Aug-07 3:40
Martin#2-Aug-07 3:40 
QuestionProcess.Start with specific Culture Setting Pin
Rolf Sperling2-Aug-07 3:30
Rolf Sperling2-Aug-07 3:30 
AnswerRe: Process.Start with specific Culture Setting Pin
Martin#2-Aug-07 3:45
Martin#2-Aug-07 3:45 
GeneralRe: Process.Start with specific Culture Setting Pin
Rolf Sperling2-Aug-07 20:27
Rolf Sperling2-Aug-07 20:27 
GeneralRe: Process.Start with specific Culture Setting Pin
Martin#2-Aug-07 20:33
Martin#2-Aug-07 20:33 

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.