Custom Dialog's
-
8 mai 2010 17:52
I've seen a few addins that have use various dialogs as part of their implementation\usage.
Are these just standard dialogs with a WHS looking background image or does the sdk have custom dialogs?Thanks.
Toate mesajele
-
8 mai 2010 19:44Moderator
The SDK doesn't have custom dialogs that I know of.
But you can easily use the standard ones of .NET.
In my case I just adjust the background color, but there is nothing special to them.Hope that answers your question.
Cheers,
Nick -
8 mai 2010 20:06
That's great, I've implemented a standard dialog but it obviously looks out of place in the console.
Where did you get the background image from? I cannot see anything obvious.
Thanks.
-
8 mai 2010 22:40Moderator
Have a look at these: http://www.brendangrant.com/WHS/WHSDevTips.htm. There is a custom MessageBox that WHS provides, if that's what you're after.
- QMessageBox: http://ihatelinux.blogspot.com/2007/11/whs-developer-tip-2-messagebox.html
- WHS Images: http://ihatelinux.blogspot.com/2007/11/whs-developer-tip-5-images-and-icons.html (CommonImages contains the background image that I think you're talking about).
Tentacle Blog: http://www.tentaclesoftware.com/blog/
WHS Disk Management: http://www.tentaclesoftware.com/WHSDiskManagement/- Propus ca răspuns de Sam WoodMVP, Moderator 10 mai 2010 00:16
-
8 mai 2010 23:55
An example would be the About dialog that you have on your disk management app.
The WizardTopBanner appears to be that image I had in mind, thanks for that Sam.
-
10 mai 2010 00:16ModeratorThe About dialog is just a normal Form with some properties set in the designer (turning off the minimize button, changing the border etc).
Tentacle Blog: http://www.tentaclesoftware.com/blog/
WHS Disk Management: http://www.tentaclesoftware.com/WHSDiskManagement/