Giter Site home page Giter Site logo

n-a-r-w-i-n / metroset-ui Goto Github PK

View Code? Open in Web Editor NEW
317.0 20.0 80.0 7.21 MB

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

C# 100.00%
metro-style metro metro-ui metronic metroui metroset metrosetui ui ui-components ui-design

metroset-ui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metroset-ui's Issues

Disable "fade in" when a Form appears

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

animate lag

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...

MetroSet_UI Not Working

Hi!,

First thank for this awesome project as per screenshot. Since not able to execute on my VS 2017 coz it is giving object reference not set to an object.

request you to please help me out.

thanks,
capture

MetroSet_UI.Controls.MetroSetTabControl has thrown an unhandled exception in the designer

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...

MetroTabControl Ignoring Invisible Elements

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)
error1

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
erro2

Is this project dead?

I would like to use this MetroSet-UI in my software but I feel a bit scared if this one is over :(

METROTABCONTROL ISSUE

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()

2020-04-03 (2)
2020-04-03 (3)
2020-04-03 (4)

THANKS IN ADVANCE

Disable and re-enable not changing style until hover.

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;
}

MetroSet-UI Not working after Successfully Compiled

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.

InvalidCastException in designer.cs when setting MetroSetTabPage.Style

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

metroSetListBox

I cannt get selectedvalue(((( Is there any way to avoid the problem

how to make tabpage fill to right

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);

ForeColor is gray

Olá, o framework ajusta todos componentes nele inseridos para forecolor gray, mesmo depois de alterar para Black, retorna para Gray

How to set the AcceptButton property of the MetroSetForm?

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)

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

metroSetTabControl Slide Animation

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


Public Class Form1 : Inherits MetroSetForm error

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

MetroSetNumeric Increase or decrease numbers to fast

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.

Can't change the backcolor of Textbox

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 = "";

Elements colors remain the same

I noticed 2 issues with the colors

  1. Changing the color of any element doesn't matter if it's main or not will take a while, you must click on the other tab and click back in order to see the changes
  2. After I completed the project and saved it, upon starting it again the colors were changed to the default ones, this was quite frustrating

Thanks for this wonderful framework, hoping for some assistance soon!

Theme.xml

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.