Source code of Windows XP (NT5)
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.

287 lines
8.1 KiB

  1. VERSION 5.00
  2. Begin VB.Form StatusDetails
  3. BorderStyle = 3 'Fixed Dialog
  4. Caption = "Status Details"
  5. ClientHeight = 8865
  6. ClientLeft = 45
  7. ClientTop = 330
  8. ClientWidth = 7755
  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 = "status.frx":0000
  19. LinkTopic = "Form1"
  20. MaxButton = 0 'False
  21. MDIChild = -1 'True
  22. MinButton = 0 'False
  23. ScaleHeight = 8865
  24. ScaleWidth = 7755
  25. ShowInTaskbar = 0 'False
  26. Begin VB.CommandButton RefreshButton
  27. Caption = "Refresh"
  28. Height = 615
  29. Left = 2280
  30. TabIndex = 26
  31. Top = 8040
  32. Width = 3615
  33. End
  34. Begin VB.TextBox DocSize
  35. BackColor = &H8000000F&
  36. Enabled = 0 'False
  37. Height = 495
  38. Left = 1560
  39. TabIndex = 25
  40. Top = 7320
  41. Width = 1695
  42. End
  43. Begin VB.TextBox CurrPage
  44. BackColor = &H8000000F&
  45. Enabled = 0 'False
  46. Height = 495
  47. Left = 1560
  48. TabIndex = 24
  49. Top = 6720
  50. Width = 1695
  51. End
  52. Begin VB.TextBox PageCount
  53. BackColor = &H8000000F&
  54. Enabled = 0 'False
  55. Height = 495
  56. Left = 1560
  57. TabIndex = 23
  58. Top = 6120
  59. Width = 1695
  60. End
  61. Begin VB.TextBox CallerId
  62. BackColor = &H8000000F&
  63. Enabled = 0 'False
  64. Height = 495
  65. Left = 1560
  66. TabIndex = 22
  67. Top = 5520
  68. Width = 6015
  69. End
  70. Begin VB.TextBox Document
  71. BackColor = &H8000000F&
  72. Enabled = 0 'False
  73. Height = 495
  74. Left = 1560
  75. TabIndex = 21
  76. Top = 4920
  77. Width = 6015
  78. End
  79. Begin VB.TextBox Address
  80. BackColor = &H8000000F&
  81. Enabled = 0 'False
  82. Height = 495
  83. Left = 1560
  84. TabIndex = 20
  85. Top = 4320
  86. Width = 6015
  87. End
  88. Begin VB.TextBox Routing
  89. BackColor = &H8000000F&
  90. Enabled = 0 'False
  91. Height = 495
  92. Left = 1560
  93. TabIndex = 19
  94. Top = 3720
  95. Width = 6015
  96. End
  97. Begin VB.TextBox Sender
  98. BackColor = &H8000000F&
  99. Enabled = 0 'False
  100. Height = 495
  101. Left = 1560
  102. TabIndex = 18
  103. Top = 3120
  104. Width = 6015
  105. End
  106. Begin VB.TextBox Recipient
  107. BackColor = &H8000000F&
  108. Enabled = 0 'False
  109. Height = 495
  110. Left = 1560
  111. TabIndex = 17
  112. Top = 2520
  113. Width = 6015
  114. End
  115. Begin VB.TextBox Tsid
  116. BackColor = &H8000000F&
  117. Enabled = 0 'False
  118. Height = 495
  119. Left = 1560
  120. TabIndex = 16
  121. Top = 1920
  122. Width = 6015
  123. End
  124. Begin VB.TextBox Csid
  125. BackColor = &H8000000F&
  126. Enabled = 0 'False
  127. Height = 495
  128. Left = 1560
  129. TabIndex = 15
  130. Top = 1320
  131. Width = 6015
  132. End
  133. Begin VB.TextBox DeviceId
  134. BackColor = &H8000000F&
  135. Enabled = 0 'False
  136. Height = 495
  137. Left = 1560
  138. TabIndex = 1
  139. Top = 720
  140. Width = 1695
  141. End
  142. Begin VB.TextBox DeviceName
  143. BackColor = &H8000000F&
  144. Enabled = 0 'False
  145. Height = 495
  146. Left = 1560
  147. TabIndex = 0
  148. Top = 120
  149. Width = 6015
  150. End
  151. Begin VB.Label Label14
  152. Caption = "Doc Size:"
  153. Height = 375
  154. Left = 120
  155. TabIndex = 14
  156. Top = 7440
  157. Width = 1335
  158. End
  159. Begin VB.Label Label13
  160. Caption = "Page:"
  161. Height = 375
  162. Left = 120
  163. TabIndex = 13
  164. Top = 6840
  165. Width = 1335
  166. End
  167. Begin VB.Label Label12
  168. Caption = "Page Count:"
  169. Height = 375
  170. Left = 120
  171. TabIndex = 12
  172. Top = 6240
  173. Width = 1335
  174. End
  175. Begin VB.Label Label11
  176. Caption = "Caller Id:"
  177. Height = 375
  178. Left = 120
  179. TabIndex = 11
  180. Top = 5640
  181. Width = 1335
  182. End
  183. Begin VB.Label Label10
  184. Caption = "Document:"
  185. Height = 375
  186. Left = 120
  187. TabIndex = 10
  188. Top = 5040
  189. Width = 1335
  190. End
  191. Begin VB.Label Label9
  192. Caption = "Address:"
  193. Height = 375
  194. Left = 120
  195. TabIndex = 9
  196. Top = 4440
  197. Width = 1335
  198. End
  199. Begin VB.Label Label7
  200. Caption = "Routing:"
  201. Height = 375
  202. Left = 120
  203. TabIndex = 8
  204. Top = 3840
  205. Width = 1335
  206. End
  207. Begin VB.Label Label6
  208. Caption = "Sender:"
  209. Height = 375
  210. Left = 120
  211. TabIndex = 7
  212. Top = 3240
  213. Width = 1335
  214. End
  215. Begin VB.Label Label5
  216. Caption = "Recipient:"
  217. Height = 375
  218. Left = 120
  219. TabIndex = 6
  220. Top = 2640
  221. Width = 1335
  222. End
  223. Begin VB.Label Label4
  224. Caption = "Tsid:"
  225. Height = 375
  226. Left = 120
  227. TabIndex = 5
  228. Top = 2040
  229. Width = 1335
  230. End
  231. Begin VB.Label Label3
  232. Caption = "Csid:"
  233. Height = 375
  234. Left = 120
  235. TabIndex = 4
  236. Top = 1440
  237. Width = 1335
  238. End
  239. Begin VB.Label Label2
  240. Caption = "Device Id:"
  241. Height = 375
  242. Left = 120
  243. TabIndex = 3
  244. Top = 840
  245. Width = 1335
  246. End
  247. Begin VB.Label Label1
  248. Caption = "Name:"
  249. Height = 375
  250. Left = 120
  251. TabIndex = 2
  252. Top = 240
  253. Width = 1335
  254. End
  255. End
  256. Attribute VB_Name = "StatusDetails"
  257. Attribute VB_GlobalNameSpace = False
  258. Attribute VB_Creatable = False
  259. Attribute VB_PredeclaredId = True
  260. Attribute VB_Exposed = False
  261. Private Sub Form_Load()
  262. Height = RefreshButton.Top + RefreshButton.Height + 600
  263. Width = DeviceName.Left + DeviceName.Width + 250
  264. Display_Status
  265. End Sub
  266. Private Sub Display_Status()
  267. DeviceName.Text = PortStatus.DeviceName
  268. DeviceId.Text = CStr(PortStatus.DeviceId)
  269. Csid.Text = PortStatus.Csid
  270. Tsid.Text = PortStatus.Tsid
  271. Recipient.Text = PortStatus.RecipientName
  272. Sender.Text = PortStatus.SenderName
  273. Routing.Text = PortStatus.RoutingString
  274. Address.Text = PortStatus.Address
  275. Document.Text = PortStatus.DocumentName
  276. CallerId.Text = PortStatus.CallerId
  277. PageCount.Text = CStr(PortStatus.PageCount)
  278. CurrPage.Text = CStr(PortStatus.CurrentPage)
  279. DocSize.Text = CStr(PortStatus.DocumentSize)
  280. End Sub
  281. Private Sub RefreshButton_Click()
  282. PortStatus.Refresh
  283. Display_Status
  284. End Sub