Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
Questionto trigger some actions after form load. Pin
Manu_8119-Jan-06 7:37
Manu_8119-Jan-06 7:37 
AnswerRe: to trigger some actions after form load. Pin
mav.northwind19-Jan-06 8:05
mav.northwind19-Jan-06 8:05 
GeneralRe: to trigger some actions after form load. Pin
Manu_8119-Jan-06 8:19
Manu_8119-Jan-06 8:19 
GeneralRe: to trigger some actions after form load. Pin
Werdna19-Jan-06 11:35
Werdna19-Jan-06 11:35 
GeneralRe: to trigger some actions after form load. Pin
RaviGupta798623-Jul-10 22:48
RaviGupta798623-Jul-10 22:48 
Questiondouble accuracy and equality Pin
vineas19-Jan-06 7:06
vineas19-Jan-06 7:06 
AnswerRe: double accuracy and equality Pin
Michael Potter19-Jan-06 11:28
Michael Potter19-Jan-06 11:28 
GeneralRe: double accuracy and equality Pin
vineas19-Jan-06 16:36
vineas19-Jan-06 16:36 
Yes, val3 - val4 is greater than accuracy, but that leaves me with the problem that val3 == val1 is true, val1 == val4 is true, but val3 == val4 is false. A==B, B==C therefore A==C is a basic mathematical principal that this is breaking, and I'm afraid will cause problems, and I can't figure out a way around it.

Truncation isn't quite right either, that way 1.0000000001 and 1.00000000009 wouldn't match up.

I've since rewritten the equality method, to get much better results but no matter how I change it, I still can't get around that basic problem.

BTW, I've thought about using the Decimal structure for internal calculations, but I don't know how much it would gain me when most of the intermediate results will be stored outside of my class and will be in double.

-----
In the land of the blind, the one eyed man is king.
AnswerRe: double accuracy and equality Pin
Guffa19-Jan-06 12:40
Guffa19-Jan-06 12:40 
Questionquery on data columns Pin
dvsr19-Jan-06 7:04
dvsr19-Jan-06 7:04 
AnswerRe: query on data columns Pin
vineas19-Jan-06 7:24
vineas19-Jan-06 7:24 
GeneralRe: query on data columns Pin
dvsr19-Jan-06 12:15
dvsr19-Jan-06 12:15 
AnswerRe: query on data columns Pin
Wjousts19-Jan-06 9:49
Wjousts19-Jan-06 9:49 
GeneralRe: query on data columns Pin
dvsr19-Jan-06 10:01
dvsr19-Jan-06 10:01 
QuestionHow to wrapp .net 3rdparty controls with designer support? Pin
Chris Richner19-Jan-06 7:04
Chris Richner19-Jan-06 7:04 
Questionslideshow viewer Pin
GetSharp19-Jan-06 6:47
GetSharp19-Jan-06 6:47 
QuestionHow to check if 'RPC server is available' on a remote computer. Pin
ESTAN19-Jan-06 6:38
ESTAN19-Jan-06 6:38 
AnswerRe: How to check if 'RPC server is available' on a remote computer. Pin
ESTAN19-Jan-06 22:15
ESTAN19-Jan-06 22:15 
QuestionClass Library DLL with no functions Pin
uNsignedINT19-Jan-06 6:11
uNsignedINT19-Jan-06 6:11 
AnswerRe: Class Library DLL with no functions Pin
malharone19-Jan-06 6:19
malharone19-Jan-06 6:19 
GeneralRe: Class Library DLL with no functions Pin
uNsignedINT19-Jan-06 6:26
uNsignedINT19-Jan-06 6:26 
GeneralRe: Class Library DLL with no functions Pin
malharone19-Jan-06 6:49
malharone19-Jan-06 6:49 
GeneralRe: Class Library DLL with no functions Pin
uNsignedINT19-Jan-06 7:10
uNsignedINT19-Jan-06 7:10 
GeneralRe: Class Library DLL with no functions Pin
uNsignedINT19-Jan-06 7:57
uNsignedINT19-Jan-06 7:57 
GeneralRe: Class Library DLL with no functions Pin
Dave Kreskowiak19-Jan-06 10:32
mveDave Kreskowiak19-Jan-06 10:32 

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.