Click here to Skip to main content
11,501,561 members (70,859 online)
Click here to Skip to main content
Add your own
alternative version

Windows Mobile Password Safe

, 12 Jan 2009 CPOL 100.9K 2.6K 139
A password safe with a touch screen UI introducing Fluid Controls.
PasswordSafeExe.zip
Fluid.dll
passwords.pws
PasswordSafe.exe
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.Runtime.InteropServices;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Fluid.Drawing.GdiPlus
{
    internal partial class GdiPlus
    {
        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawLine(GpGraphics graphics, GpPen pen, float x1, float y1, float x2, float y2);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawLineI(GpGraphics graphics, GpPen pen, int x1, int y1,  int x2, int y2);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawLines(GpGraphics graphics, GpPen pen, PointF[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawLinesI(GpGraphics graphics, GpPen pen, Point[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawArc(GpGraphics graphics, GpPen pen, float x, float y, float width, float height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawArcI(GpGraphics graphics, GpPen pen, int x, int y, int width, int height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawBezier(GpGraphics graphics, GpPen pen, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawBezierI(GpGraphics graphics, GpPen pen, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawBeziers(GpGraphics graphics, GpPen pen, PointF[] points,  int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawBeziersI(GpGraphics graphics, GpPen pen, Point[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawRectangle(GpGraphics graphics, GpPen pen, float x, float y, float width, float height);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawRectangleI(GpGraphics graphics, GpPen pen, int x, int y, int width, int height);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawRectangles(GpGraphics graphics, GpPen pen, RectangleF[] rects, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawRectanglesI(GpGraphics graphics, GpPen pen, Rectangle[] rects, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawEllipse(GpGraphics graphics, GpPen pen, float x, float y, float width, float height);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawEllipseI(GpGraphics graphics, GpPen pen, int x, int y, int width, int height);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawPie(GpGraphics graphics, GpPen pen, float x, float y, float width, float height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawPieI(GpGraphics graphics, GpPen pen, int x, int y, int width, int height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawPolygon(GpGraphics graphics, GpPen pen, PointF[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawPolygonI(GpGraphics graphics, GpPen pen, Point[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawPath(GpGraphics graphics, GpPen pen, GpPath path);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawCurve(GpGraphics graphics, GpPen pen, PointF[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus GdipDrawCurveI(GpGraphics graphics, GpPen pen, Point[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawCurve2(GpGraphics graphics, GpPen pen, PointF[] points,
        int count, float tension);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawCurve2I(GpGraphics graphics, GpPen pen, Point[] points,
        int count, float tension);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawCurve3(GpGraphics graphics, GpPen pen, PointF[] points,
int count, int offset, int numberOfSegments, float tension);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawCurve3I(GpGraphics graphics, GpPen pen, Point[] points,
 int count, int offset, int numberOfSegments, float tension);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawClosedCurve(GpGraphics graphics, GpPen pen,
      PointF[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawClosedCurveI(GpGraphics graphics, GpPen pen,
       Point[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawClosedCurve2(GpGraphics graphics, GpPen pen,
       PointF[] points, int count, float tension);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipDrawClosedCurve2I(GpGraphics graphics, GpPen pen,
        Point[] points, int count, float tension);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipGraphicsClear(GpGraphics graphics, int color);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillRectangle(GpGraphics graphics, GpBrush brush, float x, float y,
   float width, float height);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillRectangleI(GpGraphics graphics, GpBrush brush, int x, int y,
    int width, int height);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillRectangles(GpGraphics graphics, GpBrush brush,
     RectangleF[] rects, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillRectanglesI(GpGraphics graphics, GpBrush brush,
      Rectangle[] rects, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillPolygon(GpGraphics graphics, GpBrush brush,
  PointF[] points, int count, FillMode fillMode);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillPolygon(GpGraphics graphics, GpSolidFill brush,
  PointF[] points, int count, FillMode fillMode);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillPolygon(GpGraphics graphics, GpHatch brush,
  PointF[] points, int count, FillMode fillMode);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillPolygon(GpGraphics graphics, GpTexture brush,
  PointF[] points, int count, FillMode fillMode);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillPolygonI(GpGraphics graphics, GpBrush brush,
   Point[] points, int count, FillMode fillMode);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillPolygon2(GpGraphics graphics, GpBrush brush,
   PointF[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
        GdipFillPolygon2I(GpGraphics graphics, GpBrush brush,
        Point[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
        GdipFillPolygon2I(GpGraphics graphics, GpSolidFill brush,
        Point[] points, int count);

        [DllImport(dllName)]
        extern static internal GpStatus
        GdipFillEllipse(GpGraphics graphics, GpBrush brush, float x, float y,
                        float width, float height);

        [DllImport(dllName)]
        extern static internal GpStatus
GdipFillEllipseI(GpGraphics graphics, GpBrush brush, int x, int y,
  int width, int height);

        [DllImport(dllName)]
        extern static internal GpStatus GdipFillPie(GpGraphics graphics, GpBrush brush, float x, float y,
float width, float height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipFillPieI(GpGraphics graphics, GpBrush brush, int x, int y,
int width, int height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        extern static internal GpStatus GdipFillPath(GpGraphics graphics, GpBrush brush, GpPath path);

        //[DllImport(dllName)]
        //extern static internal GpStatus GdipFillClosedCurve(GpGraphics graphics, GpBrush brush,
        //        PointF[] points, int count);

        //[DllImport(dllName)]
        //extern static internal GpStatus GdipFillClosedCurveI(GpGraphics graphics, GpBrush brush,
        //        Point[] points, int count);

        //[DllImport(dllName)]
        //extern static internal GpStatus GdipFillClosedCurve2(GpGraphics graphics, GpBrush brush,
        //        PointF[] points, int count,
        //       float tension, FillMode fillMode);

        //[DllImport(dllName)]
        //extern static internal GpStatus GdipFillClosedCurve2I(GpGraphics graphics, GpBrush brush,
        //        Point[] points, int count,
        //       float tension, FillMode fillMode);

        //[DllImport(dllName)]
        //extern static internal GpStatus GdipFillRegion(GpGraphics graphics, GpBrush brush, GpRegion region);
    }
}

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

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