Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Windows Mobile Password Safe

, 12 Jan 2009
A password safe with a touch screen UI introducing Fluid Controls.
PasswordSafeExe.zip
PasswordSafeSource.zip
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.Runtime.InteropServices;

namespace Fluid.Drawing.GdiPlus
{
    internal partial class GdiPlus
    {
        [DllImport(dllName)]
        extern static internal GpStatus GdipCreatePen1(int color, float width, Unit unit, out GpPen pen);

        [DllImport(dllName)]
        extern static internal GpStatus GdipCreatePen1(int color, float width, Unit unit, out IntPtr hPen);

        [DllImport(dllName)]
        extern static internal GpStatus GdipCreatePen2(GpBrush brush, float width, Unit unit, out GpPen pen);

        [DllImport(dllName)]
        extern static internal GpStatus GdipClonePen(GpPen pen, out GpPen clonepen);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDeletePen(GpPen pen);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenWidth(GpPen pen, float width);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenWidth(GpPen pen, out float width);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenUnit(GpPen pen, Unit unit);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenUnit(GpPen pen, out Unit unit);

        [DllImport(dllName)]
        extern static internal GpStatus
        GdipSetPenLineCap197819(GpPen pen, LineCap startCap, LineCap endCap,  DashCap dashCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenStartCap(GpPen pen, LineCap startCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenEndCap(GpPen pen, LineCap endCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenDashCap197819(GpPen pen, DashCap dashCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenStartCap(GpPen pen, out LineCap startCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenEndCap(GpPen pen, out LineCap endCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenDashCap197819(GpPen pen, out DashCap dashCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenLineJoin(GpPen pen, LineJoin lineJoin);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenLineJoin(GpPen pen, out LineJoin lineJoin);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenCustomStartCap(GpPen pen, GpCustomLineCap customCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenCustomStartCap(GpPen pen, out GpCustomLineCap customCap);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenCustomEndCap(GpPen pen, GpCustomLineCap customCap);

        [DllImport(dllName)]
        extern static internal GpStatus  GdipGetPenCustomEndCap(GpPen pen, out GpCustomLineCap customCap);

        [DllImport(dllName)]
        extern static internal GpStatus  GdipSetPenMiterLimit(GpPen pen, float miterLimit);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenMiterLimit(GpPen pen, out float miterLimit);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenMode(GpPen pen, PenAlignment penMode);

        [DllImport(dllName)]
        extern static internal GpStatus  GdipGetPenMode(GpPen pen, out PenAlignment penMode);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenTransform(GpPen pen, GpMatrix matrix);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenTransform(GpPen pen, out GpMatrix matrix);

        [DllImport(dllName)]
        extern static internal GpStatus GdipResetPenTransform(GpPen pen);

        [DllImport(dllName)]
        extern static internal GpStatus GdipMultiplyPenTransform(GpPen pen, GpMatrix matrix, MatrixOrder order);

        [DllImport(dllName)]
        extern static internal GpStatus GdipTranslatePenTransform(GpPen pen, float dx, float dy, MatrixOrder order);

        [DllImport(dllName)]
        extern static internal GpStatus GdipScalePenTransform(GpPen pen, float sx, float sy, MatrixOrder order);

        [DllImport(dllName)]
        extern static internal GpStatus GdipRotatePenTransform(GpPen pen, float angle, MatrixOrder order);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenColor(GpPen pen, int argb);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenColor(GpPen pen, out int argb);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenBrushFill(GpPen pen, GpBrush brush);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenBrushFill(GpPen pen, out GpBrush brush);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenFillType(GpPen pen, out PenType type);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenDashStyle(GpPen pen, out DashStyle dashstyle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenDashStyle(GpPen pen, DashStyle dashstyle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenDashOffset(GpPen pen, out float offset);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenDashOffset(GpPen pen, float offset);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenDashCount(GpPen pen, out int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenDashArray(GpPen pen, float[] dash, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenDashArray(GpPen pen, float[] dash, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenCompoundCount(GpPen pen, out int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipSetPenCompoundArray(GpPen pen, float[] dash, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipGetPenCompoundArray(GpPen pen, float[] dash, int count);

    }
}

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)

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

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 12 Jan 2009
Article Copyright 2009 by Thomas Gerber
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid