Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Pinnable' property to MetroForm #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

GunArm
Copy link

@GunArm GunArm commented Sep 14, 2015

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

+1

2 similar comments
@yagontorma
Copy link

+1

@empitegayan
Copy link

+1

@Spegeli
Copy link

Spegeli commented Apr 2, 2017

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

gayancc commented Mar 2, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants