Open redseujac opened 6 years ago
It's not a designer or designerable element. As it is expected (Like a normal MessageBox) to be called directly from code.
Thank you, I understand and I found how to do it now. You have to Import ComponentFactory.Krypton.Toolkit first, otherwise KryptonMessageBox cannot be called (not showing in the list).
Dear Smurf-IV, one more question: where and how can i change the Global Palette for the shown Krypton Messagebox? In fact it is not the Global Palette I want to change, but the Palette for that particular toolkit control (Messagebox) only. I can't find a way to do this.
Simple put: It uses the "Application Palette" If you want to roll your own palette just for the KryptonMessageBox, then copy the code elements you need and create your own MyKryptonMessageBoxForm with a palette assigned to it.
Thank you, but I'm a newbie. I just don't know where I have to copy the needed code elements and which code elements to create my own KryptonMessageBoxForm. I'm afraid also I have to add a new Class or Component to the project? I don't know if you can help me further?
What are you trying to do with the KMB to make it independent of the "Used" Palette ? Could the things you are trying to do be covered by the extensions requests covered here: https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-4.7/issues
I just want to apply another Palette for my KMB. The "Global Palette" is set to Sparkle-Blue, but I don't like that Palette for my KMB. I'm preferring Professional-Office 2003 Palette for the KryptonMessageBox. There should be an easy way to change the Palette for the KMB just as it exists for controls. By the way I tried to create a custom 'Krypton MessageBox Form', by adding a new Krypton Form, but I noticed that I cannot find the Krypton Form in the Visual Studio (2017) ToolBox nor in the Menu "Add Windows Form", "Add New Item", etc. Where do I find the Krypton Form?
If you are wanting to stick the "ComponentFactory" then you will have to manually change it in code; Otherwise switch to the "WagnerP" Toolkit and Extensions and it has the Form in the Designer and the code is maintained / updated / fixed as we find issues with Win10 and other incompatibilities.
Hi @Smurf-IV & @redseujac
Thanks for mentioning the extended toolkit. As @Smurf-IV mentioned, I have started developing a Krypton MessageBox using a Form with a designer, which will be re-sizeable, and will offer greater customisation over the original, however it's not completed yet. If you want to contribute & use this project in your own projects, then that would be great!
OK, but how to install this Extended Tookit? I downloaded and extracted. Beyond the (new?) Krypton Suite DLL's I don't find any DLL for that extended toolkit, such as the "KryptonExtendedToolkit.dll". Is it so that have to open/load the .sln from the source folder in Visual Studio, add a reference to the (new?) Krypton Suite DLL's and then Build the solution or Start Debugging to create the DLL? Now in the extracted files from the website the BIN folder is empty.
You will need to reference the binaries from Krypton-NET-4.7 and restore the Nuget package 'Windows API CodePack' in order for it to build successfully. It's not just one DLL.
I have installed Krypton Suite successfully in Visual Studio 2017. However the KryptonMessageBox is missing in the Toolbox. Why?