Click here to Skip to main content
15,884,537 members
Articles / Programming Languages / C#

Window Tray Minimizer

Rate me:
Please Sign up or sign in to vote.
4.91/5 (60 votes)
26 Oct 2007CPOL6 min read 178.6K   4.1K   203  
An article showing how to minimize any Window to the system tray
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="Tray_minimizer.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <userSettings>
        <Tray_minimizer.Properties.Settings>
            <setting name="ShowMod" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="Showkey" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="HideMod" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="Hidekey" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="IgnoreTitle" serializeAs="String">
                <value>True</value>
            </setting>
        </Tray_minimizer.Properties.Settings>
    </userSettings>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Georgia Georgia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions