Click here to Skip to main content
15,895,746 members
Articles / Programming Languages / Visual Basic

RDP Manager

Rate me:
Please Sign up or sign in to vote.
4.38/5 (3 votes)
11 Oct 2006CPOL3 min read 71.1K   2K   33  
Simple RDP and VNC connection manager built on .NET 2.0.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frmSettings
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
		Me.Label1 = New System.Windows.Forms.Label
		Me.txtName = New System.Windows.Forms.TextBox
		Me.txtAddress = New System.Windows.Forms.TextBox
		Me.Label2 = New System.Windows.Forms.Label
		Me.chkCred = New System.Windows.Forms.CheckBox
		Me.cbPrefCon = New System.Windows.Forms.ComboBox
		Me.Label3 = New System.Windows.Forms.Label
		Me.GroupBox1 = New System.Windows.Forms.GroupBox
		Me.lblLC = New System.Windows.Forms.Label
		Me.Label6 = New System.Windows.Forms.Label
		Me.lblTC = New System.Windows.Forms.Label
		Me.Label4 = New System.Windows.Forms.Label
		Me.btnSave = New System.Windows.Forms.Button
		Me.btnCancel = New System.Windows.Forms.Button
		Me.GroupBox1.SuspendLayout()
		Me.SuspendLayout()
		'
		'Label1
		'
		Me.Label1.AutoSize = True
		Me.Label1.Location = New System.Drawing.Point(22, 15)
		Me.Label1.Name = "Label1"
		Me.Label1.Size = New System.Drawing.Size(35, 13)
		Me.Label1.TabIndex = 0
		Me.Label1.Text = "Name"
		'
		'txtName
		'
		Me.txtName.Location = New System.Drawing.Point(63, 12)
		Me.txtName.Name = "txtName"
		Me.txtName.Size = New System.Drawing.Size(188, 20)
		Me.txtName.TabIndex = 1
		'
		'txtAddress
		'
		Me.txtAddress.Location = New System.Drawing.Point(63, 38)
		Me.txtAddress.Name = "txtAddress"
		Me.txtAddress.Size = New System.Drawing.Size(188, 20)
		Me.txtAddress.TabIndex = 3
		'
		'Label2
		'
		Me.Label2.AutoSize = True
		Me.Label2.Location = New System.Drawing.Point(12, 41)
		Me.Label2.Name = "Label2"
		Me.Label2.Size = New System.Drawing.Size(45, 13)
		Me.Label2.TabIndex = 2
		Me.Label2.Text = "Address"
		'
		'chkCred
		'
		Me.chkCred.AutoSize = True
		Me.chkCred.Location = New System.Drawing.Point(111, 91)
		Me.chkCred.Name = "chkCred"
		Me.chkCred.Size = New System.Drawing.Size(132, 17)
		Me.chkCred.TabIndex = 4
		Me.chkCred.Text = "Remember Credentials"
		Me.chkCred.UseVisualStyleBackColor = True
		'
		'cbPrefCon
		'
		Me.cbPrefCon.FormattingEnabled = True
		Me.cbPrefCon.Items.AddRange(New Object() {"RDP", "VNC", "Telnet"})
		Me.cbPrefCon.Location = New System.Drawing.Point(111, 64)
		Me.cbPrefCon.Name = "cbPrefCon"
		Me.cbPrefCon.Size = New System.Drawing.Size(140, 21)
		Me.cbPrefCon.TabIndex = 5
		'
		'Label3
		'
		Me.Label3.AutoSize = True
		Me.Label3.Location = New System.Drawing.Point(7, 67)
		Me.Label3.Name = "Label3"
		Me.Label3.Size = New System.Drawing.Size(98, 13)
		Me.Label3.TabIndex = 6
		Me.Label3.Text = "Default Connection"
		'
		'GroupBox1
		'
		Me.GroupBox1.Controls.Add(Me.lblLC)
		Me.GroupBox1.Controls.Add(Me.Label6)
		Me.GroupBox1.Controls.Add(Me.lblTC)
		Me.GroupBox1.Controls.Add(Me.Label4)
		Me.GroupBox1.Location = New System.Drawing.Point(10, 114)
		Me.GroupBox1.Name = "GroupBox1"
		Me.GroupBox1.Size = New System.Drawing.Size(241, 67)
		Me.GroupBox1.TabIndex = 7
		Me.GroupBox1.TabStop = False
		Me.GroupBox1.Text = "Status"
		'
		'lblLC
		'
		Me.lblLC.AutoSize = True
		Me.lblLC.Location = New System.Drawing.Point(103, 43)
		Me.lblLC.Name = "lblLC"
		Me.lblLC.Size = New System.Drawing.Size(15, 13)
		Me.lblLC.TabIndex = 3
		Me.lblLC.Text = "lc"
		'
		'Label6
		'
		Me.Label6.AutoSize = True
		Me.Label6.Location = New System.Drawing.Point(13, 43)
		Me.Label6.Name = "Label6"
		Me.Label6.Size = New System.Drawing.Size(84, 13)
		Me.Label6.TabIndex = 2
		Me.Label6.Text = "Last Connection"
		'
		'lblTC
		'
		Me.lblTC.AutoSize = True
		Me.lblTC.Location = New System.Drawing.Point(103, 20)
		Me.lblTC.Name = "lblTC"
		Me.lblTC.Size = New System.Drawing.Size(16, 13)
		Me.lblTC.TabIndex = 1
		Me.lblTC.Text = "tc"
		'
		'Label4
		'
		Me.Label4.AutoSize = True
		Me.Label4.Location = New System.Drawing.Point(7, 20)
		Me.Label4.Name = "Label4"
		Me.Label4.Size = New System.Drawing.Size(90, 13)
		Me.Label4.TabIndex = 0
		Me.Label4.Text = "Times Connected"
		'
		'btnSave
		'
		Me.btnSave.Location = New System.Drawing.Point(143, 187)
		Me.btnSave.Name = "btnSave"
		Me.btnSave.Size = New System.Drawing.Size(51, 23)
		Me.btnSave.TabIndex = 8
		Me.btnSave.Text = "Save"
		Me.btnSave.UseVisualStyleBackColor = True
		'
		'btnCancel
		'
		Me.btnCancel.Location = New System.Drawing.Point(200, 187)
		Me.btnCancel.Name = "btnCancel"
		Me.btnCancel.Size = New System.Drawing.Size(51, 23)
		Me.btnCancel.TabIndex = 9
		Me.btnCancel.Text = "Cancel"
		Me.btnCancel.UseVisualStyleBackColor = True
		'
		'frmSettings
		'
		Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
		Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
		Me.ClientSize = New System.Drawing.Size(263, 214)
		Me.Controls.Add(Me.btnCancel)
		Me.Controls.Add(Me.btnSave)
		Me.Controls.Add(Me.GroupBox1)
		Me.Controls.Add(Me.Label3)
		Me.Controls.Add(Me.cbPrefCon)
		Me.Controls.Add(Me.chkCred)
		Me.Controls.Add(Me.txtAddress)
		Me.Controls.Add(Me.Label2)
		Me.Controls.Add(Me.txtName)
		Me.Controls.Add(Me.Label1)
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
		Me.Name = "frmSettings"
		Me.Text = "Connection Settings"
		Me.TopMost = True
		Me.GroupBox1.ResumeLayout(False)
		Me.GroupBox1.PerformLayout()
		Me.ResumeLayout(False)
		Me.PerformLayout()

	End Sub
	Friend WithEvents Label1 As System.Windows.Forms.Label
	Friend WithEvents txtName As System.Windows.Forms.TextBox
	Friend WithEvents txtAddress As System.Windows.Forms.TextBox
	Friend WithEvents Label2 As System.Windows.Forms.Label
	Friend WithEvents chkCred As System.Windows.Forms.CheckBox
	Friend WithEvents cbPrefCon As System.Windows.Forms.ComboBox
	Friend WithEvents Label3 As System.Windows.Forms.Label
	Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
	Friend WithEvents lblLC As System.Windows.Forms.Label
	Friend WithEvents Label6 As System.Windows.Forms.Label
	Friend WithEvents lblTC As System.Windows.Forms.Label
	Friend WithEvents Label4 As System.Windows.Forms.Label
	Friend WithEvents btnSave As System.Windows.Forms.Button
	Friend WithEvents btnCancel As System.Windows.Forms.Button
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)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions