Another KryptonMessageBox

Share your code snippets, controls and screenshots.

Moderators: Phil Wright, Chris Porter

Another KryptonMessageBox

Postby dagikris » Wed Jun 16, 2010 6:45 pm

Hello everybody,

i developed another KryptonMessageBox and want to share it with the community.

ScreenShot.jpg
ScreenShot.jpg (22.83 KiB) Viewed 2005 times

KryptonMessageBox.zip
(93.84 KiB) Downloaded 270 times

Created with Microsoft Visual Basic 2008 Express Edition and Krypton Toolkit 4.1.6 using the new KryptonWrapLabel.

Included in the zip-file is the class library and a test-application.

I hope you will like it and as usual, feedback and improvements are welcome.

Best regards

dagikris
dagikris
 
Posts: 6
Joined: Tue Sep 23, 2008 4:21 pm

Re: Another KryptonMessageBox

Postby johnfermor » Wed Jun 23, 2010 2:05 am

Looks great but the screenshot doesn't do it justice. I would urge fellow users to download and try it!

Thanks for sharing!

John

:D
johnfermor
 
Posts: 101
Joined: Fri Oct 05, 2007 1:32 am
Location: Great Britain UK

Re: Another KryptonMessageBox

Postby Charles1976 » Fri Jul 23, 2010 4:12 pm

I've tried it. A great one! Thanks dagikris!
Charles1976
 
Posts: 8
Joined: Wed Mar 11, 2009 7:18 pm

Re: Another KryptonMessageBox

Postby etud_ini » Fri Aug 13, 2010 9:02 pm

Hello,

I'm not very experienced in .net, I wonder How to use this component, i.e : how to integrate it in my project after dowloading the ZIP file ?
I'va another question, for this messagebox : is the size of the message is limited ? the size of the component is extensible according to the size of the message to display ?

Thanks
etud_ini
 
Posts: 14
Joined: Sun Oct 19, 2008 4:21 am

Re: Another KryptonMessageBox

Postby dagikris » Mon Aug 16, 2010 11:49 pm

Hello etud_ini,

the ZIP file contains the complete project to modify and compile it by yourself.

If you just want to use it, use the attached DLL file and add it as reference to your project.

ComponentFactory.Krypton.ToolkitEx.zip
(44.23 KiB) Downloaded 195 times

After that you have to add the reference to the Imports and use it like the "normal" messagebox.

Code: Select all
Imports ComponentFactory.Krypton.ToolkitEx


Code: Select all
KryptonMessageBox.Show(message,caption)


The size of the messagebox depends on the displayed message and buttons and has a maximum width of approx. 360 pixel.

Kind regards

dagikris
dagikris
 
Posts: 6
Joined: Tue Sep 23, 2008 4:21 pm

Re: Another KryptonMessageBox

Postby jan » Tue Sep 21, 2010 4:19 am

Hi dagikris

I have tried using your Customised KryptonMessageBox and it is great!
However, since I upgraded to KryptonSuite 4.3.0.0 I am getting error messages like KryptonMessageBox is Ambiguous in ComponentFactory,Krypton.Toolkit
(I haven't usedthe DLL, i incorporated your project within my solution - but haven't made any changes to your code except changed the reference of toolkit to 4.3.0.0 in your project references)

Any ideas why this may be?

Any help will be appreciated

Thanks

Jan
jan
 
Posts: 1
Joined: Tue Sep 21, 2010 4:13 am

Re: Another KryptonMessageBox

Postby dagikris » Thu Sep 23, 2010 5:46 am

Hi jan,

i had the same problem after upgrading to KryptonSuite 4.3.0.0.

The problem is, that the new KryptonSuite has a new control, the KryptonMessageBox. ;-)

It's just a naming conflict.

The solution is to rename the class in my project to KryptonMessageBoxEx and if you want,
also the classes KryptonMessageBoxExButtons and KryptonMessageBoxExImage.

After that you have to compile the project.

I hope that helps.

Kind regards

dagikris
dagikris
 
Posts: 6
Joined: Tue Sep 23, 2008 4:21 pm


Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest

cron