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.

70 lines
1.9 KiB

  1. VERSION 5.00
  2. Begin VB.Form ChatDialog
  3. BorderStyle = 3 'Fixed Dialog
  4. Caption = "Chat"
  5. ClientHeight = 4875
  6. ClientLeft = 2760
  7. ClientTop = 3750
  8. ClientWidth = 6735
  9. LinkTopic = "Form1"
  10. MaxButton = 0 'False
  11. MinButton = 0 'False
  12. ScaleHeight = 4875
  13. ScaleWidth = 6735
  14. ShowInTaskbar = 0 'False
  15. Begin VB.TextBox OutputChatText
  16. Height = 2775
  17. Left = 120
  18. MultiLine = -1 'True
  19. TabIndex = 3
  20. Top = 120
  21. Width = 6495
  22. End
  23. Begin VB.TextBox EditChatText
  24. Height = 615
  25. Left = 120
  26. MultiLine = -1 'True
  27. TabIndex = 2
  28. Top = 3120
  29. Width = 4935
  30. End
  31. Begin VB.CommandButton CancelButton
  32. Caption = "Close"
  33. Height = 375
  34. Left = 5280
  35. TabIndex = 1
  36. Top = 4200
  37. Width = 1215
  38. End
  39. Begin VB.CommandButton SendButton
  40. Caption = "Send"
  41. Default = -1 'True
  42. Height = 375
  43. Left = 5280
  44. TabIndex = 0
  45. Top = 3120
  46. Width = 1215
  47. End
  48. Begin VB.Line Line1
  49. X1 = 120
  50. X2 = 6240
  51. Y1 = 3960
  52. Y2 = 3960
  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 CancelButton_Click()
  62. ChatDialog.Hide
  63. End Sub
  64. Private Sub SendButton_Click()
  65. Call Form1.ChatChannel.SendChannelData(ChatDialog.EditChatText.Text)
  66. ChatDialog.EditChatText.Text = ""
  67. End Sub