Click here to Skip to main content
15,884,298 members
Articles / Desktop Programming / WPF

GoalBook - A Hybrid Smart Client

Rate me:
Please Sign up or sign in to vote.
4.86/5 (24 votes)
25 Sep 2009CPOL10 min read 79K   834   69  
A WPF hybrid smart client that synchronises your goals with the Toodledo online To-do service.
// <copyright file="GlobalCommandsProxy.cs" company="GoalBook"> 
//    Copyright © 2009 Mark Brownsword. All rights reserved.
//    This source code and supporting files are licensed under The Code Project  
//    Open License (CPOL) as detailed at http://www.codeproject.com/info/cpol10.aspx. 
// </copyright>
namespace GoalBook.Shell.Commands
{
    #region Using Statements
    using GoalBook.Shell.Misc;
    using Microsoft.Practices.Composite.Presentation.Commands;
    #endregion

    /// <summary>
    /// Used by Module Views to register Composite Commands.
    /// </summary>
    public class GlobalCommandsProxy : IGlobalCommandsProxy
    {
        /// <summary>
        /// Gets reference for Proxy PrintCommand.
        /// </summary>
        public virtual CompositeCommand PrintCommand
        {
            get { return GlobalCommands.PrintCommand; }
        }

        /// <summary>
        /// Gets reference for Proxy UndoCommand. 
        /// </summary>
        public virtual CompositeCommand UndoCommand
        {
            get { return GlobalCommands.UndoCommand; }
        }

        /// <summary>
        /// Gets reference for Proxy DeleteCommand.
        /// </summary>
        public virtual CompositeCommand DeleteCommand
        {
            get { return GlobalCommands.DeleteCommand; }
        }

        /// <summary>
        /// Gets reference for Proxy SearchCommand.
        /// </summary>
        public virtual CompositeCommand SearchCommand
        {
            get { return GlobalCommands.SearchCommand; }
        }

        /// <summary>
        /// Gets reference for Proxy ClearCommand.
        /// </summary>
        public virtual CompositeCommand ClearCommand
        {
            get { return GlobalCommands.ClearCommand; }
        }
    }
}

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 (Senior)
Australia Australia
I've been working as a software developer since 2000 and hold a Bachelor of Business degree from The Open Polytechnic of New Zealand. Computers are for people and I aim to build applications for people that they would want to use.

Comments and Discussions