S
H
A
R
E
Showing posts with label Form. Show all posts
Showing posts with label Form. Show all posts

Tuesday, August 02, 2011

Custom Form Appearance With Standard Behaviour

There are several ways to Custom Paint a form, but each has their flaw.
This method starts with a standard Form that has its BorderStyle set to None.

Read More!

Sunday, July 31, 2011

Shaped Form Resizable and Moveable

Shaped Form Resizable and Moveable
This is by no means a complete solution, just an idea for creating custom shaped forms with custom Titlebars.
The form can be dragged by its fake titlebar, and if right clicked the fake Titlebar will popup the WindowMenu.
The CreateParams property has been modified to add a System Menu (with Min,Move and Close items) to a borderless form.

Read More!

Tuesday, July 05, 2011

Basic Concept of Databindings

Language: VB.net
Add two Textbox in your form, and then add this code when Form Load:

        ' When Textbox1 text changed, then Texbox2 too
        TextBox2.DataBindings.Add(New Binding("text", TextBox1, "text"))

        ' When Textbox2 text changed, then Texbox1 too
        TextBox1.DataBindings.Add(New Binding("text", TextBox2, "text"))


the two Textbox Will Also have same text.

Read More!

Friday, June 24, 2011

Custom Windows Form Border With Background Opacity

Lnguage: VB net (NetFramework 4.0) (will work in NetFramework 3.5 or before)
Custom Form Border With Background Opacity using VB net Csharp in Visual Studio with Windows API dll

Read More!

Sunday, May 29, 2011

Draw Text On Glass Window in VB.net

Text On Glass Window
When you make a glasses window, and you drop a label to the form designer, you will see that the label is not good. to fix this problem, you can use this way (sample code):

Read More!

Thursday, May 26, 2011

CSharp Form With Aero Glass


Simple Form With Aero Glass Effect


Read More!