Click here to Skip to main content
15,912,578 members
Home / Discussions / C#
   

C#

 
GeneralRe: software design problem Pin
ppp00114-Feb-05 14:50
ppp00114-Feb-05 14:50 
GeneralRe: software design problem Pin
leppie14-Feb-05 21:34
leppie14-Feb-05 21:34 
QuestionHow do I tell if the form has been minimized or restored? Pin
Marc Clifton14-Feb-05 7:22
mvaMarc Clifton14-Feb-05 7:22 
AnswerNever Mind Pin
Marc Clifton14-Feb-05 7:49
mvaMarc Clifton14-Feb-05 7:49 
GeneralRe: Never Mind Pin
Stefan Troschuetz14-Feb-05 21:30
Stefan Troschuetz14-Feb-05 21:30 
AnswerRe: How do I tell if the form has been minimized or restored? Pin
mav.northwind14-Feb-05 7:55
mav.northwind14-Feb-05 7:55 
GeneralRe: How do I tell if the form has been minimized or restored? Pin
Marc Clifton14-Feb-05 8:17
mvaMarc Clifton14-Feb-05 8:17 
GeneralProgress Bar Information Question... Pin
new_phoenix14-Feb-05 7:08
new_phoenix14-Feb-05 7:08 
Working on an application requiring a progress bar implementationin C#. While working on it, I thought it would be a nice idea to display the download information presented for the users while incrementing the information by placing the processing code into the _Tick event of a Timer object and displaying the information about the download in a series of labels. I would like to display the:

1. Bytes Received (in KB)
2. Download Size Total
3. Time Left
4. Time Elapsed
5. Average Speed (KB/sec)
6. Percent Complete (%)

Now, I just figured out how to get the file size for each of the files using the FileInfo class and then getting the .length property for each of the instantiated FileInfo objects. Then, all I need to do is to add them up and to display them in the respective label.

While I may perhaps be able to get the Time Elapsed value simply by utilizing the TimeSpan object with comparison to the Timer object, I do not know how to get the performance type information like the Bytes Received, or the Time Left, or the Average Speed in KB/Sec or the Percentage completed? Would appreciate some advice on an appropriate approach.

Also, I would like to display the progress bar with an image in the background and a slightly transparent progress stepper incrementing at the required points. I have looked at Seti's progress bar, and I will try to implement it, but are there any .ocx component files available that could be implemented into a project? Finally, how would I get permission from Seti to utilize Seti's progress bar into the application?
GeneralWebservice methods disappear Pin
wantacobra200314-Feb-05 6:27
wantacobra200314-Feb-05 6:27 
Generaljavascript doesnot work in firefox Pin
kinnera14-Feb-05 5:43
kinnera14-Feb-05 5:43 
GeneralRe: javascript doesnot work in firefox Pin
Dave Kreskowiak14-Feb-05 5:47
mveDave Kreskowiak14-Feb-05 5:47 
Generaloverride delete key in datagrid Pin
xrado14-Feb-05 5:29
xrado14-Feb-05 5:29 
GeneralExporting DataGrid to Excel Pin
LuKas23_14-Feb-05 5:12
LuKas23_14-Feb-05 5:12 
GeneralA TCPListner problem that i am not sure about Pin
sameerhanda14-Feb-05 4:12
sameerhanda14-Feb-05 4:12 
GeneralRe: A TCPListner problem that i am not sure about Pin
Marc Clifton14-Feb-05 8:16
mvaMarc Clifton14-Feb-05 8:16 
Generalactivesync icefilefilter Pin
Luigi Grilli14-Feb-05 3:18
Luigi Grilli14-Feb-05 3:18 
GeneralLine Numbers Pin
jcrussell14-Feb-05 2:48
jcrussell14-Feb-05 2:48 
GeneralRe: Line Numbers Pin
Stefan Troschuetz14-Feb-05 4:10
Stefan Troschuetz14-Feb-05 4:10 
QuestionIs possible load a directory in binary mode? Pin
Anonymous14-Feb-05 2:34
Anonymous14-Feb-05 2:34 
AnswerRe: Is possible load a directory in binary mode? Pin
Colin Angus Mackay14-Feb-05 2:51
Colin Angus Mackay14-Feb-05 2:51 
GeneralRe: Is possible load a directory in binary mode? Pin
Anonymous14-Feb-05 4:42
Anonymous14-Feb-05 4:42 
GeneralRe: Is possible load a directory in binary mode? Pin
Colin Angus Mackay14-Feb-05 4:47
Colin Angus Mackay14-Feb-05 4:47 
GeneralRe: Is possible load a directory in binary mode? Pin
Daniel Turini14-Feb-05 6:44
Daniel Turini14-Feb-05 6:44 
QuestionHow to intercept directory changes Pin
Anonymous14-Feb-05 2:32
Anonymous14-Feb-05 2:32 
AnswerRe: How to intercept directory changes Pin
Sebastian Schneider14-Feb-05 2:47
Sebastian Schneider14-Feb-05 2:47 

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.