Click here to Skip to main content
12,247,901 members (58,094 online)
Click here to Skip to main content

Stats

26K views
694 downloads
21 bookmarked
Posted

Form Docker

, 23 Sep 2008 CPOL
Form Docker is a class library (DLL) that can dock any form to different parts of the screen.
FormDocker
FormDocker
bin
Release
FormDocker.dll
FormDocker.zip
FormDocker.vbproj.user
My Project
Application.myapp
FormDockTest
bin
Release
FormDocker.dll
FormDockTest.exe
FormDockTest.vbproj.user
My Project
Application.myapp
Public Class Form1
    Dim Docker As New FormDocker.FormDocker(Me, FormDocker.FormDocker.FormDockMode.TopRight, New Padding(5))

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Docker.DockForm()
        Docker.UndockForm()
        Docker.DockForm()
        Me.Text = Docker.ToString
    End Sub

    Private Sub Form1_Move(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Move
        Docker.Refresh()
    End Sub

    Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize
        Docker.Refresh()
    End Sub
End Class

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

Programble
Canada Canada
I am a hobby VB programmer.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 23 Sep 2008
Article Copyright 2008 by Programble
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid