n-a-r-w-i-n / metroset-ui Goto Github PK
View Code? Open in Web Editor NEWWindows Forms Metro Skin Style, Make The Applications With Metro Styles. see more https://n-a-r-w-i-n.github.io/MetroSet-UI/
License: Other
Windows Forms Metro Skin Style, Make The Applications With Metro Styles. see more https://n-a-r-w-i-n.github.io/MetroSet-UI/
License: Other
When i have the form on my second monitor it just resizes as i try to move it around. Works on main monitor tho
Not so much of an issue, but a 'how'. For the life of me, I cannot get the scrollbar to work inside the tabs
Hello,
When I display a form created with this framework, it "fades in" on shown event.
I'd like to be able to set a property on the form in order to disable this behavior.
Regards,
Brian Hart
hi all i use this dll
its best but have 1 or more bug
if you can use async and await to animate when its played (in example program on your project) its slow or lagging on animate...
if you can Increase font readability It is illegible...
in listbox filled with strings is not possible move via arrow keys and no allowed jumping via letters :(
Don't work with _keydown, for "Enter" keycode at leat.
if is enabled animaton on MetroSetTabControl and is set bigger width and height with more tabs, animation is very slow anc cracked
I keep getting this error, it only does it whenever I put
`Imports MetroSet_UI.Forms
public class Form1 : Inherits MetroSetForm
Sub New()
End Sub
End Class`
but if I replace it back to the default.
`Public Class Form1
End Class`
It works fine?
I added watermark property of textbox but it not hiding when click on textbox. it is working as textbox.text value
Localization in other languages not possible, error message for tab 🤔
I want to translate in many languages, but it's not possible because with this issue...
The control MetroSet_UI.Controls.MetroSetTabControl has thrown an unhandled exception in the designer and has been disabled.
Exception:
Value cannot be null.
Parameter name: font
Stack trace:
at
MetroSet_UI.Controls.MetroSetTabControl.OnPaint(PaintEvent Args e)
I set the fonts for tabs but I get error message...
Seeing as other tab controls don't do this, it's pretty obvious this is a bug.
This bug occurs when you have a tabcontrol and one or more of the elements on one of the tabs has their "Visible" property set to false.
This is what is looks before you switch to the next tab (export in this case)
After switching to the next tab (export) and switching back to the previous tab (import) there is a clear issue seeing that the label that has its property set to false is now clearly visible
if is on form used second stylenamager, fisrt is ignored and on all objects are set metrostylemanager2 instead metrostylemanager1
MetroSetRadioButton have first animation on change state very slow, and all others changes are without animation.
MetroSetSwitch doesn't respond to custom theme(s) properties.
I don't know if I'm just retarded. But whenever I try use SelectedIndexChanged it always returns null.
I would like to use this MetroSet-UI in my software but I feel a bit scared if this one is over :(
textbox write text, not working text changed event
HOPE YOU FINE DEAR,
PLEASE HELP ME WITH MY ISSUE\
I AM USING THE LAST METROSET-UI CONTROLS BUT WHEN I TRY TO USE METROSETTABCONTROL
AND CHANG ANY PROPERTY IN THE DESIGNER I FACE AN ISSUES SPECIALLY WHEN I TRY TO CHANGE THE STYLE
OR THE TABSTYLE
PROPERTY,
NO PROBLEM WHILE BUILDING
THE PROJECT
NOT USING STYLEMANAGER
THE ISSUE APEARS IN THE RUNTIME
THE ERROR MESSAGE IS:
System.InvalidOperationException
HResult=0x80131509
Message=An error occurred creating the form. See Exception.InnerException for details. The error is: at MetroSet_UI.Controls.MetroSetTabControl.InvalidateTabPage(Color c)
at MetroSet_UI.Controls.MetroSetTabControl.UpdateProperties()
Source=Crowe_Loans_Analyses
StackTrace:
at Crowe_Loans_Analyses.My.MyProject.MyForms.Create__Instance__[T](T Instance) in :line 190
at Crowe_Loans_Analyses.My.MyProject.MyForms.get_Frm_Main_Dashboard()
at Crowe_Loans_Analyses.My.MyApplication.OnCreateMainForm() in D:\Application projects\OTHERS\Crowe_Loans_Analyses_03_04_001\Crowe_Loans_Analyses\My Project\Application.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at Crowe_Loans_Analyses.My.MyApplication.Main(String[] Args) in :line 81
Inner Exception 1:
Exception: at MetroSet_UI.Controls.MetroSetTabControl.InvalidateTabPage(Color c)
at MetroSet_UI.Controls.MetroSetTabControl.UpdateProperties()
THANKS IN ADVANCE
I see someone else posted this. But I am running this from the source example, and re-enabling a button from code does not update the buttons view until you hover over it. This is a huge issue for me. May be worth looking into again.
I'm using visual studio 2019.
UPDATE: I was able to fix this issue by editing the default button control for the Enabled state and adding this:
if (value == false)
{
_state = MouseMode.Disabled;
} else
{
_state = MouseMode.Normal;
}
Before compilation of my Application its give error.
System.IO.FileNotFoundException was unhandled
Message: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.VisualStudio.HostingProcess.Utilities.dll
Additional information: Could not load file or assembly 'MetroSet UI, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
this line in the designer.cs
this.tabInfo.Style = MetroSet_UI.Enums.Style.Light;
Throws this exception at runtime when showing the form.
System.InvalidCastException: 'Unable to cast object of type 'System.Windows.Forms.TabPage' to type 'MetroSet_UI.Child.MetroSetSetTabPage'.'
Can't seem to work around it. .NET 5 Winforms
Hi;
Where can I find the DialogResult property for the MetroSetButton?
MetroSetCheckBox - have very slow first state change animation, and then all others changes are without animation
I cannt get selectedvalue(((( Is there any way to avoid the problem
If u set in designer font to this control, after compile are control with seoge 8px font instead selected. ( i think, it is after last update of framework here on github)
i set font size of tabpage header more bigger but width not resize width to right base tabpage content. my custom code in form_load
tabControl.Font = new Font("Times New Roman", 20, FontStyle.Bold);
tabControl.SizeMode = TabSizeMode.FillToRight;
tabControl.DrawMode = TabDrawMode.OwnerDrawFixed;
tabControl.ItemSize = new Size(tabCauHoi.Width / tabCauHoi.TabCount, 70);
Olá, o framework ajusta todos componentes nele inseridos para forecolor gray, mesmo depois de alterar para Black, retorna para Gray
MetroSetCheckBox checksign color doesn't respond to custom theme properties.
Hi,
Can you share the other themes you show in gif?
MetroSetTabControl - Tabpages headers not respond to text / font change
if i set realtime other font size or other text on tabpage, width of tabpage in MetroSetTabControl not change. is here any way how to resize it realtime ?
I have not been able to set the AcceptButton
property of a MetroSetForm
to a MetroSetButton
, because the latter doesn't implement IButtonControl
. And adding a system.windows.forms.Button
control to a MetroSetForm
doesn't seem to be an option. Please, help!
MetroSetComboBox react only to first letter if typing (searching)
if i have filled combobox with many strings, i want to search in it via typing first 2-3 leters of string...
Aleš
Petr
Karel
i want type "A" + "L" + "E" .. but control jump to A, then to L, then to E .. not combination of there letters
In the form preview i can see the animation of sliding the tabControl's tabs, but when i execute the app i can't see the animation
The properties i made for the TabControl:
AnimateEastingType => SineIn
AnimateTime => 200
UseAnimation => true
I cant add image to tabcontrol.
Hi,
thanks for the great theme! I am trying to get it working but when I add the inherits to the form I get an error?
Severity Code Description Project File Line Suppression State
Error BC30928 Base class 'MetroSetForm' specified for class 'Form1' cannot be different from the base class 'Form' of one of its other partial types. SBSChargesWebservices \Form1.vb 7 Active
Anybody know how the tabs can be positioned on the side or bottom?
When I click to encrease the value from 0 to 1 it goes from 0 to 9 or if the value is in 2 it encreases to 11.
in other words, the value encreases 9 times per click instead of 1 per click.
This happens only if you click with the left side of the mouse but if you click with the right side of the mouse it works fine.
I want to thank you for such a amazing job with this project!...
I am learning how to use it because I will set this project in my software for production in retail as soon as I learn how to use it.
I set the textbox backcolor to green and it stays gray when i run my application, the derivedstyle is false.
this is how i set my textbox:
this.TxtAantalMedewerkers.AutoCompleteCustomSource = null;
this.TxtAantalMedewerkers.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
this.TxtAantalMedewerkers.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
this.TxtAantalMedewerkers.BorderColor = System.Drawing.SystemColors.ControlDark;
this.TxtAantalMedewerkers.DisabledBackColor = System.Drawing.Color.White;
this.TxtAantalMedewerkers.DisabledBorderColor = System.Drawing.Color.White;
this.TxtAantalMedewerkers.DisabledForeColor = System.Drawing.Color.White;
this.TxtAantalMedewerkers.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.TxtAantalMedewerkers.HoverColor = System.Drawing.Color.Transparent;
this.TxtAantalMedewerkers.Image = null;
this.TxtAantalMedewerkers.IsDerivedStyle = false;
this.TxtAantalMedewerkers.Lines = null;
this.TxtAantalMedewerkers.Location = new System.Drawing.Point(169, 188);
this.TxtAantalMedewerkers.MaxLength = 32767;
this.TxtAantalMedewerkers.Multiline = false;
this.TxtAantalMedewerkers.Name = "TxtAantalMedewerkers";
this.TxtAantalMedewerkers.ReadOnly = false;
this.TxtAantalMedewerkers.Size = new System.Drawing.Size(208, 25);
this.TxtAantalMedewerkers.Style = MetroSet_UI.Enums.Style.Light;
this.TxtAantalMedewerkers.StyleManager = null;
this.TxtAantalMedewerkers.TabIndex = 5;
this.TxtAantalMedewerkers.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.TxtAantalMedewerkers.ThemeAuthor = "Narwin";
this.TxtAantalMedewerkers.ThemeName = "MetroLite";
this.TxtAantalMedewerkers.UseSystemPasswordChar = false;
this.TxtAantalMedewerkers.WatermarkText = "";
on MetroSetDevider is not working vertical layout.
in editor you see it, if compile project, devider look like horizontal
I noticed 2 issues with the colors
Thanks for this wonderful framework, hoping for some assistance soon!
the control box size is incorrect in high dpi
Not really an issue, but not sure where else to go. In the demo, there are more then 2 themes. How can we get those? I know you can edit the theme.xml file, but thats... nuts... is there any premade ones we can use?
Thanks
if u change on button .enabled to true or false, button do not change own visual style to enabled / disabled design.
.refresh do not help.
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.