dennismagno / metroframework-modern-ui

My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.
http://dennismagno.github.io/metroframework-modern-ui
Other
861 stars 1.08k forks source link

Add 'Pinnable' property to MetroForm #2

Open GunArm opened 8 years ago

GunArm commented 8 years ago

Creates a new browsable property on MetroForm called Pinnable. When set to true, adds an new WindowButton with a pin icon, which gives the user the ability to toggle form.TopMost

aleksamagicka commented 8 years ago

+1

yagontorma commented 8 years ago

+1

empitegayan commented 7 years ago

+1

Spegeli commented 7 years ago

Works good, i got only 1 problem:

When i open a new form from the pinned form via:

            WishlistImporter wi = new WishlistImporter();
            wi.ShowDialog();

the new form is hidden and not clickable. And the pinned form is not clickable anymore because normaly the new form is "OnTop".

Any solution for this issue?

//Edit: Ok seems i solved the issue. When i use:

            WishlistImporter wishlister = new WishlistImporter();
            if (TopMost)
                wishlister.TopMost = true;
            wishlister.Show();

the child form is no longer hidden ;-)

gayancc commented 6 years ago

+1