Git Product home page Git Product logo

metroframework's People

Contributors

eklam avatar peters avatar rcarrico avatar swalter88 avatar thielj avatar

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

metroframework's Issues

All breaks when Using UserControls

Adding a simple usercontrol to the demo Sample causes all kind of errors and the app does not compile any more. take a look at the screen capture.
metroframework

Only main form has correct display

Hello,

I ran into an issue while using the MetroFramework onto an already existing project.
(awesome work btw)
Only my main form has the correct metro look, all the children forms called from the main one has the metro style, but still keep the windows borders around, even with BorderStyle sets to None (see screenshot below).

image

Is this a know issue or something I'm missing ?
Thanks

TopMost issue

If you set TopMost in a MetroForm, you have to click on it twice to be able to click on a control in it (i.e. MetroTile)

Metro progress bars (styling)

Hello,

I'm trying to style my progress bars, i have tried both of the following:

Suggestion 1 (automatically created by VB)

With MetroProgressBar1
.Style = CType(ProgressBarStyle.Blocks, MetroFramework.MetroColorStyle)
.Visible = True
.Value = CInt(e.CurrentFileCopyProgress)
.Refresh()
End With

Suggestion 2 (how i imagine it should be)

With MetroProgressBar1
.Style = MetroFramework.MetroColorStyle.Red
.MetroProgressBarStyle = MetroProgressBarStyle.Blocks
.Visible = True
.Value = CInt(e.CurrentFileCopyProgress)
.Refresh()
End With

But when ever i use option 2, the program breaks and it reverts back to Suggestion 1's code.

Here is my original code which works flawlessly but with a normal ProgressBar not Metro Themed.

With ProgressBar1
.Style = ProgressBarStyle.Blocks
.Visible = True
.Value = CInt(e.CurrentFileCopyProgress)
.Refresh()
End With

Any help?

Form BackgroundImage and Transparent element on top of that

Hi im trying to but a background image to my main form. Me.BackgroundImage = the image..
But it's not showing, is this not possible? I dont want to put a PictureBox and make it like a background because then i need to messa around with parenting for all the other element that will go on top and have transparency.

Problem With MDI Container

Hello,
Thanks in Advance

I am facing one problem as i listed below .Please suggest me solution.

When I write Code Like below then child form doesn't open
FrmTest.MdiParent = Me
FrmTest.Show()

But child opens
if i removes mdiParent Property from Code then it's working properly.

XMLHelper project missing

Currently the MetroFramework solution file refers to the XMLHelper project which isn't checked in to source control.

Question About The MetroTabControl

Hi,

If i dock something in a metrotabpage, lets say a regular listview, some small gray stripes and black (clickable) blocks appear in the upper left corner of the tabpage as some kind of overlay.

When clicking on one of the blocks this "overlay" disappears again.

Am i just missing something out? I Could attach a Image if you want to.

Thanks!

MetroContextMenu now being created in InitializeComponent()

Visual Studio says all of my MetroContextMenu's have not been created, and as a result does not let me view the designer. When you try to manually create one as so, the constructor for the MetroContextMenu has a parameter "Container" and I do not know what to set for this. Instead I simply converted all of the context menus to regular Windows Forms controls.

Framework 4 Client Profile

Not work with framework 4!!!!

Error:

Notice 1 the current target framework. "NETFramework, Version = v4.0, Profile = Client" does not include "System.Design, Version = 4.0.0.0, Culture = neutral

Issues with form shadow when restoring windows

You wrote "Fixed issues with maximizing and restoring windows". Nevertheless I get serious problems when restoring windows from maximized state to normal state.

Windowstate.Normal -> Form moving -> shadow fine
Windowstate.Normal -> Form resizing -> shadow fine
Windowstate.Normal -> Windowstate.Minimized -> Windowstate.Normal -> shadow fine
Windowstate.Normal -> Windowstate.Maximized -> Windowstate.Normal (restoring) -> no shadow / shadow is gone

Neither moving the form nor resizing brings the shadow back. Only minimizing and restoring the form brings the shadow back.

I compiled the latest sources and using Windows 7 Professional.

Greetings,
Raffi

Buttons in ControlBox are displayed incorrectly

