bubuntoid / materialskin.net5 Goto Github PK
View Code? Open in Web Editor NEWIgnaceMaes' MaterialSkin port to .NET 5
IgnaceMaes' MaterialSkin port to .NET 5
materialToolStripMenuItem can't add item to DropDownItems, it's show bad and throw ERROR on Running.
I am is here:
.NET 5.0.403;
VS2019 16.11.7;
MaterialSkin.NET5 1.0.1;
Exception: System.NullReferenceException;
Error Message: Object reference not set to an instance of an object;
HResult: -2147467261;
StackTrace:
at System.Windows.Forms.Layout.CommonProperties.xClearPreferredSizeCache(IArrangedElement element)
at System.Windows.Forms.ToolStripDropDown.OnOwnerItemFontChanged(EventArgs e)
at System.Windows.Forms.ToolStripDropDownItem.OnFontChanged(EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnFontChanged(EventArgs e)
at System.Windows.Forms.ToolStripItem.OnOwnerFontChanged(EventArgs e)
at System.Windows.Forms.ToolStrip.OnFontChanged(EventArgs e)
at System.Windows.Forms.Control.set_Font(Font value)
at System.Windows.Forms.ToolStrip.set_Font(Font value)
at MaterialSkin.Controls.MaterialMenuStrip.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MaterialSkin.Controls.MaterialForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
.NET Version: 5.0.15
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException: Method not found: 'Void MaterialSkin.Controls.MaterialSingleLineTextField.set_MaxLength(Int32)'.
After build setup package and install to client machine success and run application
MaterialSkin.Controls.MaterialSingleLineTextField
public new int MaxLength { get { return _baseTextBox.MaxLength; } set { _baseTextBox.MaxLength = value; } }
change to
public int MaxLength { get { return _baseTextBox.MaxLength; } set { _baseTextBox.MaxLength = value; } }
i'm think this solve problem
Environment
Windows : 10 Pro
.NET version : .NET 5
Visual studio version : Visual studio 2019 Pro
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.