Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

226 lines
6.5 KiB

  1. VERSION 5.00
  2. Begin VB.Form RoutingMethodWindow
  3. BorderStyle = 3 'Fixed Dialog
  4. Caption = "Routing Method"
  5. ClientHeight = 5595
  6. ClientLeft = 45
  7. ClientTop = 330
  8. ClientWidth = 8160
  9. BeginProperty Font
  10. Name = "Comic Sans MS"
  11. Size = 12
  12. Charset = 0
  13. Weight = 400
  14. Underline = 0 'False
  15. Italic = 0 'False
  16. Strikethrough = 0 'False
  17. EndProperty
  18. Icon = "route.frx":0000
  19. LinkTopic = "Form1"
  20. MaxButton = 0 'False
  21. MDIChild = -1 'True
  22. MinButton = 0 'False
  23. ScaleHeight = 5595
  24. ScaleWidth = 8160
  25. ShowInTaskbar = 0 'False
  26. Begin VB.TextBox RoutingData
  27. BackColor = &H8000000F&
  28. Enabled = 0 'False
  29. Height = 495
  30. Left = 2040
  31. TabIndex = 18
  32. Top = 4920
  33. Width = 6015
  34. End
  35. Begin VB.CommandButton EnableDisable
  36. Height = 495
  37. Left = 4080
  38. TabIndex = 16
  39. Top = 1320
  40. Width = 3975
  41. End
  42. Begin VB.TextBox ExtensionName
  43. BackColor = &H8000000F&
  44. Enabled = 0 'False
  45. Height = 495
  46. Left = 2040
  47. TabIndex = 15
  48. Top = 4320
  49. Width = 6015
  50. End
  51. Begin VB.TextBox ImageName
  52. BackColor = &H8000000F&
  53. Enabled = 0 'False
  54. Height = 495
  55. Left = 2040
  56. TabIndex = 14
  57. Top = 3720
  58. Width = 6015
  59. End
  60. Begin VB.TextBox FunctionName
  61. BackColor = &H8000000F&
  62. Enabled = 0 'False
  63. Height = 495
  64. Left = 2040
  65. TabIndex = 13
  66. Top = 3120
  67. Width = 6015
  68. End
  69. Begin VB.TextBox FriendlyName
  70. BackColor = &H8000000F&
  71. Enabled = 0 'False
  72. Height = 495
  73. Left = 2040
  74. TabIndex = 12
  75. Top = 2520
  76. Width = 6015
  77. End
  78. Begin VB.TextBox Guid
  79. BackColor = &H8000000F&
  80. Enabled = 0 'False
  81. Height = 495
  82. Left = 2040
  83. TabIndex = 11
  84. Top = 1920
  85. Width = 6015
  86. End
  87. Begin VB.TextBox IsEnabled
  88. BackColor = &H8000000F&
  89. Enabled = 0 'False
  90. Height = 495
  91. Left = 2040
  92. TabIndex = 10
  93. Top = 1320
  94. Width = 1935
  95. End
  96. Begin VB.TextBox DeviceName
  97. BackColor = &H8000000F&
  98. Enabled = 0 'False
  99. Height = 495
  100. Left = 2040
  101. TabIndex = 2
  102. Top = 720
  103. Width = 6015
  104. End
  105. Begin VB.TextBox DeviceId
  106. BackColor = &H8000000F&
  107. Enabled = 0 'False
  108. Height = 495
  109. Left = 2040
  110. TabIndex = 0
  111. Top = 120
  112. Width = 1935
  113. End
  114. Begin VB.Label Label9
  115. Caption = "Routing Data:"
  116. Height = 375
  117. Left = 120
  118. TabIndex = 17
  119. Top = 5040
  120. Width = 1815
  121. End
  122. Begin VB.Label Label8
  123. Caption = "Extension Name:"
  124. Height = 375
  125. Left = 120
  126. TabIndex = 9
  127. Top = 4440
  128. Width = 1815
  129. End
  130. Begin VB.Label Label7
  131. Caption = "Image Name:"
  132. Height = 375
  133. Left = 120
  134. TabIndex = 8
  135. Top = 3840
  136. Width = 1815
  137. End
  138. Begin VB.Label Label6
  139. Caption = "Function Name:"
  140. Height = 375
  141. Left = 120
  142. TabIndex = 7
  143. Top = 3240
  144. Width = 1815
  145. End
  146. Begin VB.Label Label5
  147. Caption = "Friendly Name:"
  148. Height = 375
  149. Left = 120
  150. TabIndex = 6
  151. Top = 2640
  152. Width = 1815
  153. End
  154. Begin VB.Label Label4
  155. Caption = "Guid:"
  156. Height = 375
  157. Left = 120
  158. TabIndex = 5
  159. Top = 2040
  160. Width = 1815
  161. End
  162. Begin VB.Label Label3
  163. Caption = "Enabled:"
  164. Height = 375
  165. Left = 120
  166. TabIndex = 4
  167. Top = 1440
  168. Width = 1815
  169. End
  170. Begin VB.Label Label2
  171. Caption = "Device Name:"
  172. Height = 375
  173. Left = 120
  174. TabIndex = 3
  175. Top = 840
  176. Width = 1815
  177. End
  178. Begin VB.Label Label1
  179. Caption = "Device Id:"
  180. Height = 375
  181. Left = 120
  182. TabIndex = 1
  183. Top = 240
  184. Width = 1815
  185. End
  186. End
  187. Attribute VB_Name = "RoutingMethodWindow"
  188. Attribute VB_GlobalNameSpace = False
  189. Attribute VB_Creatable = False
  190. Attribute VB_PredeclaredId = True
  191. Attribute VB_Exposed = False
  192. Private Sub EnableDisable_Click()
  193. If Method.Enable = 0 Then
  194. Method.Enable = 1
  195. Else
  196. Method.Enable = 0
  197. End If
  198. SetEnable
  199. End Sub
  200. Private Sub Form_Load()
  201. Height = RoutingData.Top + RoutingData.Height + 600
  202. Width = ExtensionName.Left + ExtensionName.Width + 250
  203. End Sub
  204. Public Sub MyInit()
  205. DeviceId.Text = CStr(Method.DeviceId)
  206. DeviceName.Text = Method.DeviceName
  207. SetEnable
  208. Guid.Text = Method.Guid
  209. FriendlyName.Text = Method.FriendlyName
  210. FunctionName.Text = Method.FunctionName
  211. ImageName.Text = Method.ImageName
  212. ExtensionName.Text = Method.ExtensionName
  213. RoutingData.Text = Method.RoutingData
  214. End Sub
  215. Private Sub SetEnable()
  216. If Method.Enable = 0 Then
  217. IsEnabled.Text = CStr("No")
  218. EnableDisable.Caption = CStr("Enable")
  219. Else
  220. IsEnabled.Text = CStr("Yes")
  221. EnableDisable.Caption = CStr("Disable")
  222. End If
  223. End Sub