Leaked source code of windows server 2003
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.

155 lines
6.5 KiB

  1. VERSION 5.00
  2. Begin VB.PropertyPage ppgFinish
  3. Caption = "File Explorer Configuration Complete"
  4. ClientHeight = 3600
  5. ClientLeft = 0
  6. ClientTop = 0
  7. ClientWidth = 4800
  8. PaletteMode = 0 'Halftone
  9. ScaleHeight = 3600
  10. ScaleWidth = 4800
  11. Begin VB.Label Label1
  12. Caption = "Your File Explorer is now configured."
  13. BeginProperty Font
  14. Name = "Arial"
  15. Size = 12
  16. Charset = 0
  17. Weight = 700
  18. Underline = 0 'False
  19. Italic = -1 'True
  20. Strikethrough = 0 'False
  21. EndProperty
  22. Height = 615
  23. Left = 240
  24. TabIndex = 0
  25. Top = 240
  26. Width = 3735
  27. End
  28. End
  29. Attribute VB_Name = "ppgFinish"
  30. Attribute VB_GlobalNameSpace = False
  31. Attribute VB_Creatable = True
  32. Attribute VB_PredeclaredId = False
  33. Attribute VB_Exposed = True
  34. Option Explicit
  35. ' ===========================================================================
  36. ' | THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF |
  37. ' | ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
  38. ' | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
  39. ' | PARTICULAR PURPOSE. |
  40. ' | Copyright (c) 1998-1999 Microsoft Corporation |
  41. ' ===========================================================================
  42. ' =============================================================================
  43. ' File: ppgNetDrives.pag
  44. ' Project: FileExplorerSample
  45. ' Type: Property Page for Configuration Wizard
  46. ' =============================================================================
  47. ' Property pages used in a configuration wizard must implement the IWizardPage
  48. ' interface defined by the snap-in designer runtime. The runtime uses this
  49. ' interface to communicate Win32 property sheet events to the page. Note that
  50. ' unlike event handlers, methods of an implemented interface must all be present
  51. ' in the source file even if they do not contain any code.
  52. Implements IWizardPage
  53. ' =============================================================================
  54. ' Method: IWizardPage_Activate
  55. ' Type: Interface Method
  56. ' Description: Called when the page is about to be displayed.
  57. '
  58. ' Parameters: EnableBack Defaults to True. Set to False to disable the
  59. ' Back button.
  60. ' NextOrFinish Defaults to NextButton. Determines type of
  61. ' second button. Other options are
  62. ' EnabledFinishButton and DisabledFinishButton.
  63. ' FinishText If using a Finish button, determines the text
  64. ' that will be displayed in the button. If not
  65. ' set then defaults to "Finish".
  66. ' Output: None
  67. ' Notes: As this is not the first page of the wizard we enable the
  68. ' back button. As this is the last page of the wizard, we request
  69. ' an enabled Finish button rather than a Next button.
  70. ' =============================================================================
  71. '
  72. Private Sub IWizardPage_Activate(EnableBack As Boolean, _
  73. NextOrFinish As SnapInLib.WizardPageButtonConstants, _
  74. FinishText As String)
  75. EnableBack = True
  76. NextOrFinish = EnabledFinishButton
  77. End Sub
  78. ' =============================================================================
  79. ' Method: IWizardPage_Back
  80. ' Type: Interface Method
  81. ' Description: Called when the user clicks the Back button
  82. '
  83. ' Parameters: NextPage Defaults to zero to allow the user to return
  84. ' to the previous page. Set to -1 to disallow
  85. ' the move, or to a positive integer to move to
  86. ' another page. Pages are numbered from 1 to n
  87. ' based on the order in which the snap-in called
  88. ' PropertySheet.AddWizardPage.
  89. ' Output: None
  90. ' Notes: None
  91. ' =============================================================================
  92. '
  93. Private Sub IWizardPage_Back(NextPage As Long)
  94. End Sub
  95. ' =============================================================================
  96. ' Method: IWizardPage_Cancel
  97. ' Type: Interface Method
  98. ' Description: Called when the user clicks the Cancel button
  99. '
  100. ' Parameters: Allow Defaults to True to allow the user to cancel
  101. ' the wizard. Set to False to disallow the
  102. ' the cancel.
  103. ' Output: None
  104. ' Notes: None
  105. ' =============================================================================
  106. '
  107. Private Sub IWizardPage_Cancel(Allow As Boolean)
  108. Allow = True
  109. End Sub
  110. ' =============================================================================
  111. ' Method: IWizardPage_Finish
  112. ' Type: Interface Method
  113. ' Description: Called when the user clicks the Finish button
  114. '
  115. ' Parameters: Allow Defaults to True to allow the user to finish
  116. ' the wizard. Set to False to disallow the
  117. ' the finish.
  118. ' Output: None
  119. ' Notes: None
  120. ' =============================================================================
  121. '
  122. Private Sub IWizardPage_Finish(Allow As Boolean)
  123. Allow = True
  124. End Sub
  125. ' =============================================================================
  126. ' Method: IWizardPage_Next
  127. ' Type: Interface Method
  128. ' Description: Called when the user clicks the Next button
  129. '
  130. ' Parameters: NextPage Defaults to zero to allow the user to proceed
  131. ' to the next page. Set to -1 to disallow
  132. ' the move, or to a positive integer to move to
  133. ' another page. Pages are numbered from 1 to n
  134. ' based on the order in which the snap-in called
  135. ' PropertySheet.AddWizardPage.
  136. ' Output: None
  137. ' Notes: None
  138. ' =============================================================================
  139. '
  140. Private Sub IWizardPage_Next(NextPage As Long)
  141. End Sub