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

📄 mailoptfrm.frm

📁 很好的
💻 FRM
字号:
VERSION 5.00
Begin VB.Form MailOptFrm 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "收发邮件设置"
   ClientHeight    =   3900
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   5460
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3900
   ScaleWidth      =   5460
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton CancelBt 
      Caption         =   "取消"
      Height          =   375
      Left            =   3240
      TabIndex        =   10
      Top             =   3465
      Width           =   1095
   End
   Begin VB.CommandButton OKBt 
      Caption         =   "确认"
      Height          =   375
      Left            =   1800
      TabIndex        =   9
      Top             =   3465
      Width           =   1095
   End
   Begin VB.TextBox MailPassword 
      Appearance      =   0  'Flat
      Height          =   375
      IMEMode         =   3  'DISABLE
      Left            =   1545
      PasswordChar    =   "*"
      TabIndex        =   6
      Text            =   "Password"
      Top             =   2865
      Width           =   2775
   End
   Begin VB.TextBox UserName 
      Appearance      =   0  'Flat
      Height          =   375
      Left            =   1560
      TabIndex        =   5
      Text            =   "UserName"
      Top             =   2385
      Width           =   2775
   End
   Begin VB.CheckBox retRecip 
      Caption         =   "返回接收提示"
      Height          =   375
      Left            =   555
      TabIndex        =   4
      Top             =   1830
      Width           =   2670
   End
   Begin VB.CheckBox LogonUI 
      Caption         =   "提供登录对话框"
      Height          =   375
      Left            =   555
      TabIndex        =   3
      Top             =   1425
      Width           =   2670
   End
   Begin VB.CheckBox NewSession 
      Caption         =   "建立新邮件会话"
      Height          =   375
      Left            =   555
      TabIndex        =   2
      Top             =   990
      Width           =   2670
   End
   Begin VB.CheckBox SendMapiDLG 
      Caption         =   "使用MAPI对话框发送电子邮件"
      Height          =   375
      Left            =   555
      TabIndex        =   1
      Top             =   105
      Width           =   2670
   End
   Begin VB.CheckBox DownLoadMail 
      Caption         =   "将电子邮件下载到硬盘"
      Height          =   375
      Left            =   555
      TabIndex        =   0
      Top             =   540
      Width           =   2670
   End
   Begin VB.Label Password 
      Alignment       =   1  'Right Justify
      Caption         =   "口令:"
      Height          =   255
      Left            =   240
      TabIndex        =   8
      Top             =   2985
      Width           =   1215
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "用户帐号:"
      Height          =   255
      Left            =   240
      TabIndex        =   7
      Top             =   2505
      Width           =   1215
   End
End
Attribute VB_Name = "MailOptFrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CancelBt_Click()
Unload Me
End Sub

Private Sub Form_Load()
'根据MAPISession控件的属性初始化收发邮件设置的各控件的值
UserName.Text = VBMail.MAPISess.UserName
MailPassword.Text = VBMail.MAPISess.Password
NewSession.Value = Abs(VBMail.MAPISess.NewSession)
LogonUI.Value = Abs(VBMail.MAPISess.LogonUI)
DownLoadMail.Value = Abs(VBMail.MAPISess.DownLoadMail)
SendMapiDLG.Value = Abs(SendWithMapi)
retRecip.Value = Abs(ReturnRequest)
End Sub

Private Sub OKBt_Click()
'根据设置的值对MAPISession控件进行设置
VBMail.MAPISess.UserName = UserName.Text
VBMail.MAPISess.Password = MailPassword.Text
VBMail.MAPISess.NewSession = NewSession.Value
VBMail.MAPISess.LogonUI = LogonUI.Value
VBMail.MAPISess.DownLoadMail = DownLoadMail.Value
SendWithMapi = SendMapiDLG.Value
ReturnRequest = retRecip.Value
Unload Me
End Sub

⌨️ 快捷键说明

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