 |
|
|
 |
|
 |
erm... download source code, compile, run.
You have reached your destination.
|
|
|
|
 |
|
 |
i required some hand out of how to make dashboard application.
How to use KPIs in gauges. And can you help me out of how to use chart FX gauges.
regards,
|
|
|
|
 |
|
 |
I'm afraid that this project does not use the Chart FX guage and neither do I...
|
|
|
|
 |
|
 |
i need to work on that but not finding any helpful tutorial about gauges and KPIs view on web . I asked you for the help in case you know someone to refer for.
thanks and regards,
|
|
|
|
 |
|
 |
This is a good idea, still needs some modifications.
You forgot this in the on resize of the dial...
_DialValueRectangle = New Rectangle((Me.Right - Me.Left) * 0.3, (Me.Bottom - Me.Top) * 0.57, (Me.Right - Me.Left) / 3, (Me.Bottom - Me.Top) / 12)
Dim fontSize As Integer = (Me.Bottom - Me.Top) / 24
_DialFont = New Font(FontFamily.GenericSansSerif, fontSize, FontStyle.Regular)
Thanks
Have a nice life!!
|
|
|
|
 |
|
 |
Thanks for the feedback - it is going in to the next version..
Sláinte,
Duncan
|
|
|
|
 |
|
 |
I walked through your source, and I have some comments / questions for you:
1. Every time, the user changes settings, new instnces of the counters are made, and the old ones are unhandled in memory. I think, you trust the GC, but in this case, this can cause lots of problems, when your app is running longer time (PerformanceCounters are dealing with unmanaged code, and when garbage collection fails, you produce memory leaks), so it would be nice to 'Dispose' the counters correctly, when leaving the app.
Then you only should have one instance of the counters, and when changing settings (instance name), set the property 'InstanceName' of the counters.
1. Why do uou use public constants for the categories / names. When using one instance of the counters, there are no constants needed, just call the constructor once with the names....
|
|
|
|
 |
|
 |
Both fair points, even if they are both numbered 1.
I'll make the changes accordingly.
-- modified at 4:03 Friday 28th July, 2006
|
|
|
|
 |
|
 |
Why the "+=" in this line:
Me.Dial_Exceptions.CurrentValue += CInt(_ExceptionsCounter.NextValue)
I think it should just be "=".
Hope so, otherwise my current application isn't going to run too well!
-- modified at 9:07 Thursday 27th July, 2006
|
|
|
|
 |
|
 |
It definitely should be '='
|
|
|
|
 |
|
 |
Interesting project.
But if the Dashboard is attached to a running application and that application is closed, the Dashboard throws an exception in the timer event that the application does not exist. It would be more useful if the Dashboard disconnect from a terminated application.
Also I noticed that the application is saved in the Settings. This will cause the same exception as above when the Dashboard is restarted and the last application is not running.
And some useful additions would be to add commands that disconnected from all application, suspend/resume monitoring and some form of logging or histogram.
Otherwise not too bad
|
|
|
|
 |
|
 |
For a histogram of the application performance the perfmon tool that comes with Windows is probably better than anything I could knock -up.
However the error handling does definitely need to be implemented. I'll look into it...
|
|
|
|
 |
|
 |
Fixed code uploaded (2006-07-28)
|
|
|
|
 |