⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 submenu_1.frm

📁 防红帽子的shell 我是从别处下的,喜欢的朋友自已
💻 FRM
字号:
VERSION 5.00
Begin VB.Form SubMenu_Internet 
   BackColor       =   &H00C0C0C0&
   BorderStyle     =   0  'None
   ClientHeight    =   3090
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   2985
   ControlBox      =   0   'False
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3090
   ScaleWidth      =   2985
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin Project1.MenuButton Button 
      Height          =   375
      Index           =   0
      Left            =   0
      TabIndex        =   0
      Top             =   345
      Width           =   2940
      _ExtentX        =   5186
      _ExtentY        =   661
      Hold_Caption    =   ""
   End
End
Attribute VB_Name = "SubMenu_Internet"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'人人为我,我为人人
'枕善居汉化收藏整理
'发布日期:2006/11/10
'描    述:仿红帽子操作系统Shell
'网    站:http://www.Mndsoft.com/  (VB6源码博客)
'网    站:http://www.VbDnet.com/   (VB.NET源码博客,主要基于.NET2005)
'e-mail  :Mndsoft@163.com
'e-mail  :Mndsoft@126.com
'OICQ    :88382850
'          如果您有新的好的代码别忘记给枕善居哦!
'****************************************************************************
Public ButtonIndex As Integer

Function ShowForm()
    TransForm Me.hwnd, 0
    Me.Show
    Dim i As Long
    For i = 100 To 255 Step 10
        TransForm Me.hwnd, CByte(i)
        DoEvents
    Next
    TransForm Me.hwnd, 255
End Function

Private Sub Button_MouseOver(Index As Integer)
    FrmStartMenu.Button(ButtonIndex).LoadGUI_OVER
End Sub

Private Sub Form_Load()
    Dim x, y
    For x = 0 To 5
        If x = 0 Then
            Button(x).CapTop = True
            Button(x).CapBottom = True
            Button(x).Top = 0
            Button(x).Caption = "执行浏览器"
        Else
            Load Button(x)
            If x = 5 Then
            Button(x).CapBottom = True
            Button(x).CapTop = False
            Else
            Button(x).CapBottom = False
            Button(x).CapTop = False
            End If
            
            Button(x).Top = Button(x - 1).Top + Button(x - 1).Height
            Button(x).Visible = True
            Select Case x
            Case 1
            Button(x).Caption = "网络链接"
            Case 2
            Button(x).Caption = "设置新连接"
            Case 3
            Button(x).Caption = "网络信息"
            Case 4
            Button(x).Caption = "带宽监视器"
            Case 5
            Button(x).Caption = "网络设置"
            End Select
        End If
            Button(x).Left = 0
            Button(x).SubClassMe
            'Button(X).Icon = 18 - X
    Next
    
    Me.Width = Button(0).Width
    Me.Height = Button(5).Top + Button(5).Height

End Sub

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
    FrmStartMenu.Button(ButtonIndex).LoadGUI_OVER
End Sub

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
    Me.Visible = False
    FrmStartMenu.Button(ButtonIndex).LoadGUI
    UnloadAll
End Sub

Function UnloadAll()
    Dim x
    For x = 0 To 5
        Button(x).UnSubClassMe
    Next
End Function

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -