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.

80 lines
2.1 KiB

  1. VERSION 5.00
  2. Begin VB.Form ChatDialog
  3. BorderStyle = 3 'Fixed Dialog
  4. Caption = "Chat"
  5. ClientHeight = 5565
  6. ClientLeft = 2760
  7. ClientTop = 3750
  8. ClientWidth = 6480
  9. LinkTopic = "Form1"
  10. MaxButton = 0 'False
  11. MinButton = 0 'False
  12. ScaleHeight = 5565
  13. ScaleWidth = 6480
  14. ShowInTaskbar = 0 'False
  15. Begin VB.TextBox OutputChatText
  16. Height = 3375
  17. Left = 120
  18. MultiLine = -1 'True
  19. TabIndex = 3
  20. Top = 120
  21. Width = 6255
  22. End
  23. Begin VB.CommandButton Command1
  24. Caption = "Send"
  25. Default = -1 'True
  26. Height = 375
  27. Left = 5040
  28. TabIndex = 2
  29. Top = 3600
  30. Width = 1215
  31. End
  32. Begin VB.TextBox EditChatText
  33. Height = 855
  34. Left = 120
  35. MultiLine = -1 'True
  36. TabIndex = 1
  37. Top = 3600
  38. Width = 4695
  39. End
  40. Begin VB.CommandButton CloseButton
  41. Caption = "Close"
  42. Height = 375
  43. Left = 5040
  44. TabIndex = 0
  45. Top = 4920
  46. Width = 1215
  47. End
  48. Begin VB.Line Line1
  49. X1 = 120
  50. X2 = 6120
  51. Y1 = 4680
  52. Y2 = 4680
  53. End
  54. End
  55. Attribute VB_Name = "ChatDialog"
  56. Attribute VB_GlobalNameSpace = False
  57. Attribute VB_Creatable = False
  58. Attribute VB_PredeclaredId = True
  59. Attribute VB_Exposed = False
  60. Option Explicit
  61. Private Sub CloseButton_Click()
  62. ChatDialog.Hide
  63. End Sub
  64. Private Sub Command1_Click()
  65. 'Dim Tmp As String
  66. 'Dim i As Integer
  67. 'Tmp = "String"
  68. 'For i = 1 To 2000 Step 1
  69. 'Tmp = Tmp + "X"
  70. 'Next i
  71. Call Form1.RemoteDesktopClientObj.SendChannelData(70, ChatDialog.EditChatText.Text)
  72. 'Call Form1.RemoteDesktopClientObj.SendChannelData(70, Tmp)
  73. ChatDialog.EditChatText.Text = ""
  74. End Sub