Click here to Skip to main content
11,704,001 members (66,631 online)
Click here to Skip to main content
Add your own
alternative version

GoalBook - A Hybrid Smart Client

, 25 Sep 2009 CPOL 43.6K 733 69
A WPF hybrid smart client that synchronises your goals with the Toodledo online To-do service.
GoalBook.zip
GoalBook
Dependencies
CAG WPF 2
Microsoft.Practices.Composite.dll
Microsoft.Practices.Composite.Presentation.dll
Microsoft.Practices.Composite.UnityExtensions.dll
Microsoft.Practices.ObjectBuilder2.dll
Microsoft.Practices.ServiceLocation.dll
Microsoft.Practices.Unity.dll
vssver2.scc
CSLA
Csla.dll
Csla.XmlSerializers.dll
vssver2.scc
Infragistics
Infragistics3.Wpf.DataPresenter.v9.1.Express.dll
Infragistics3.Wpf.Editors.v9.1.Express.dll
Infragistics3.Wpf.v9.1.Express.dll
vssver2.scc
WPFToolkit
vssver2.scc
WPFToolkit.dll
GoalBook.Controls
CheckedList
vssver2.scc
Properties
vssver2.scc
vssver2.scc
GoalBook.Goals
GoalBook.Goals.csproj.user
Properties
vssver2.scc
Views
vssver2.scc
vssver2.scc
GoalBook.Infrastructure
Comparers
vssver2.scc
Constants
vssver2.scc
Controls
Converters
vssver2.scc
Enums
vssver2.scc
Events
vssver2.scc
GoalBook.Infrastructure.csproj.user
Helpers
vssver2.scc
Interfaces
vssver2.scc
ObjectModel
vssver2.scc
Printing
vssver2.scc
Properties
vssver2.scc
vssver2.scc
GoalBook.Notes
GoalBook.Notes.csproj.user
Properties
vssver2.scc
Resources
arrow_redo.png
arrow_undo.png
cut.png
page_copy.png
paste_plain.png
text_bold.png
text_indent.png
text_indent_remove.png
text_italic.png
text_list_bullets.png
text_list_numbers.png
vssver2.scc
world_link.png
Views
vssver2.scc
vssver2.scc
GoalBook.Public
Encryption
vssver2.scc
HtmlConverter
vssver2.scc
HtmlParser
vssver2.scc
Misc
vssver2.scc
Properties
vssver2.scc
vssver2.scc
GoalBook.Shell
App.ico
Commands
vssver2.scc
GoalBook.Shell.csproj.user
Journal.ico
Journal48.ico
Misc
vssver2.scc
Modules
vssver2.scc
Properties
licenses.licx
vssver2.scc
Resources
arrow_refresh.png
arrow_undo.png
checked.gif
cross.png
disk.png
email.png
erase.png
error.png
exclamation.png
flag_red.png
group.png
help.png
information.png
magnifier.png
page_red.png
pencil.png
printer.png
user.png
vssver2.scc
Wave.jpg
world.png
world_link.png
Services
vssver2.scc
Splash.png
Views
vssver2.scc
vssver2.scc
Windows
vssver2.scc
GoalBook.snk
GoalBook.Synchronisation
Events
vssver2.scc
Properties
vssver2.scc
ToodleDo
vssver2.scc
vssver2.scc
GoalBook.Tasks
Controls
vssver2.scc
Properties
vssver2.scc
Views
vssver2.scc
vssver2.scc
vssver2.scc
//===============================================================================
// Goal Book.
// Copyright © 2009 Mark Brownsword. 
//===============================================================================

#region Using Statements
#endregion

namespace GoalBook.Infrastructure.Constants
{
    public class DateComparisonConstants
    {
        public static readonly string NO_DATE_SPECIFIED = Properties.Resources.NullDateString;
    }

    public class SynchronisationConstants
    {
        public const string SYNC_DATE_FORMAT = "s";
    }

    public class MenuConstants
    {
        public const string APP_IMAGE_URI = @"pack://application:,,,/App.ico";
        public const string JOURNAL_48_IMAGE_URI = @"pack://application:,,,/Journal48.ico";
        public const string MENU_PRINT_IMAGE_URI = @"pack://application:,,,/Resources/printer.png";                
        public const string MENU_NEW_GOAL_IMAGE_URI = @"pack://application:,,,/Resources/flag_red.png";
        public const string MENU_NEW_NOTE_IMAGE_URI = @"pack://application:,,,/Resources/page_red.png";
        public const string MENU_NEW_TASK_IMAGE_URI = @"pack://application:,,,/Resources/checked.gif";        
        public const string MENU_SAVE_IMAGE_URI = @"pack://application:,,,/Resources/disk.png";
        public const string MENU_UNDO_IMAGE_URI = @"pack://application:,,,/Resources/arrow_undo.png";
        public const string MENU_DELETE_IMAGE_URI = @"pack://application:,,,/Resources/cross.png";
        public const string MENU_ACCOUNT_IMAGE_URI = @"pack://application:,,,/Resources/user.png";
        public const string MENU_ACCOUNT_CHANGE_IMAGE_URI = @"pack://application:,,,/Resources/group.png";
        public const string MENU_SYNCHRONISE_IMAGE_URI = @"pack://application:,,,/Resources/arrow_refresh.png";
        public const string MENU_INTERNET_IMAGE_URI = @"pack://application:,,,/Resources/world.png";
        public const string MENU_INTERNET_LINK_IMAGE_URI = @"pack://application:,,,/Resources/world_link.png";
        public const string MENU_HELP_IMAGE_URI = @"pack://application:,,,/Resources/help.png";
        public const string MENU_FEEDBACK_IMAGE_URI = @"pack://application:,,,/Resources/email.png";
        public const string MESSAGE_EXCLAMATION_IMAGE_URI = @"pack://application:,,,/Resources/exclamation.png";
        public const string MESSAGE_ERROR_IMAGE_URI = @"pack://application:,,,/Resources/error.png";
        public const string MESSAGE_INFORMATION_IMAGE_URI = @"pack://application:,,,/Resources/information.png";
        public const string MENU_SEARCH_IMAGE_URI = @"pack://application:,,,/Resources/magnifier.png";
    }

