Link CodeSample - Calling Link.Open with and without LinkParameters

From Visual WebGui Wiki

Jump to: navigation, search


Contents

Overview

This samplecode shows how to call Link.Open with and without LinkParameters.

Calling Link.Open without LinkParameters

VB.NET Code

Link.Open("http://www.google.com")

C# Code

Link.Open("http://www.google.com");

Calling Link.Open with LinkParameters

See also

VB.NET Code

Dim LP As LinkParameters = New LinkParameters
LP.FullScreen = False
LP.Location = New System.Drawing.Point(100, 100)
LP.Resizable = True
LP.ScrollBars = True
LP.ShowLocationBar = True
LP.ShowMenuBar = True
LP.ShowStatusBar = True
LP.ShowTitleBar = True
LP.ShowToolBar = True
LP.Size = New System.Drawing.Point(300, 300)
LP.Target = ""
LP.WindowStyle = LinkWindowStyle.Normal
Link.Open("http://www.google.com", LP)

C# Code


Personal tools