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.

600 lines
18 KiB

  1. VERSION 5.00
  2. Begin VB.Form DocProperty
  3. Caption = "Document Properties"
  4. ClientHeight = 13485
  5. ClientLeft = 4650
  6. ClientTop = 825
  7. ClientWidth = 9375
  8. LinkTopic = "Form1"
  9. ScaleHeight = 13485
  10. ScaleWidth = 9375
  11. Begin VB.TextBox SenderAddress
  12. Height = 495
  13. Left = 6480
  14. TabIndex = 61
  15. Top = 9000
  16. Width = 2415
  17. End
  18. Begin VB.Frame Frame1
  19. Caption = "File Name for transmission"
  20. Height = 1455
  21. Left = 4800
  22. TabIndex = 57
  23. Top = 6960
  24. Width = 4215
  25. Begin VB.TextBox DisplayName
  26. Height = 375
  27. Left = 240
  28. TabIndex = 59
  29. Text = "Display Name"
  30. Top = 960
  31. Width = 3615
  32. End
  33. Begin VB.TextBox FileName
  34. Height = 375
  35. Left = 240
  36. TabIndex = 58
  37. Top = 360
  38. Width = 3615
  39. End
  40. End
  41. Begin VB.TextBox CoverpageNote
  42. Height = 495
  43. Left = 4080
  44. TabIndex = 54
  45. Top = 2280
  46. Width = 4815
  47. End
  48. Begin VB.TextBox CoverpageSubject
  49. Height = 495
  50. Left = 1200
  51. TabIndex = 53
  52. Top = 2280
  53. Width = 1935
  54. End
  55. Begin VB.TextBox EmailAddress
  56. Height = 495
  57. Left = 6480
  58. TabIndex = 48
  59. Top = 11880
  60. Width = 2415
  61. End
  62. Begin VB.TextBox SenderOfficePhone
  63. Height = 495
  64. Left = 6480
  65. TabIndex = 47
  66. Top = 11160
  67. Width = 2415
  68. End
  69. Begin VB.TextBox SenderHomePhone
  70. Height = 495
  71. Left = 6480
  72. TabIndex = 46
  73. Top = 10440
  74. Width = 2415
  75. End
  76. Begin VB.TextBox SenderOffice
  77. Height = 495
  78. Left = 6480
  79. TabIndex = 45
  80. Top = 9720
  81. Width = 2415
  82. End
  83. Begin VB.CommandButton Cancel
  84. Caption = "Cancel"
  85. Height = 615
  86. Left = 5423
  87. TabIndex = 44
  88. Top = 12600
  89. Width = 1455
  90. End
  91. Begin VB.CommandButton OK
  92. Caption = "OK"
  93. Height = 615
  94. Left = 3263
  95. TabIndex = 43
  96. Top = 12600
  97. Width = 1575
  98. End
  99. Begin VB.TextBox SenderTitle
  100. Height = 495
  101. Left = 1800
  102. TabIndex = 37
  103. Top = 11880
  104. Width = 2535
  105. End
  106. Begin VB.TextBox SenderCompany
  107. Height = 495
  108. Left = 1800
  109. TabIndex = 36
  110. Top = 11160
  111. Width = 2535
  112. End
  113. Begin VB.TextBox SenderDepartment
  114. Height = 495
  115. Left = 1800
  116. TabIndex = 35
  117. Top = 10440
  118. Width = 2535
  119. End
  120. Begin VB.TextBox SenderNumber
  121. Height = 495
  122. Left = 1800
  123. TabIndex = 34
  124. Top = 9720
  125. Width = 2535
  126. End
  127. Begin VB.TextBox SenderName
  128. Height = 495
  129. Left = 1800
  130. TabIndex = 33
  131. Top = 9000
  132. Width = 2535
  133. End
  134. Begin VB.TextBox RecipientCountry
  135. Height = 495
  136. Left = 6480
  137. TabIndex = 27
  138. Top = 6120
  139. Width = 2415
  140. End
  141. Begin VB.TextBox RecipientZip
  142. Height = 495
  143. Left = 6480
  144. TabIndex = 26
  145. Top = 5400
  146. Width = 2415
  147. End
  148. Begin VB.TextBox RecipientState
  149. Height = 495
  150. Left = 6480
  151. TabIndex = 25
  152. Top = 4680
  153. Width = 2415
  154. End
  155. Begin VB.TextBox RecipientCity
  156. Height = 495
  157. Left = 6480
  158. TabIndex = 24
  159. Top = 3960
  160. Width = 2415
  161. End
  162. Begin VB.TextBox RecipientAddress
  163. Height = 495
  164. Left = 6480
  165. TabIndex = 23
  166. Top = 3240
  167. Width = 2415
  168. End
  169. Begin VB.TextBox RecipientOffice
  170. Height = 495
  171. Left = 1800
  172. TabIndex = 15
  173. Top = 6120
  174. Width = 2535
  175. End
  176. Begin VB.TextBox RecipientOfficePhone
  177. Height = 495
  178. Left = 1800
  179. TabIndex = 14
  180. Top = 7680
  181. Width = 2535
  182. End
  183. Begin VB.TextBox RecipientHomePhone
  184. Height = 495
  185. Left = 1800
  186. TabIndex = 13
  187. Top = 6840
  188. Width = 2535
  189. End
  190. Begin VB.TextBox RecipientTitle
  191. Height = 495
  192. Left = 1800
  193. TabIndex = 12
  194. Top = 5400
  195. Width = 2535
  196. End
  197. Begin VB.TextBox RecipientCompany
  198. Height = 495
  199. Left = 1800
  200. TabIndex = 11
  201. Top = 4680
  202. Width = 2535
  203. End
  204. Begin VB.TextBox RecipientDepartment
  205. Height = 495
  206. Left = 1800
  207. TabIndex = 10
  208. Top = 3960
  209. Width = 2535
  210. End
  211. Begin VB.TextBox RecipientName
  212. Height = 495
  213. Left = 1800
  214. TabIndex = 9
  215. Top = 3240
  216. Width = 2535
  217. End
  218. Begin VB.TextBox BillingCode
  219. Height = 495
  220. Left = 6720
  221. TabIndex = 7
  222. Top = 1320
  223. Width = 2175
  224. End
  225. Begin VB.OptionButton SendNow
  226. Caption = "Send Immediately"
  227. Height = 615
  228. Left = 6960
  229. TabIndex = 6
  230. Top = 240
  231. Width = 1695
  232. End
  233. Begin VB.OptionButton DiscountRate
  234. Caption = "Discount Rate"
  235. Height = 615
  236. Left = 5400
  237. TabIndex = 5
  238. Top = 240
  239. Width = 1455
  240. End
  241. Begin VB.TextBox FaxNumber
  242. Height = 495
  243. Left = 1800
  244. TabIndex = 3
  245. Top = 240
  246. Width = 3015
  247. End
  248. Begin VB.Frame coverpage
  249. Caption = "Coverpage"
  250. Height = 1095
  251. Left = 120
  252. TabIndex = 0
  253. Top = 960
  254. Width = 5055
  255. Begin VB.TextBox CoverpageName
  256. Height = 495
  257. Left = 1680
  258. TabIndex = 2
  259. Top = 360
  260. Width = 3015
  261. End
  262. Begin VB.CheckBox SendCoverpage
  263. Caption = "Cover Page?"
  264. Height = 375
  265. Left = 240
  266. TabIndex = 1
  267. Top = 480
  268. Width = 1335
  269. End
  270. End
  271. Begin VB.Label Label26
  272. Caption = "Email Address :"
  273. Height = 375
  274. Left = 5040
  275. TabIndex = 60
  276. Top = 12000
  277. Width = 1215
  278. End
  279. Begin VB.Label Label25
  280. Caption = "Note :"
  281. Height = 255
  282. Left = 3360
  283. TabIndex = 56
  284. Top = 2400
  285. Width = 615
  286. End
  287. Begin VB.Label Label24
  288. Caption = "Subject :"
  289. Height = 375
  290. Left = 240
  291. TabIndex = 55
  292. Top = 2400
  293. Width = 855
  294. End
  295. Begin VB.Label Label23
  296. Caption = "Sender Office Phone:"
  297. Height = 495
  298. Left = 5040
  299. TabIndex = 52
  300. Top = 11160
  301. Width = 1215
  302. End
  303. Begin VB.Label Label22
  304. Caption = "Sender Home Phone :"
  305. Height = 375
  306. Left = 5040
  307. TabIndex = 51
  308. Top = 10440
  309. Width = 1335
  310. End
  311. Begin VB.Label Label21
  312. Caption = "Sender Office :"
  313. Height = 255
  314. Left = 5040
  315. TabIndex = 50
  316. Top = 9840
  317. Width = 1335
  318. End
  319. Begin VB.Label Label20
  320. Caption = "Sender Address :"
  321. Height = 375
  322. Left = 5040
  323. TabIndex = 49
  324. Top = 9240
  325. Width = 1455
  326. End
  327. Begin VB.Label Label19
  328. Caption = "Sender Title :"
  329. Height = 255
  330. Left = 240
  331. TabIndex = 42
  332. Top = 12000
  333. Width = 1335
  334. End
  335. Begin VB.Label Label18
  336. Caption = "Sender Company :"
  337. Height = 375
  338. Left = 240
  339. TabIndex = 41
  340. Top = 11280
  341. Width = 1455
  342. End
  343. Begin VB.Label Label17
  344. Caption = "Sender Department :"
  345. Height = 495
  346. Left = 240
  347. TabIndex = 40
  348. Top = 10560
  349. Width = 1335
  350. End
  351. Begin VB.Label Label16
  352. Caption = "Sender Fax Number :"
  353. Height = 375
  354. Left = 240
  355. TabIndex = 39
  356. Top = 9840
  357. Width = 1335
  358. End
  359. Begin VB.Label Label15
  360. Caption = "Sender Name :"
  361. Height = 255
  362. Left = 240
  363. TabIndex = 38
  364. Top = 9120
  365. Width = 1455
  366. End
  367. Begin VB.Line Line3
  368. BorderWidth = 5
  369. X1 = 240
  370. X2 = 9000
  371. Y1 = 3000
  372. Y2 = 3000
  373. End
  374. Begin VB.Line Line2
  375. BorderWidth = 5
  376. X1 = 0
  377. X2 = 9120
  378. Y1 = 0
  379. Y2 = 0
  380. End
  381. Begin VB.Line Line1
  382. BorderWidth = 5
  383. X1 = 360
  384. X2 = 9000
  385. Y1 = 8640
  386. Y2 = 8640
  387. End
  388. Begin VB.Label Label14
  389. Caption = "Recipient Country :"
  390. Height = 255
  391. Left = 4920
  392. TabIndex = 32
  393. Top = 6240
  394. Width = 1455
  395. End
  396. Begin VB.Label Label13
  397. Caption = "Recipient Zip Code :"
  398. Height = 375
  399. Left = 4920
  400. TabIndex = 31
  401. Top = 5520
  402. Width = 1455
  403. End
  404. Begin VB.Label Label12
  405. Caption = "Recipient State :"
  406. Height = 255
  407. Left = 4920
  408. TabIndex = 30
  409. Top = 4800
  410. Width = 1215
  411. End
  412. Begin VB.Label Label11
  413. Caption = "Recipient City :"
  414. Height = 255
  415. Left = 4920
  416. TabIndex = 29
  417. Top = 4080
  418. Width = 1455
  419. End
  420. Begin VB.Label Label10
  421. Caption = "Recipient Address :"
  422. Height = 255
  423. Left = 4920
  424. TabIndex = 28
  425. Top = 3360
  426. Width = 1575
  427. End
  428. Begin VB.Label Label9
  429. Caption = "Recipient Office Phone :"
  430. Height = 495
  431. Left = 240
  432. TabIndex = 22
  433. Top = 7800
  434. Width = 1575
  435. End
  436. Begin VB.Label Label8
  437. Caption = "Recipient Home Phone :"
  438. Height = 495
  439. Left = 240
  440. TabIndex = 21
  441. Top = 6960
  442. Width = 1335
  443. End
  444. Begin VB.Label Label7
  445. Caption = "Recipient Office :"
  446. Height = 375
  447. Left = 240
  448. TabIndex = 20
  449. Top = 6240
  450. Width = 1575
  451. End
  452. Begin VB.Label Label6
  453. Caption = "Recipient Title: "
  454. Height = 255
  455. Left = 240
  456. TabIndex = 19
  457. Top = 5520
  458. Width = 1335
  459. End
  460. Begin VB.Label Label5
  461. Caption = "Recipient Company:"
  462. Height = 375
  463. Left = 240
  464. TabIndex = 18
  465. Top = 4800
  466. Width = 1455
  467. End
  468. Begin VB.Label Label4
  469. Caption = "Recipient Dept:"
  470. Height = 255
  471. Left = 240
  472. TabIndex = 17
  473. Top = 4080
  474. Width = 1215
  475. End
  476. Begin VB.Label Label3
  477. Caption = "Recipient Name :"
  478. Height = 375
  479. Left = 240
  480. TabIndex = 16
  481. Top = 3360
  482. Width = 1335
  483. End
  484. Begin VB.Label Label2
  485. Caption = "Billing Code :"
  486. Height = 375
  487. Left = 5520
  488. TabIndex = 8
  489. Top = 1440
  490. Width = 1095
  491. End
  492. Begin VB.Label Label1
  493. Caption = "Fax Number"
  494. Height = 375
  495. Left = 360
  496. TabIndex = 4
  497. Top = 360
  498. Width = 1335
  499. End
  500. End
  501. Attribute VB_Name = "DocProperty"
  502. Attribute VB_GlobalNameSpace = False
  503. Attribute VB_Creatable = False
  504. Attribute VB_PredeclaredId = True
  505. Attribute VB_Exposed = False
  506. Private Sub Cancel_Click()
  507. Unload DocProperty
  508. End Sub
  509. Private Sub Form_Load()
  510. FileName.Text = FaxDocument.FileName
  511. DisplayName.Text = FaxDocument.DisplayName
  512. FaxNumber.Text = FaxDocument.FaxNumber
  513. CoverpageName.Text = FaxDocument.CoverpageName
  514. BillingCode.Text = FaxDocument.BillingCode
  515. If (FaxDocument.DiscountSend <> False) Then
  516. DiscountRate.Value = True
  517. SendNow.Value = False
  518. Else
  519. DiscountRate.Value = False
  520. SendNow.Value = True
  521. End If
  522. If (FaxDocument.SendCoverpage <> False) Then
  523. SendCoverpage.Value = 1
  524. Else
  525. SendCoverpage.Value = 0
  526. End If
  527. EmailAddress.Text = FaxDocument.EmailAddress
  528. RecipientName.Text = FaxDocument.RecipientName
  529. RecipientCompany.Text = FaxDocument.RecipientCompany
  530. RecipientAddress.Text = FaxDocument.RecipientAddress
  531. RecipientCity.Text = FaxDocument.RecipientCity
  532. RecipientState.Text = FaxDocument.RecipientState
  533. RecipientCountry.Text = FaxDocument.RecipientCountry
  534. RecipientTitle.Text = FaxDocument.RecipientTitle
  535. RecipientZip.Text = FaxDocument.RecipientZip
  536. RecipientDepartment.Text = FaxDocument.RecipientDepartment
  537. RecipientOffice.Text = FaxDocument.RecipientOffice
  538. RecipientHomePhone.Text = FaxDocument.RecipientHomePhone
  539. RecipientOfficePhone.Text = FaxDocument.RecipientOfficePhone
  540. SenderName.Text = FaxDocument.SenderName
  541. SenderCompany.Text = FaxDocument.SenderCompany
  542. SenderAddress.Text = FaxDocument.SenderAddress
  543. SenderTitle.Text = FaxDocument.SenderTitle
  544. SenderDepartment.Text = FaxDocument.SenderDepartment
  545. SenderOffice.Text = FaxDocument.SenderOffice
  546. SenderHomePhone.Text = FaxDocument.SenderHomePhone
  547. SenderOfficePhone.Text = FaxDocument.SenderOfficePhone
  548. SenderNumber.Text = FaxDocument.Tsid
  549. CoverpageNote.Text = FaxDocument.CoverpageNote
  550. CoverpageSubject.Text = FaxDocument.CoverpageSubject
  551. End Sub
  552. Private Sub OK_Click()
  553. FaxDocument.FileName = FileName.Text
  554. FaxDocument.DisplayName = DisplayName.Text
  555. FaxDocument.SendCoverpage = SendCoverpage.Value
  556. FaxDocument.FaxNumber = FaxNumber.Text
  557. FaxDocument.CoverpageName = CoverpageName.Text
  558. FaxDocument.BillingCode = BillingCode.Text
  559. FaxDocument.DiscountSend = DiscountRate.Value
  560. FaxDocument.EmailAddress = EmailAddress.Text
  561. FaxDocument.RecipientName = RecipientName.Text
  562. FaxDocument.RecipientCompany = RecipientCompany.Text
  563. FaxDocument.RecipientAddress = RecipientAddress.Text
  564. FaxDocument.RecipientCity = RecipientCity.Text
  565. FaxDocument.RecipientState = RecipientState.Text
  566. FaxDocument.RecipientCountry = RecipientCountry.Text
  567. FaxDocument.RecipientTitle = RecipientTitle.Text
  568. FaxDocument.RecipientZip = RecipientZip.Text
  569. FaxDocument.RecipientDepartment = RecipientDepartment.Text
  570. FaxDocument.RecipientOffice = RecipientOffice.Text
  571. FaxDocument.RecipientHomePhone = RecipientHomePhone.Text
  572. FaxDocument.RecipientOfficePhone = RecipientOfficePhone.Text
  573. FaxDocument.SenderName = SenderName.Text
  574. FaxDocument.SenderCompany = SenderCompany.Text
  575. FaxDocument.SenderAddress = SenderAddress.Text
  576. FaxDocument.SenderTitle = SenderTitle.Text
  577. FaxDocument.SenderDepartment = SenderDepartment.Text
  578. FaxDocument.SenderOffice = SenderOffice.Text
  579. FaxDocument.SenderHomePhone = SenderHomePhone.Text
  580. FaxDocument.SenderOfficePhone = SenderOfficePhone.Text
  581. FaxDocument.Tsid = SenderNumber.Text
  582. FaxDocument.CoverpageNote = CoverpageNote.Text
  583. FaxDocument.CoverpageSubject = CoverpageSubject.Text
  584. Unload DocProperty
  585. End Sub