Click here to Skip to main content
15,884,099 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.
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="CancelText" xml:space="preserve">
    <value>Cancel</value>
    <comment>Cancel</comment>
  </data>
  <data name="ConfirmCancelCaption" xml:space="preserve">
    <value>Confirm Cancel</value>
    <comment>Confirm Cancel</comment>
  </data>
  <data name="ConfirmCancelMessage" xml:space="preserve">
    <value>Changes have been made that will be lost if you cancel. Continue with cancel and lose changes?</value>
    <comment>Changes have been made that will be lost if you cancel. Continue with cancel and lose changes?</comment>
  </data>
  <data name="DefaultFolder" xml:space="preserve">
    <value>No Folder</value>
    <comment>No Folder</comment>
  </data>
  <data name="EmailText" xml:space="preserve">
    <value>Email</value>
    <comment>Email</comment>
  </data>
  <data name="EnableInternetProxyText" xml:space="preserve">
    <value>Enable manual HTTP proxy configuration</value>
    <comment>Enable manual HTTP proxy configuration</comment>
  </data>
  <data name="FeedbackMailAddressText" xml:space="preserve">
    <value>mailto:markbrownsword@hotmail.com?subject=Feedback on GoalBook</value>
    <comment>mailto:markbrownsword@hotmail.com?subject=Feedback on GoalBook</comment>
  </data>
  <data name="InternetHostText" xml:space="preserve">
    <value>Host</value>
    <comment>Host</comment>
  </data>
  <data name="InternetPortText" xml:space="preserve">
    <value>Port</value>
    <comment>Port</comment>
  </data>
  <data name="LevelLifetimeText" xml:space="preserve">
    <value>Lifetime</value>
    <comment>Lifetime</comment>
  </data>
  <data name="LevelLongtermText" xml:space="preserve">
    <value>Long term</value>
    <comment>Long term</comment>
  </data>
  <data name="LevelShorttermText" xml:space="preserve">
    <value>Short term</value>
    <comment>Short term</comment>
  </data>
  <data name="MenuAboutInputGestureText" xml:space="preserve">
    <value>F2</value>
    <comment>F2</comment>
  </data>
  <data name="MenuAboutText" xml:space="preserve">
    <value>About</value>
    <comment>About</comment>
  </data>
  <data name="MenuConfigureAccountText" xml:space="preserve">
    <value>Configure Account...</value>
    <comment>Configure Account...</comment>
  </data>
  <data name="MenuDeleteInputGestureText" xml:space="preserve">
    <value>Delete</value>
    <comment>Delete</comment>
  </data>
  <data name="MenuDeleteText" xml:space="preserve">
    <value>Delete</value>
    <comment>Delete</comment>
  </data>
  <data name="MenuEditText" xml:space="preserve">
    <value>Edit</value>
    <comment>Edit</comment>
  </data>
  <data name="MenuExitInputGestureText" xml:space="preserve">
    <value>Alt+F4</value>
    <comment>Alt+F4</comment>
  </data>
  <data name="MenuExitText" xml:space="preserve">
    <value>Exit</value>
    <comment>Exit</comment>
  </data>
  <data name="MenuFeedbackText" xml:space="preserve">
    <value>Send Feedback</value>
    <comment>Send Feedback</comment>
  </data>
  <data name="MenuGoText" xml:space="preserve">
    <value>Go</value>
    <comment>Go</comment>
  </data>
  <data name="MenuHelpText" xml:space="preserve">
    <value>Help</value>
    <comment>Help</comment>
  </data>
  <data name="MenuInternetText" xml:space="preserve">
    <value>Internet Connection...</value>
    <comment>Internet Connection...</comment>
  </data>
  <data name="MenuModuleText" xml:space="preserve">
    <value>Module</value>
    <comment>Module</comment>
  </data>
  <data name="MenuNewText" xml:space="preserve">
    <value>New</value>
    <comment>New</comment>
  </data>
  <data name="MenuPrintInputGestureText" xml:space="preserve">
    <value>Ctrl+P</value>
    <comment>Ctrl+P</comment>
  </data>
  <data name="MenuPrintText" xml:space="preserve">
    <value>Print...</value>
    <comment>Print...</comment>
  </data>
  <data name="MenuSaveInputGestureText" xml:space="preserve">
    <value>Ctrl+S</value>
    <comment>Ctrl+S</comment>
  </data>
  <data name="MenuSaveText" xml:space="preserve">
    <value>Save</value>
    <comment>Save</comment>
  </data>
  <data name="MenuSynchronisationInputGestureText" xml:space="preserve">
    <value>F5</value>
    <comment>F5</comment>
  </data>
  <data name="MenuSynchronisationText" xml:space="preserve">
    <value>Synchronise</value>
    <comment>Synchronise</comment>
  </data>
  <data name="MenuSyncInputGestureText" xml:space="preserve">
    <value>F9</value>
    <comment>F9</comment>
  </data>
  <data name="MenuToolsText" xml:space="preserve">
    <value>Tools</value>
    <comment>Tools</comment>
  </data>
  <data name="MenuUndoInputGestureText" xml:space="preserve">
    <value>Ctrl+Z</value>
    <comment>Ctrl+Z</comment>
  </data>
  <data name="MenuUndoText" xml:space="preserve">
    <value>Undo</value>
    <comment>Undo</comment>
  </data>
  <data name="NoText" xml:space="preserve">
    <value>No</value>
    <comment>No</comment>
  </data>
  <data name="OKText" xml:space="preserve">
    <value>OK</value>
    <comment>OK</comment>
  </data>
  <data name="PasswordText" xml:space="preserve">
    <value>Password</value>
    <comment>Password</comment>
  </data>
  <data name="PrintBeginMessage" xml:space="preserve">
    <value>Printing...</value>
    <comment>Printing...</comment>
  </data>
  <data name="PrintEndMessage" xml:space="preserve">
    <value>Printing completed.</value>
    <comment>Printing completed.</comment>
  </data>
  <data name="PrintExceptionMessage" xml:space="preserve">
    <value>Error Printing [{0}]</value>
    <comment>Error Printing [{0}]</comment>
  </data>
  <data name="SaveChangesCaption" xml:space="preserve">
    <value>Save Changes</value>
    <comment>Save Changes</comment>
  </data>
  <data name="SaveChangesMessage" xml:space="preserve">
    <value>Do you want to save changes before closing?</value>
    <comment>Do you want to save changes before closing?</comment>
  </data>
  <data name="SyncBeginMessage" xml:space="preserve">
    <value>Sync begin</value>
    <comment>Sync begin</comment>
  </data>
  <data name="SyncEndMessage" xml:space="preserve">
    <value>Sync end</value>
    <comment>Sync end</comment>
  </data>
  <data name="SyncErrorCaption" xml:space="preserve">
    <value>Synchronisation Error</value>
    <comment>Synchronisation Error</comment>
  </data>
  <data name="SyncImageToolTipText" xml:space="preserve">
    <value>Synchronisation Pending</value>
    <comment>Synchronisation Pending</comment>
  </data>
  <data name="SyncInvalidListMessage" xml:space="preserve">
    <value>Can't synchronise when list is invalid.</value>
    <comment>Can't synchronise when list is invalid.</comment>
  </data>
  <data name="UnhandledException" xml:space="preserve">
    <value>An unhandled exception occured</value>
    <comment>An unhandled exception occured</comment>
  </data>
  <data name="YesText" xml:space="preserve">
    <value>Yes</value>
    <comment>Yes</comment>
  </data>
  <data name="ClearAllDataCaption" xml:space="preserve">
    <value>Confirm clear all data</value>
    <comment>Confirm clear all data</comment>
  </data>
  <data name="ClearAllDataMessage" xml:space="preserve">
    <value>All data for the current user will be cleared. Ensure that data is synchronised before you proceed. </value>
    <comment>All data for the current user will be cleared. Ensure that data is synchronised before you proceed.</comment>
  </data>
  <data name="MenuAccountText" xml:space="preserve">
    <value>Toodledo Account</value>
    <comment>Toodledo Account</comment>
  </data>
  <data name="MenuClearDataText" xml:space="preserve">
    <value>Clear all data</value>
    <comment>Clear all data</comment>
  </data>
  <data name="ConfigureNewAccountInfoMessage" xml:space="preserve">
    <value>Enter your Toodledo account details to enable data entered in GoalBook to be synchronised with Toodledo.</value>
    <comment>Enter your Toodledo account details to enable data entered in GoalBook to be synchronised with Toodledo.</comment>
  </data>
  <data name="ConfigureUpdateAccountInfoMessage" xml:space="preserve">
    <value>Update your Toodledo account details. To change your account use the 'Change Account' menu command.</value>
    <comment>Update your Toodledo account details. To change your account use the 'Change Account' menu command.</comment>
  </data>
  <data name="MenuChangeAccountText" xml:space="preserve">
    <value>Change Account...</value>
    <comment>Change Account...</comment>
  </data>
  <data name="ChangeAccountMessage" xml:space="preserve">
    <value>All data for the current user will be cleared. Ensure that existing data is synchronised before you change account.</value>
    <comment>All data for the current user will be cleared. Ensure that existing data is synchronised before you change account.</comment>
  </data>
  <data name="ContinueClearAllDataMessage" xml:space="preserve">
    <value>Continue with clear all data?</value>
    <comment>Continue with clear all data?</comment>
  </data>
  <data name="ReadyMessage" xml:space="preserve">
    <value>Ready</value>
    <comment>Ready</comment>
  </data>
  <data name="DataSavedMessage" xml:space="preserve">
    <value>Data saved</value>
    <comment>Data saved</comment>
  </data>
  <data name="MenuSearchText" xml:space="preserve">
    <value>Search</value>
    <comment>Search</comment>
  </data>
  <data name="MenuSearchInputGestureText" xml:space="preserve">
    <value>Ctrl+Shift+F</value>
    <comment>Ctrl+Shift+F</comment>
  </data>
  <data name="SearchWatermark" xml:space="preserve">
    <value>Search...</value>
    <comment>Search...</comment>
  </data>
  <data name="ClearToolTip" xml:space="preserve">
    <value>Clear search</value>
    <comment>Clear search</comment>
  </data>
  <data name="SearchToolTip" xml:space="preserve">
    <value>Search</value>
    <comment>Search</comment>
  </data>
  <data name="HideExpanderToolTip" xml:space="preserve">
    <value>Hide Action Pane</value>
    <comment>Hide Action Pane</comment>
  </data>
  <data name="ShowExpanderToolTip" xml:space="preserve">
    <value>Show Action Pane</value>
    <comment>Show Action Pane</comment>
  </data>
</root>

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