    public class GoalSerializationContants
    {
        public const string SERIALIZATION_GOAL = "Goal";
        public const string SERIALIZATION_GOALID = "GoalID";
        public const string SERIALIZATION_LEVELID = "LevelID";
        public const string SERIALIZATION_CONTRIBUTESID = "ContributesID";
        public const string SERIALIZATION_ARCHIVED = "Archived";
        public const string SERIALIZATION_TITLE = "Title";
        public const string SERIALIZATION_EXTERNALIDENTIFIER = "ExternalIdentifier";
        public const string SERIALIZATION_LASTMODIFIED = "LastModified";
        public const string SERIALIZATION_SYNCREQUIRED = "SyncRequired";
    }

    public class NoteSerializationContants
    {
        public const string SERIALIZATION_NOTE = "Note";
        public const string SERIALIZATION_NOTEID = "NoteID";
        public const string SERIALIZATION_TITLE = "Title";
        public const string SERIALIZATION_TEXT = "Text";
        public const string SERIALIZATION_FOLDERID = "FolderID";        
        public const string SERIALIZATION_ADDED = "Added";
        public const string SERIALIZATION_MODIFIED = "Modified";
        public const string SERIALIZATION_ISPRIVATE = "IsPrivate";
        public const string SERIALIZATION_EXTERNALIDENTIFIER = "ExternalIdentifier";
        public const string SERIALIZATION_SYNCREQUIRED = "SyncRequired";
    }

    public class TaskSerializationConstants
    {
        public const string SERIALIZATION_TASK = "Task";
        public const string SERIALIZATION_TASKID = "TaskID";
        public const string SERIALIZATION_PARENTTASK  = "ParentTask";
        public const string SERIALIZATION_CHILDREN  = "Children";
        public const string SERIALIZATION_TITLE = "Title";
        public const string SERIALIZATION_TAG  = "Tag";            
        public const string SERIALIZATION_FOLDERID = "FolderID";        
        public const string SERIALIZATION_CONTEXTID  = "ContextID";
        public const string SERIALIZATION_GOALID = "GoalID";
        public const string SERIALIZATION_ADDED = "Added";
        public const string SERIALIZATION_MODIFIED = "Modified";
        public const string SERIALIZATION_START  = "Start";
        public const string SERIALIZATION_DUE = "Due";
        public const string SERIALIZATION_DUEMODIFIER = "DueModifier";
        public const string SERIALIZATION_DUETIME = "DueTime";
        public const string SERIALIZATION_STARTTIME = "StartTime";
        public const string SERIALIZATION_COMPLETED = "Completed";
        public const string SERIALIZATION_REPEAT = "Repeat";
        public const string SERIALIZATION_REPEATADVANCED = "RepeatAdvanced";
        public const string SERIALIZATION_STATUS = "Status";
        public const string SERIALIZATION_STAR = "Star";
        public const string SERIALIZATION_PRIORITY = "Priority";
        public const string SERIALIZATION_LENGTH = "Length";
        public const string SERIALIZATION_TIMER = "Timer";
        public const string SERIALIZATION_NOTE = "Note";
        public const string SERIALIZATION_EXTERNALIDENTIFIER = "ExternalIdentifier";
        public const string SERIALIZATION_SYNCREQUIRED = "SyncRequired";
    }

    public class FolderSerializationContants
    {
        public const string SERIALIZATION_FOLDER = "Folder";
        public const string SERIALIZATION_FOLDERID = "FolderID";
        public const string SERIALIZATION_ISPRIVATE = "IsPrivate";
        public const string SERIALIZATION_ARCHIVED = "Archived";        
        public const string SERIALIZATION_ORDER = "Order";        
        public const string SERIALIZATION_TITLE = "Title";
        public const string SERIALIZATION_EXTERNALIDENTIFIER = "ExternalIdentifier";
        public const string SERIALIZATION_SYNCREQUIRED = "SyncRequired";
    }

    public class PrintConstants
    {
        public const string FONT_FAMILY_ARIAL = "Arial";
    }
}

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

Mark Brownsword
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.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 25 Sep 2009
Article Copyright 2009 by Mark Brownsword
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid