VERSION 5.00
Begin VB.Form ReportEvent 
   Caption         =   "װĒʕ"
   ClientHeight    =   3345
   ClientLeft      =   1140
   ClientTop       =   1545
   ClientWidth     =   4965
   LinkTopic       =   "Form1"
   PaletteMode     =   1  'Z ް
   ScaleHeight     =   3345
   ScaleWidth      =   4965
   Begin VB.CommandButton Cancel 
      Caption         =   "ݾ"
      Height          =   375
      Left            =   2520
      TabIndex        =   10
      Top             =   2760
      Width           =   1095
   End
   Begin VB.CommandButton Notify 
      Caption         =   "ʕ"
      Height          =   375
      Left            =   1320
      TabIndex        =   9
      Top             =   2760
      Width           =   1095
   End
   Begin VB.TextBox Message 
      Height          =   270
      Left            =   240
      TabIndex        =   8
      Top             =   2280
      Width           =   4455
   End
   Begin VB.Frame Frame2 
      Caption         =   ""
      Height          =   1575
      Left            =   2520
      TabIndex        =   1
      Top             =   240
      Width           =   2175
      Begin VB.OptionButton TypeError 
         Caption         =   "װ"
         Height          =   255
         Left            =   240
         TabIndex        =   6
         Top             =   1080
         Width           =   855
      End
      Begin VB.OptionButton TypeWarn 
         Caption         =   "x"
         Height          =   255
         Left            =   240
         TabIndex        =   5
         Top             =   720
         Width           =   855
      End
      Begin VB.OptionButton TypeInfo 
         Caption         =   ""
         Height          =   255
         Left            =   240
         TabIndex        =   4
         Top             =   360
         Width           =   855
      End
      Begin VB.Shape Shape3 
         FillColor       =   &H000000FF&
         FillStyle       =   0  'hԂ
         Height          =   255
         Left            =   1440
         Shape           =   4  'ۂ݂̂钷`
         Top             =   1080
         Width           =   615
      End
      Begin VB.Shape Shape2 
         FillColor       =   &H0000FFFF&
         FillStyle       =   0  'hԂ
         Height          =   255
         Left            =   1440
         Shape           =   4  'ۂ݂̂钷`
         Top             =   720
         Width           =   615
      End
      Begin VB.Shape Shape1 
         FillColor       =   &H0000FF00&
         FillStyle       =   0  'hԂ
         Height          =   255
         Left            =   1440
         Shape           =   4  'ۂ݂̂钷`
         Top             =   360
         Width           =   615
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "ʕ"
      Height          =   1575
      Left            =   240
      TabIndex        =   0
      Top             =   240
      Width           =   2175
      Begin VB.CheckBox ModePager 
         Caption         =   "߰ެ"
         Height          =   255
         Left            =   240
         TabIndex        =   3
         Top             =   720
         Width           =   1695
      End
      Begin VB.CheckBox ModeManager 
         Caption         =   "Ȱެ"
         Height          =   255
         Left            =   240
         TabIndex        =   2
         Top             =   360
         Width           =   1695
      End
   End
   Begin VB.Label Label1 
      Caption         =   "ү"
      Height          =   255
      Left            =   240
      TabIndex        =   7
      Top             =   1920
      Width           =   1095
   End
End
Attribute VB_Name = "ReportEvent"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

'[LZ{^]NbN
'
'   F_CAO
'
Private Sub Cancel_Click()
    '_CAO
    Unload ReportEvent
End Sub

'[ʕ{^]NbN
'
'   Fw肳ꂽŃA[gʕ񂷂
'
Private Sub Notify_Click()
    'ʒm擾
    dwMode& = 0
    If (ModeManager.Value = 1) Then
        dwMode& = dwMode& + JMSS_JALT_MODE_MANAGER
    End If
    If (ModePager.Value = 1) Then
        dwMode& = dwMode& + JMSS_JALT_MODE_PAGER
    End If
    
    'ʎ擾
    dwType& = 0
    If (TypeInfo.Value = True) Then
        dwType& = dwType& + JMSS_JALT_TYPE_INFORMATION
    End If
    If (TypeWarn.Value = True) Then
        dwType& = dwType& + JMSS_JALT_TYPE_WARNING
    End If
    If (TypeError.Value = True) Then
        dwType& = dwType& + JMSS_JALT_TYPE_ERROR
    End If
    
    '*** A[gʕ ***
    lRet& = JmssReportEvent(dwMode&, dwType&, Message.Text + Chr$(0))
    If (lRet& <> 0) Then
        ErrorMsg lRet&
    End If
    
    '_CAO
    Unload ReportEvent
End Sub


