Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
QuestionTrail of Tears... (i.e. Control Locations) [modified] Pin
new_phoenix10-Mar-07 2:47
new_phoenix10-Mar-07 2:47 
AnswerRe: Trail of Tears... (i.e. Control Locations) Pin
Guffa10-Mar-07 4:35
Guffa10-Mar-07 4:35 
GeneralRe: Trail of Tears... (i.e. Control Locations) [modified] Pin
new_phoenix10-Mar-07 7:05
new_phoenix10-Mar-07 7:05 
GeneralRe: Trail of Tears... (i.e. Control Locations) Pin
Guffa10-Mar-07 8:45
Guffa10-Mar-07 8:45 
GeneralRe: Trail of Tears... (i.e. Control Locations) Pin
new_phoenix10-Mar-07 8:56
new_phoenix10-Mar-07 8:56 
AnswerRe: Trail of Tears... (i.e. Control Locations) Pin
Guffa10-Mar-07 13:31
Guffa10-Mar-07 13:31 
GeneralRe: Trail of Tears... (i.e. Control Locations) Pin
new_phoenix18-Mar-07 4:55
new_phoenix18-Mar-07 4:55 
GeneralRe: Trail of Tears... (i.e. Control Locations) Pin
Guffa18-Mar-07 6:20
Guffa18-Mar-07 6:20 
new_phoenix wrote:
First, the mathematics for the formula do not appear to work properly.


Yes, you are right. It should be (endX - startX) * _index / 64 instead of (endX - startX) * 64 / _index.

new_phoenix wrote:
The second issue is that what if the contol is dropped at a point in which the end value for x and/or y is less than the start values?


That is not a problem. In that case endX - startX becomes a negative value, so the control moves in the other direction from the start point.

new_phoenix wrote:
Is there a way to get the timer clock to trade control back and forth between showing the control and ticking another period of time.


That is the entire purpose of the Elapsed event. The timer triggers the event for every tick, making control go to the event handler code. Once the event handler code has done it's work, control is returned to normal operation.

---
single minded; short sighted; long gone;

QuestionClass Pin
shamsteady10-Mar-07 2:47
shamsteady10-Mar-07 2:47 
AnswerRe: Class Pin
Guffa10-Mar-07 3:41
Guffa10-Mar-07 3:41 
AnswerRe: Class Pin
Mike Hankey10-Mar-07 3:41
mveMike Hankey10-Mar-07 3:41 
GeneralRe: Class Pin
shamsteady10-Mar-07 3:43
shamsteady10-Mar-07 3:43 
GeneralRe: Class Pin
shamsteady10-Mar-07 4:14
shamsteady10-Mar-07 4:14 
GeneralRe: Class Pin
Colin Angus Mackay10-Mar-07 7:43
Colin Angus Mackay10-Mar-07 7:43 
GeneralRe: Class Pin
Mike Hankey10-Mar-07 9:13
mveMike Hankey10-Mar-07 9:13 
GeneralRe: Class Pin
shamsteady10-Mar-07 9:15
shamsteady10-Mar-07 9:15 
Questionws security Pin
George-Lucian10-Mar-07 2:29
George-Lucian10-Mar-07 2:29 
QuestionConverting Time string into DateTime Object Pin
Iman Daoodian10-Mar-07 2:10
Iman Daoodian10-Mar-07 2:10 
AnswerRe: Converting Time string into DateTime Object Pin
Stefan Troschuetz10-Mar-07 2:30
Stefan Troschuetz10-Mar-07 2:30 
Questionhow to use Crystal Report in my VC#2005 Professionally? Pin
hdv21210-Mar-07 0:29
hdv21210-Mar-07 0:29 
AnswerRe: how to use Crystal Report in my VC#2005 Professionally? Pin
waleed9910-Mar-07 5:36
waleed9910-Mar-07 5:36 
QuestionCheckForIllegalCrossThreadCalls Pin
marwan_siala10-Mar-07 0:25
marwan_siala10-Mar-07 0:25 
AnswerRe: CheckForIllegalCrossThreadCalls Pin
Stefan Troschuetz10-Mar-07 0:40
Stefan Troschuetz10-Mar-07 0:40 
QuestionHow to send mail with out using SMTP Pin
kk.tvm9-Mar-07 21:18
kk.tvm9-Mar-07 21:18 
AnswerRe: How to send mail with out using SMTP Pin
Udhaya Kumar.D10-Mar-07 4:14
Udhaya Kumar.D10-Mar-07 4:14 

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.