Click here to Skip to main content
6,926,479 members and growing! (23,132 online)
Email Password   helpLost your password?
Platforms, Frameworks & Libraries » Windows Presentation Foundation » Applications     Beginner License: The GNU Lesser General Public License

WPF Application Launchpad

By Ronald Schlenker

An easy way to launch your most common applications with one click
C# (C#1.0, C#2.0, C#3.0), .NET (.NET3.0), XAML, WPF, Dev, Design
Revision:5 (See All)
Posted:1 Jun 2009
Updated:1 Jun 2009
Views:10,501
Bookmarked:44 times
printPrint Friendly   add Share
      Discuss Discuss   Broken Article?Report  
9 votes for this article.
Popularity: 4.23 Rating: 4.43 out of 5

1

2
1 vote, 11.1%
3
3 votes, 33.3%
4
5 votes, 55.6%
5
Rocket02.png

Introduction

Yet another tool that helps you to launch your favorite applications. I also like Launchy or the RocketDock, but I wanted to have something simple where I can access my most used apps with one click.

You can access the application by clicking the icon in the notification area of the task bar.

Using the Code

The app itself is really simple. I use a small domain model consisting of two classes: One class to represent the categories (like Office, Development, etc.) and another which is composed inside the categories and represent the shortcuts. All this is accessible by a context object which uses a change tracking and persistence framework and XML files as backend.

The synchronization between model and UI is completely done by databinding: There are two nested items controls: One for the category and the nested one for the shortcuts. The logical representation of the application state and the functionalities are aggregated in the MainViewModel.

A "goodie" is that each link is surrounded by a color which is the average of the icon color (implemented in the AmbilightConverter).

Points of Interest

I learned something interesting about usability which I never realized before: I mentioned that if you want to access the app, you have to click the notify icon - which is quite small, at least smaller than the start button of the start menu. You have to "concentrate" a lot if you want to hit the icon - it's MUCH harder than hitting the start button. Even if the start button is bigger, it's not _so_ much bigger than a notify icon - WRONG! Then I realized that the start button is indefinitely big, because it goes beyond the corners of your screen, so you just have to push your mouse in the corner of your screen - and you will hit it automatically! So if you have an item which is very important and must be very easily accessible, think about placing it in one of your corners!

Open Issues

There is no way of extending the application externally. Right now, we can just run shortcuts. It could be nice having a mechanism that enabled you to implement a different behavior for the shortcuts, e.g. opening another menu, etc.

Maybe it would be nice replacing the start menu with this, which I did not do yet. Or implementing a hot key mechanism.

Extracting the Filesystem Icons

For this task, I used a nice implementation from vbAccelerator which saved me a lot of work. The licence can be found here.

Have fun!

History

  • 1st June, 2009: Initial post

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License

About the Author

Ronald Schlenker


Member

Company: TechNewLogic
Location: Germany Germany

Other popular Windows Presentation Foundation articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 9 of 9 (Total in Forum: 9) (Refresh)FirstPrevNext
GeneralMissing resource Pinmembersinun21:17 10 Sep '09  
GeneralRe: Missing resource [modified] PinmemberRonald Schlenker0:45 14 Sep '09  
GeneralVery nice but appears not to save/load settings??? PinmemberMike Tuersley4:57 10 Jun '09  
GeneralRe: Very nice but appears not to save/load settings??? PinmemberRonald Schlenker22:35 10 Jun '09  
GeneralRe: Very nice but appears not to save/load settings??? PinmemberMike Tuersley6:44 11 Jun '09  
GeneralI do not know how to use it PinmemberSeraph_summer11:26 1 Jun '09  
GeneralRe: I do not know how to use it PinmemberRonald Schlenker12:00 1 Jun '09  
Hi,

here is a brief instruction:

1) If you switch on the "Pin" button (in the middle of the bar), the application window will not minimize automatically.
2) Add a category (e.g. "Office") by entering the category name in the textbox and click the "Add Container" button.
3) Now, open the start menu or use the explorer to drag and drop the shortcuts into the desired category.
4) Switch off the "Pin" button so that the window automatically disappears when an application is started or the focus has gone to another application.

You can also re-order the shortcuts in a category by holding down the mouse at their top corner and moving them to the left or right, and you can edit the description of categories or shortcuts, delete shortcusts and categories or re-order categories.

Regards

Ronald
GeneralCompiled version PinmemberiSHR!6:27 1 Jun '09  
GeneralRe: Compiled version PinmemberRonald Schlenker7:43 1 Jun '09  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+PgUp/PgDown to switch pages.

PermaLink | Privacy | Terms of Use
Last Updated: 1 Jun 2009
Editor: Deeksha Shenoy
Copyright 2009 by Ronald Schlenker
Everything else Copyright © CodeProject, 1999-2010
Web17 | Advertise on the Code Project