3 Partial Class SampleApplicationForm
7 ''' Required designer variable.
9 Private components
As System
.ComponentModel
.IContainer
= Nothing
13 ''' Clean up any resources being used.
15 ''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
16 Protected Overrides
Sub Dispose(ByVal disposing
As Boolean)
17 If disposing
AndAlso (components IsNot
Nothing) Then
20 MyBase
.Dispose(disposing
)
24 #Region
"Windows Form Designer generated code"
28 ''' Required method for Designer support - do not modify
29 ''' the contents of this method with the code editor.
31 Private Sub InitializeComponent()
32 Me.btnExit
= New System
.Windows
.Forms
.Button()
33 Me.btnRemove
= New System
.Windows
.Forms
.Button()
34 Me.btnAdd
= New System
.Windows
.Forms
.Button()
35 Me.label1
= New System
.Windows
.Forms
.Label()
36 Me.txtItem
= New System
.Windows
.Forms
.TextBox()
37 Me.radioOn
= New System
.Windows
.Forms
.RadioButton()
38 Me.radioOff
= New System
.Windows
.Forms
.RadioButton()
39 Me.groupBox1
= New System
.Windows
.Forms
.GroupBox()
43 Me.btnExit
.DialogResult
= System
.Windows
.Forms
.DialogResult
.OK
44 Me.btnExit
.Location
= New System
.Drawing
.Point(179, 208)
45 Me.btnExit
.Name
= "btnExit"
46 Me.btnExit
.Size
= New System
.Drawing
.Size(68, 23)
47 Me.btnExit
.TabIndex
= 2
48 Me.btnExit
.Text
= "E&xit"
52 Me.btnRemove
.DialogResult
= System
.Windows
.Forms
.DialogResult
.OK
53 Me.btnRemove
.Location
= New System
.Drawing
.Point(179, 179)
54 Me.btnRemove
.Name
= "btnRemove"
55 Me.btnRemove
.Size
= New System
.Drawing
.Size(68, 23)
56 Me.btnRemove
.TabIndex
= 1
57 Me.btnRemove
.Text
= "&Remove"
61 Me.btnAdd
.Location
= New System
.Drawing
.Point(32, 109)
62 Me.btnAdd
.Name
= "btnAdd"
63 Me.btnAdd
.Size
= New System
.Drawing
.Size(68, 23)
64 Me.btnAdd
.TabIndex
= 4
65 Me.btnAdd
.Text
= "&Add"
69 Me.label1
.AutoSize
= True
70 Me.label1
.Location
= New System
.Drawing
.Point(13, 16)
71 Me.label1
.Name
= "label1"
72 Me.label1
.Size
= New System
.Drawing
.Size(106, 13)
73 Me.label1
.TabIndex
= 0
74 Me.label1
.Text
= "&Enter Contact Name:"
78 Me.txtItem
.Location
= New System
.Drawing
.Point(16, 38)
79 Me.txtItem
.MaxLength
= 15
80 Me.txtItem
.Name
= "txtItem"
81 Me.txtItem
.Size
= New System
.Drawing
.Size(100, 20)
82 Me.txtItem
.TabIndex
= 1
83 Me.txtItem
.WordWrap
= False
87 Me.radioOn
.AutoSize
= True
88 Me.radioOn
.Checked
= True
89 Me.radioOn
.Location
= New System
.Drawing
.Point(32, 64)
90 Me.radioOn
.Name
= "radioOn"
91 Me.radioOn
.Size
= New System
.Drawing
.Size(55, 17)
92 Me.radioOn
.TabIndex
= 2
93 Me.radioOn
.TabStop
= True
94 Me.radioOn
.Text
= "O&nline"
95 Me.radioOn
.UseVisualStyleBackColor
= True
99 Me.radioOff
.AutoSize
= True
100 Me.radioOff
.Location
= New System
.Drawing
.Point(32, 86)
101 Me.radioOff
.Name
= "radioOff"
102 Me.radioOff
.Size
= New System
.Drawing
.Size(55, 17)
103 Me.radioOff
.TabIndex
= 3
104 Me.radioOff
.TabStop
= True
105 Me.radioOff
.Text
= "O&ffline"
106 Me.radioOff
.UseVisualStyleBackColor
= True
110 Me.groupBox1
.Controls
.Add(Me.radioOff
)
111 Me.groupBox1
.Controls
.Add(Me.radioOn
)
112 Me.groupBox1
.Controls
.Add(Me.txtItem
)
113 Me.groupBox1
.Controls
.Add(Me.label1
)
114 Me.groupBox1
.Controls
.Add(Me.btnAdd
)
115 Me.groupBox1
.Location
= New System
.Drawing
.Point(147, 12)
116 Me.groupBox1
.Name
= "groupBox1"
117 Me.groupBox1
.Size
= New System
.Drawing
.Size(132, 146)
118 Me.groupBox1
.TabIndex
= 0
119 Me.groupBox1
.TabStop
= False
121 ' SampleApplicationForm
123 Me.AutoScaleDimensions
= New System
.Drawing
.SizeF(6.0F
, 13.0F
)
124 Me.AutoScaleMode
= System
.Windows
.Forms
.AutoScaleMode
.Font
125 Me.ClientSize
= New System
.Drawing
.Size(291, 254)
126 Me.Controls
.Add(groupBox1
)
127 Me.Controls
.Add(btnRemove
)
128 Me.Controls
.Add(btnExit
)
129 Me.FormBorderStyle
= System
.Windows
.Forms
.FormBorderStyle
.FixedDialog
130 Me.Margin
= New System
.Windows
.Forms
.Padding(2)
131 Me.MaximizeBox
= False
132 Me.Name
= "SampleApplicationForm"
133 Me.Text
= "UIAutomation Fragment Provider"
134 Me.groupBox1
.ResumeLayout(False)
135 Me.groupBox1
.PerformLayout()
136 Me.ResumeLayout(False)
138 End Sub 'InitializeComponent
142 Private WithEvents btnExit
As System
.Windows
.Forms
.Button
143 Private WithEvents btnRemove
As System
.Windows
.Forms
.Button
144 Private WithEvents btnAdd
As System
.Windows
.Forms
.Button
145 Private label1
As System
.Windows
.Forms
.Label
146 Private txtItem
As System
.Windows
.Forms
.TextBox
147 Private radioOff
As System
.Windows
.Forms
.RadioButton
148 Private radioOn
As System
.Windows
.Forms
.RadioButton
149 Private groupBox1
As System
.Windows
.Forms
.GroupBox
150 End Class
'SampleApplicationForm