Click here to Skip to main content
12,073,325 members (71,850 online)
Click here to Skip to main content
Articles » Languages » C# » How To » Downloads

Stats

59.8K views
3.2K downloads
114 bookmarked
Posted

Creating a Tasktray Application

, 23 Sep 2007 CPOL
How to create an application that consists primarily of a tasktray icon
TaskTrayApplication.zip
TaskTrayApplication
TaskTrayApplication
AppIcon.ico
bin
Release
Properties
Settings.settings
TaskTrayApplication.suo
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace TaskTrayApplication
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            // Instead of running a form, we run an ApplicationContext.
            Application.Run(new TaskTrayApplicationContext());
        }
    }
}

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)

Share

About the Author

[ICR]
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160208.1 | Last Updated 23 Sep 2007
Article Copyright 2007 by [ICR]
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid