Click here to Skip to main content
15,887,404 members
Home / Discussions / C#
   

C#

 
QuestionHow do I programatically select a Tab Page? Pin
postonoh11-Sep-08 10:52
postonoh11-Sep-08 10:52 
AnswerRe: How do I programatically select a Tab Page? Pin
Pete O'Hanlon11-Sep-08 11:21
mvePete O'Hanlon11-Sep-08 11:21 
GeneralRe: How do I programatically select a Tab Page? Pin
postonoh11-Sep-08 11:26
postonoh11-Sep-08 11:26 
GeneralRe: How do I programatically select a Tab Page? Pin
Pete O'Hanlon11-Sep-08 11:44
mvePete O'Hanlon11-Sep-08 11:44 
GeneralRe: How do I programatically select a Tab Page? Pin
postonoh11-Sep-08 13:35
postonoh11-Sep-08 13:35 
GeneralRe: How do I programatically select a Tab Page? Pin
Member 204889411-Sep-08 14:50
Member 204889411-Sep-08 14:50 
Questiontypedef?? Pin
Dirso11-Sep-08 10:08
Dirso11-Sep-08 10:08 
AnswerI am unaware of that functionality in C# Pin
Ennis Ray Lynch, Jr.11-Sep-08 10:18
Ennis Ray Lynch, Jr.11-Sep-08 10:18 
However, you could create a wrapper class at the expense of speed. It really is unfortunate that you cannot inherit base types in .NET.

Another option which is more sloppily elegant ... Create a new class whose only method is a static, implicit operator that converts between itself and the type you want.

Then declare your code using floats in the following manner:

float myFloat = ((MyClass)5f);

When it comes time to change the value of the float change the implicit operator's type and you will get compile time errors showing you every location that needs to be changed.


Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.


Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway


Most of this sig is for Google, not ego.


AnswerRe: typedef?? Pin
PIEBALDconsult11-Sep-08 10:57
mvePIEBALDconsult11-Sep-08 10:57 
AnswerRe: typedef?? Pin
Dave Doknjas11-Sep-08 13:21
Dave Doknjas11-Sep-08 13:21 
GeneralRe: typedef?? Pin
Dirso11-Sep-08 14:06
Dirso11-Sep-08 14:06 
GeneralRe: typedef?? Pin
PIEBALDconsult11-Sep-08 16:25
mvePIEBALDconsult11-Sep-08 16:25 
QuestionWeb reference and hard-coded URLs Pin
Le centriste11-Sep-08 7:34
Le centriste11-Sep-08 7:34 
AnswerRe: Web reference and hard-coded URLs Pin
Judah Gabriel Himango11-Sep-08 13:01
sponsorJudah Gabriel Himango11-Sep-08 13:01 
QuestionEnable/Disable rows in CheckedListBox Pin
spelltwister11-Sep-08 6:48
spelltwister11-Sep-08 6:48 
AnswerRe: Enable/Disable rows in CheckedListBox Pin
Dave Sexton11-Sep-08 7:25
Dave Sexton11-Sep-08 7:25 
GeneralRe: Enable/Disable rows in CheckedListBox Pin
spelltwister12-Sep-08 16:23
spelltwister12-Sep-08 16:23 
GeneralRe: Enable/Disable rows in CheckedListBox Pin
Dave Sexton13-Sep-08 3:45
Dave Sexton13-Sep-08 3:45 
QuestionAuto-update Manager Pin
spelltwister11-Sep-08 6:46
spelltwister11-Sep-08 6:46 
AnswerRe: Auto-update Manager Pin
Dave Sexton11-Sep-08 7:27
Dave Sexton11-Sep-08 7:27 
GeneralRe: Auto-update Manager Pin
spelltwister12-Sep-08 16:24
spelltwister12-Sep-08 16:24 
QuestionError Connecting To Oracle Database Pin
Kevin Marois11-Sep-08 6:42
professionalKevin Marois11-Sep-08 6:42 
AnswerRe: Error Connecting To Oracle Database Pin
Mbah Dhaim11-Sep-08 6:59
Mbah Dhaim11-Sep-08 6:59 
AnswerRe: Error Connecting To Oracle Database Pin
Wendelius11-Sep-08 8:38
mentorWendelius11-Sep-08 8:38 
QuestionHow to search data on DataGridView? Pin
nhatvhm11-Sep-08 5:54
nhatvhm11-Sep-08 5: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.