Open SoftwelSanjog opened 7 years ago
That's strange, there shouldn't be a difference between C# and VB.Net.
You can try compiling the GitHub version, adding it as a reference and cleaning your project.
Dear Sir,
Ya there must not be difference but while draging control from toolbox to form the MaterialSkin Controls are black which makes difficult for texts and controls.
But when i run the application the controls are shown as material Design.
I love to use material skin in my project but due to this unknown behaviour made me lil confused. Is there any workaround for it? And lastly it this project will support floating menus and sliding bar in future?
Waiting for ur reply. Best Regards, sanjog
I can confirm this, reason being g.Clear(Parent.BackColor) inside the OnPaint() returns "Black" while in the designer. Possible fix would be to use GetApplicationBackgroundColor() in design mode; by replacing:
g.Clear(Parent.BackColor);
with
Color backgroundColor = DesignMode ? SkinManager.GetApplicationBackgroundColor() : Parent.BackColor;
g.Clear(backgroundColor);
While using materialskin with vb.net the components like checkbox radiobutton and buttons are black which must be of material design.Insteade tabpages works fine. Is this not supported with vb.net?If i use it with c# its working fine.But i need it working in vb.net.