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

📄 frmmessage.frm

📁 传奇网吧伴侣源码
💻 FRM
字号:
VERSION 5.00
Object = "{4034C11D-8602-11D1-9840-002078110E7D}#1.0#0"; "ASASSISTANTPOPUP.OCX"
Object = "{D19CC187-8393-11D1-983F-002078110E7D}#1.0#0"; "ASBUBBLEFORM.OCX"
Begin VB.Form frmMessage 
   BackColor       =   &H00C0E0FF&
   BorderStyle     =   0  'None
   Caption         =   "Form1"
   ClientHeight    =   2325
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   3315
   LinkTopic       =   "Form1"
   ScaleHeight     =   2325
   ScaleWidth      =   3315
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin asBubbleWindow.asBubbleForm BForm 
      Height          =   2175
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   3135
      _ExtentX        =   5530
      _ExtentY        =   3836
      BackColor       =   12648447
      ArrowHeight     =   16
      Radius          =   12
      Begin asAssistantPopup.asAssisPopup PopEnter 
         Height          =   345
         Left            =   360
         TabIndex        =   2
         Top             =   1440
         Width           =   1005
         _ExtentX        =   1773
         _ExtentY        =   609
         BackColor       =   12648447
         Caption         =   "确定 "
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin asAssistantPopup.asAssisPopup PopCancel 
         Height          =   345
         Left            =   1680
         TabIndex        =   1
         Top             =   1440
         Width           =   1005
         _ExtentX        =   1773
         _ExtentY        =   609
         BackColor       =   12648447
         Caption         =   "设置 "
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "Label1"
         Height          =   1020
         Index           =   1
         Left            =   120
         TabIndex        =   4
         Top             =   360
         Width           =   2940
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "传奇设计欢迎您光临!"
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   3
         Top             =   120
         Width           =   2775
      End
   End
End
Attribute VB_Name = "frmMessage"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
On Error GoTo ErrCode6:
MoveForm
'调整窗口
'MsgBox strMessage, , "Mess"
'设定提示文字
Label1(1).Caption = strMessage
BForm.CreateRegion
Beep

Exit Sub
ErrCode6:
MsgBox "传奇网吧伴侣气泡式窗口无法正常启动,请重新下载或安装!", , "气泡式窗口启动出错"
Unload Me

End Sub

Private Sub PopCancel_Click()
Unload Me
frmBubble.Show
End Sub

Private Sub PopEnter_Click()
Unload Me
End Sub

Private Function MoveForm()

PopEnter.Top = BForm.Top + BForm.Height - PopEnter.Height * 2
PopCancel.Top = PopEnter.Top

If frmGirl.Top < Me.Height Then
With Me
BForm.Style = asbf_RightTop
.Top = frmGirl.Top + 20 * Screen.TwipsPerPixelX '+ MovForm.Height + 32 * Screen.TwipsPerPixelX
.Left = frmGirl.Left - Me.Width + 16 * Screen.TwipsPerPixelY
'.BForm.Top = .ScaleTop
'.BForm.Left = .ScaleLeft
.BForm.Width = .ScaleWidth
'.BForm.Height = .ScaleHeight
.BForm.BackColor = BForm_BackColor
.PopCancel.BackColor = BForm.BackColor
.PopEnter.BackColor = BForm.BackColor
.PopEnter.Top = BForm.Top + BForm.Height - PopEnter.Height * 2 + 14 * Screen.TwipsPerPixelY
.PopCancel.Top = PopEnter.Top

End With
Else
With Me
BForm.Style = asbf_BottomRight
.Top = frmGirl.Top - .Height + 42 * Screen.TwipsPerPixelX
.Left = frmGirl.Left - .Width + 48 * Screen.TwipsPerPixelY
.BForm.Top = .ScaleTop
.BForm.Left = .ScaleLeft

'.BForm.Width = .ScaleWidth
'.BForm.Height = .ScaleHeight
.BForm.BackColor = BForm_BackColor
End With

End If

End Function


⌨️ 快捷键说明

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