Windows NT 4.0 source code leak
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.

141 lines
3.8 KiB

4 years ago
  1. VERSION 2.00
  2. Begin Form Form1
  3. Caption = "This is a Disptest application"
  4. ClientHeight = 3915
  5. ClientLeft = 1995
  6. ClientTop = 2115
  7. ClientWidth = 7500
  8. Height = 4320
  9. Left = 1935
  10. LinkTopic = "Form1"
  11. ScaleHeight = 3915
  12. ScaleWidth = 7500
  13. Top = 1770
  14. Width = 7620
  15. Begin CommandButton btnGetHelloValue
  16. Caption = "Get Hello's Value"
  17. Height = 500
  18. Left = 240
  19. TabIndex = 9
  20. Top = 3200
  21. Width = 2000
  22. End
  23. Begin TextBox txtSetHelloMsg
  24. Height = 285
  25. Left = 4300
  26. TabIndex = 4
  27. Top = 2205
  28. Width = 3000
  29. End
  30. Begin CommandButton btnSetHelloMsg
  31. Caption = "Set Hello Message"
  32. Height = 500
  33. Left = 195
  34. TabIndex = 3
  35. Top = 2205
  36. Width = 2000
  37. End
  38. Begin CommandButton btnGetHelloMsg
  39. Caption = "Get Hello Message"
  40. Height = 500
  41. Left = 200
  42. TabIndex = 2
  43. Top = 1200
  44. Width = 2000
  45. End
  46. Begin PictureBox picOutput
  47. Height = 735
  48. Left = 4300
  49. ScaleHeight = 705
  50. ScaleWidth = 2970
  51. TabIndex = 1
  52. Top = 195
  53. Width = 3000
  54. End
  55. Begin CommandButton btnSayHello
  56. Caption = "Say Hello"
  57. Height = 500
  58. Left = 200
  59. TabIndex = 0
  60. Top = 200
  61. Width = 2000
  62. End
  63. Begin Label lblHelloValue
  64. BorderStyle = 1 'Fixed Single
  65. Height = 260
  66. Left = 4300
  67. TabIndex = 11
  68. Top = 3200
  69. Width = 3000
  70. End
  71. Begin Label zLabel
  72. Alignment = 1 'Right Justify
  73. Caption = "Hello's' value:"
  74. Height = 255
  75. Index = 3
  76. Left = 2280
  77. TabIndex = 10
  78. Top = 3195
  79. Width = 1935
  80. End
  81. Begin Label zLabel
  82. Alignment = 1 'Right Justify
  83. Caption = "New Hello message:"
  84. Height = 255
  85. Index = 2
  86. Left = 2300
  87. TabIndex = 8
  88. Top = 2205
  89. Width = 1940
  90. End
  91. Begin Label zLabel
  92. Alignment = 1 'Right Justify
  93. Caption = "Hello message:"
  94. Height = 255
  95. Index = 1
  96. Left = 2300
  97. TabIndex = 7
  98. Top = 1200
  99. Width = 1940
  100. End
  101. Begin Label zLabel
  102. Alignment = 1 'Right Justify
  103. Caption = "Output pane:"
  104. Height = 255
  105. Index = 0
  106. Left = 2300
  107. TabIndex = 6
  108. Top = 195
  109. Width = 1940
  110. End
  111. Begin Label lblGetHelloMsg
  112. BorderStyle = 1 'Fixed Single
  113. Height = 260
  114. Left = 4300
  115. TabIndex = 5
  116. Top = 1200
  117. Width = 3000
  118. End
  119. End
  120. Dim MyObj As object
  121. Sub btnGetHelloMsg_Click ()
  122. lblGetHelloMsg.Caption = MyObj.HelloMessage
  123. End Sub
  124. Sub btnGetHelloValue_Click ()
  125. lblHelloValue.Caption = MyObj
  126. End Sub
  127. Sub btnSayHello_Click ()
  128. picOutput.Print MyObj.SayHello
  129. End Sub
  130. Sub btnSetHelloMsg_Click ()
  131. MyObj.HelloMessage = txtSetHelloMsg.Text
  132. End Sub
  133. Sub Form_Load ()
  134. Set MyObj = CreateObject("hello.application")
  135. End Sub