Hi all,
I installed your package from Packet Manager. Everything works fine except that controlbox buttons are displayed incorreclty:
as
How to fix this?
I tried pure winforms-modernui - same bugs.
(VS Express 2012, Win8, .NET 4.5)

Missing MetroRadioButtonDesigner.cs in MetroFrameWork.Design

Error 1 Source file 'MetroRadioButtonDesigner.cs' could not be found \MetroFramework-master\MetroFramework.Design\CSC MetroFramework.Design

can not compile design control, thus can not run demo.

Important Can not see it in the repo either.

MouseEvents?

Ok i'm trying to setup when a textbox is clicked into the box clears,

I can do this with standard textboxs using the following:

Private Sub TextBox2_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)
    TextBox2.Text = ""
End Sub

How would i change it so can do it with a "Metro" textbox?

Tried the following:

Private Sub MetroTextBox2_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)
    MetroTextBox2.Text = ""
End Sub

But nothing happens. Any help?

Style & Theme Don't Change

Hi
I thank you for the source code of the program
But the style and theme of the source code that was due to the lack of coordination in NUGet DLL does not work here.
It also controls the default font font "Open-sans" does not change.

A valid active Window is needed to update the Taskbar

A valid active Window is needed to update the Taskbar

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: A valid active Window is needed to update the Taskbar
at Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager.get_OwnerHandle()
at Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager.SetProgressState(TaskbarProgressBarState state)

Windows API Codeck: http://archive.msdn.microsoft.com/WindowsAPICodePack/Release/ProjectReleases.aspx?ReleaseId=4906

MetroCheckboxes in Griid

I assigned a list (List<Requests>) as DataSource to grid. The Request class contain a Boolean value so that I get checkboxes in that column. The grid is showing normal windows application style checkboxes not MetroCheckboxes. Is there any workaround to get Metro Style checkboxes there?

ControlBox Buttons of MetroForm

The controls(Minimize,Maximize and Close buttons) of MetroForm don't get changed even if I change the Theme to Dark from Default. Could you please fix this issue? Although your screenshots shows correct theme for the controls.

Combobox backColor

Sometimes the combobox appears with all the items painted by the background of the selected item, it's like are all items were selected but only in the visual part. Any solutions?

How it should be(and sometimes is):
image

How it shows:
image

Better documentation for Custom Themes

I'm trying to create a custom theme, I copied it from Light, and changed some values. I put my themes.xml in main project folder AND solution folder, but I still don't know how to use it (in design or in run-time).

MetroTextBox Focus

Calling Focus() on the control does not focus the internal textbox. The only way currently to focus the textbox is to click on it. I have managed to get by this issue by adding the following into the textbox class:
public new bool Focus()
{
return baseTextBox.Focus();
}

Metro Button Style and Fonts

First of all great work.

Second, i noticed that the button control doesn't change style when i choose it from the properties and i cant find a way to change the font size

Thank you in advance.

Form's border Color & other controls color is not changing when switch style & theme

i am working with metroStyleManager and StyleExtender and set all the property and hook my form name too but the problem is that when clicking on switch style & theme button then form's & other control's style & theme is not changing respectively.

can you guide me where to see if i am making any mistake. i must say that there is no good documentation for this framework for proper use. thanks

Open Sans does not support style 'Regular' Under Windows XP

I have some labels that I've styled as regular, it works fine on Windows 7 and Windows 8 but under XP, it seems to trip this error.
I've tried taking the fonts from the MetroFramework.Fonts here and installing them but that doesn't seem to fix it either.
Probably a font windows XP is missing still though, any suggestions? Or is this a legitimate bug?

FormBorderStyle isn't respected when entering a form

This is easily replicated by creating a simple MetroForm. Run said form and click out of it to lose focus, click back in it and a form (in my case, the default Windows one) will surround the inner edge of the form.

This was reproduced many times using Windows 8.1 RTM

Documentation Error

Not a big issue, but according to your installation documentation, you are to change the base class to MetroFramework.Forms.Form, however there is no Form in MetworkFramework.Forms. It needs to be MetroFramework.Forms.MetroForm.

How do i implement this?

OK, simple and stupid question i know.

I have the package installed on my project, i have all the options in my toolbox.

What i want to know is how to i change the existing form from standard to metro style?

I'm using VB 2013 Express.

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.