Click here to Skip to main content
12,405,303 members (66,793 online)
Click here to Skip to main content

Stats

109.9K views
2.7K downloads
139 bookmarked
Posted

Windows Mobile Password Safe

, 12 Jan 2009 CPOL
A password safe with a touch screen UI introducing Fluid Controls.
Fluid.dll
passwords.pws
PasswordSafe.exe
PasswordSafe
Fluditity
bin
Classes
vssver2.scc
Controls
enums
vssver2.scc
Events
vssver2.scc
Interfaces
vssver2.scc
vssver2.scc
Fluid.csproj.user
GdiPlus
mssccprj.scc
NativeMethods
vssver2.scc
vssver2.scc
Native
vssver2.scc
obj
Properties
vssver2.scc
vssver2.scc
PasswordSafe
bin
Release
Fluid.dll
passwords.pws
PasswordSafe.exe
Classes
vssver2.scc
Encryption
vssver2.scc
EventArgs
vssver2.scc
ListBoxes
vssver2.scc
PasswordSafe.csproj.user
Properties
vssver2.scc
Resources
lock.bmp
minus.png
props.bmp
save.bmp
saved.bmp
search.bmp
searchd.bmp
undo24.bmp
undo24_d.bmp
Untitled.png
vssver2.scc
security.ico
Templates
vssver2.scc
Themes
vssver2.scc
vssver2.scc
Xml
vssver2.scc
vssver2.scc
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Fluid.Controls.Classes
{
    ///// <summary>
    ///// A generic collections that supports notifications when the collection changes.
    ///// </summary>
    ///// <typeparam name="T"></typeparam>
    //public class TCollection<T> : IList<T>
    //{
    //    public TCollection(IFluidContainer container)
    //        : base()
    //    {
    //        this.container = container;
    //    }

    //    private IFluidContainer container;

    //    private List<T> items = new List<T>();

    //    /// <summary>
    //    /// Occurs when the collection has changed.
    //    /// </summary>
    //    protected virtual void OnNotifyChanged()
    //    {
    //        if (NotifyChanged != null) NotifyChanged(this, EventArgs.Empty);
    //    }

    //    /// <summary>
    //    /// Notify that something has happened to the collection or it's ITouchControl properties.
    //    /// </summary>
    //    public void NotifyChange()
    //    {
    //        OnNotifyChanged();
    //    }

    //    /// <summary>
    //    /// Occurs when the collection has changed.
    //    /// </summary>
    //    public event EventHandler NotifyChanged;

    //    #region ICollection<T> Members

    //    public void Add(T item)
    //    {
    //        items.Add(item);
    //        OnAdded(item);
    //        OnNotifyChanged();
    //    }


    //    protected virtual void OnAdded(T item)
    //    {
    //    }

    //    protected virtual void OnRemoved(T item)
    //    {
    //    }

    //    /// <summary>
    //    /// appears when the collection must be cleared.
    //    /// </summary>
    //    /// <example>
    //    /// Do something like:
    //    //      foreach (T c in this)
    //    //      {
    //    //          Cleanup(c);
    //    //      }
    //    /// </example>
    //    protected virtual void RemoveItems()
    //    {
    //    }

    //    public void Clear()
    //    {
    //        RemoveItems();
    //        items.Clear();
    //        OnNotifyChanged();
    //    }

    //    public bool Contains(T item)
    //    {
    //        return items.Contains(item);
    //    }

    //    public void CopyTo(T[] array, int arrayIndex)
    //    {
    //        items.CopyTo(array, arrayIndex);
    //        OnNotifyChanged();
    //    }

    //    public int Count
    //    {
    //        get { return items.Count; }
    //    }

    //    public bool IsReadOnly
    //    {
    //        get { return false; }
    //    }

    //    public bool Remove(T item)
    //    {
    //        OnRemoved(item);
    //        bool result = items.Remove(item);
    //        if (result) OnNotifyChanged();
    //        return result;
    //    }

    //    #endregion

    //    #region IEnumerable<ISmartControl> Members

    //    public IEnumerator<T> GetEnumerator()
    //    {
    //        return items.GetEnumerator();
    //    }

    //    #endregion

    //    #region IEnumerable Members

    //    System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
    //    {
    //        return items.GetEnumerator();
    //    }

    //    #endregion

    //    internal int IndexOf(T control)
    //    {
    //        return items.IndexOf(control);
    //    }

    //    #region IList<ISmartControl> Members

    //    int IList<T>.IndexOf(T item)
    //    {
    //        return items.IndexOf(item);
    //    }

    //    public void Insert(int index, T item)
    //    {
    //        items.Insert(index, item);
    //        OnAdded(item);
    //    }

    //    public void RemoveAt(int index)
    //    {
    //        T c = this[index];
    //        OnRemoved(c);
    //        items.RemoveAt(index);
    //    }

    //    public T this[int index]
    //    {
    //        get { return items[index]; }
    //        set { items[index] = value; }
    //    }

    //    #endregion
//    }
}

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

Thomas Gerber
Software Developer (Senior)
Germany Germany
MCPD
Enterprise Application Developer 3.5
Windows Developer 3.5
.ASP.NET Developer 3.5
.NET 2.0 Windows Developer
.NET 2.0 Web Developer
.NET 2.0 Enterprise Application Developer


MCTS
.NET 3.5 Windows Forms Applications
.NET 3.5 ASP.NET Applications
.NET 3.5, ADO.NET Application Development
.NET 3.5 WCF
.NET 3.5 WPF
.NET 3.5 WF
Microsoft SQL Server 2008, Database Development
.NET 2.0 Windows Applications
.NET 2.0 Web Applications
.NET 2.0 Distributed Applications
SQL Server 2005
Sharepoint Services 3.0 Application Development
Windows Vista Client Configuration

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160721.1 | Last Updated 12 Jan 2009
Article Copyright 2009 by Thomas Gerber
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid