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

📄 frmcalendar.frm

📁 用vb编写的能管理自己日程计划的程序。后台用access数据库
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmCalendar 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Form1"
   ClientHeight    =   5520
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6600
   Icon            =   "frmCalendar.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5520
   ScaleWidth      =   6600
   StartUpPosition =   2  'CenterScreen
   Begin VB.Frame framePlan 
      Height          =   375
      Left            =   5085
      TabIndex        =   30
      Top             =   0
      Width           =   915
      Begin MSComCtl2.DTPicker dtpDate 
         Height          =   330
         Left            =   135
         TabIndex        =   36
         Top             =   360
         Width           =   1230
         _ExtentX        =   2170
         _ExtentY        =   582
         _Version        =   393216
         Format          =   53542913
         CurrentDate     =   37768
      End
      Begin VB.TextBox txtPlantype 
         BackColor       =   &H80000004&
         Height          =   285
         Left            =   1305
         Locked          =   -1  'True
         TabIndex        =   10
         Top             =   3960
         Width           =   3255
      End
      Begin VB.CommandButton cmdPlantype 
         Caption         =   "类别..."
         Height          =   285
         Left            =   135
         TabIndex        =   9
         Top             =   3960
         Width           =   1050
      End
      Begin VB.TextBox txtPlanlinkman 
         BackColor       =   &H80000004&
         Height          =   285
         Left            =   1305
         Locked          =   -1  'True
         TabIndex        =   8
         Top             =   3510
         Width           =   4830
      End
      Begin VB.CommandButton cmdPlanlinkman 
         Caption         =   "联系人..."
         Height          =   285
         Left            =   135
         TabIndex        =   7
         Top             =   3510
         Width           =   1050
      End
      Begin VB.ComboBox cboTimeType 
         Height          =   315
         ItemData        =   "frmCalendar.frx":030A
         Left            =   2520
         List            =   "frmCalendar.frx":0314
         Style           =   2  'Dropdown List
         TabIndex        =   6
         Top             =   3060
         Width           =   870
      End
      Begin VB.TextBox txtPlanawoke 
         Height          =   285
         Left            =   1935
         TabIndex        =   5
         Top             =   3060
         Width           =   465
      End
      Begin VB.CheckBox chkPlan 
         Caption         =   "提醒"
         Height          =   195
         Left            =   405
         TabIndex        =   4
         Top             =   3105
         Width           =   735
      End
      Begin VB.TextBox txtPlan 
         Height          =   1815
         Left            =   90
         MultiLine       =   -1  'True
         ScrollBars      =   2  'Vertical
         TabIndex        =   3
         Top             =   1080
         Width           =   6045
      End
      Begin VB.ComboBox cboEndTime 
         Height          =   300
         Left            =   4725
         TabIndex        =   2
         Top             =   360
         Width           =   1410
      End
      Begin VB.ComboBox cboStartTime 
         Height          =   300
         Left            =   3150
         TabIndex        =   1
         Top             =   360
         Width           =   1410
      End
      Begin VB.Label lblPlan 
         Caption         =   "提前:"
         Height          =   240
         Left            =   1395
         TabIndex        =   35
         Top             =   3105
         Width           =   645
      End
      Begin VB.Label Label10 
         Caption         =   "内容:"
         Height          =   240
         Left            =   135
         TabIndex        =   34
         Top             =   855
         Width           =   735
      End
      Begin VB.Label Label9 
         Caption         =   "结束时间:"
         Height          =   195
         Left            =   4725
         TabIndex        =   33
         Top             =   135
         Width           =   915
      End
      Begin VB.Label Label8 
         Caption         =   "开始时间:"
         Height          =   195
         Left            =   3150
         TabIndex        =   32
         Top             =   135
         Width           =   915
      End
      Begin VB.Label Label7 
         Caption         =   "日期:"
         Height          =   195
         Left            =   135
         TabIndex        =   31
         Top             =   135
         Width           =   825
      End
   End
   Begin VB.Frame frameThing 
      Height          =   4335
      Left            =   180
      TabIndex        =   21
      Top             =   450
      Width           =   6225
      Begin VB.TextBox txtThingtype 
         BackColor       =   &H80000004&
         Height          =   270
         Left            =   1395
         Locked          =   -1  'True
         TabIndex        =   20
         Top             =   3960
         Width           =   3255
      End
      Begin VB.CommandButton cmdThingtype 
         Caption         =   "类别..."
         Height          =   285
         Left            =   180
         TabIndex        =   19
         Top             =   3960
         Width           =   1050
      End
      Begin VB.TextBox txtThinglinkman 
         BackColor       =   &H80000004&
         Height          =   270
         Left            =   1395
         Locked          =   -1  'True
         TabIndex        =   18
         Top             =   3510
         Width           =   4740
      End
      Begin VB.CommandButton cmdThinglinkman 
         Caption         =   "联系人..."
         Height          =   285
         Left            =   180
         TabIndex        =   17
         Top             =   3510
         Width           =   1050
      End
      Begin VB.TextBox txtThingAwoke 
         Height          =   270
         Left            =   2070
         TabIndex        =   16
         Top             =   3060
         Width           =   375
      End
      Begin VB.CheckBox chkThing 
         Caption         =   "提醒"
         Height          =   240
         Left            =   450
         TabIndex        =   15
         Top             =   3105
         Width           =   825
      End
      Begin VB.TextBox txtThing 
         Height          =   1860
         Left            =   90
         MultiLine       =   -1  'True
         ScrollBars      =   2  'Vertical
         TabIndex        =   14
         Top             =   1035
         Width           =   6045
      End
      Begin VB.TextBox txtEndDate 
         Height          =   270
         Left            =   1440
         TabIndex        =   12
         Top             =   360
         Width           =   1230
      End
      Begin VB.TextBox txtStartDate 
         Height          =   270
         Left            =   90
         TabIndex        =   11
         Top             =   360
         Width           =   1230
      End
      Begin VB.ComboBox cboStatus 
         Height          =   300
         ItemData        =   "frmCalendar.frx":0324
         Left            =   5040
         List            =   "frmCalendar.frx":0331
         Style           =   2  'Dropdown List
         TabIndex        =   13
         Top             =   360
         Width           =   1095
      End
      Begin VB.Label lblThing 
         Caption         =   "天"
         Height          =   195
         Index           =   1
         Left            =   2565
         TabIndex        =   29
         Top             =   3105
         Width           =   420
      End
      Begin VB.Label lblThing 
         Caption         =   "提前:"
         Height          =   240
         Index           =   0
         Left            =   1530
         TabIndex        =   28
         Top             =   3105
         Width           =   600
      End
      Begin VB.Label Label4 
         Caption         =   "内容:"
         Height          =   240
         Left            =   135
         TabIndex        =   27
         Top             =   810
         Width           =   780
      End
      Begin VB.Label Label3 
         Caption         =   "状态:"
         Height          =   240
         Left            =   5040
         TabIndex        =   26
         Top             =   135
         Width           =   780
      End
      Begin VB.Label Label2 
         Caption         =   "结束日期:"
         Height          =   240
         Left            =   1440
         TabIndex        =   25
         Top             =   135
         Width           =   915
      End
      Begin VB.Label Label1 
         Caption         =   "开始日期:"
         Height          =   195
         Left            =   90
         TabIndex        =   23
         Top             =   135
         Width           =   960
      End
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "取消"
      Height          =   330
      Left            =   4905
      TabIndex        =   24
      Top             =   5040
      Width           =   1185
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确定"
      Height          =   330
      Left            =   3465
      TabIndex        =   22
      Top             =   5040
      Width           =   1185
   End
   Begin MSComctlLib.TabStrip TabStrip1 
      Height          =   4695
      Left            =   135
      TabIndex        =   0
      TabStop         =   0   'False
      Top             =   135
      Width           =   6360
      _ExtentX        =   11218
      _ExtentY        =   8281
      _Version        =   393216
      BeginProperty Tabs {1EFB6598-857C-11D1-B16A-00C0F0283628} 
         NumTabs         =   1
         BeginProperty Tab1 {1EFB659A-857C-11D1-B16A-00C0F0283628} 
            ImageVarType    =   2
         EndProperty
      EndProperty
   End
End
Attribute VB_Name = "frmCalendar"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'*****************************************************
'*
'*                  增加或修改任务或计划
'*
'*****************************************************

Private strNewlinkman As String    '任务或日程安排的新的联系人设置
Private strNewType As String       '任务或日程安排的新的类别设置
Private blnChangedFlag As Boolean  '任务或日程安排的修改标志
Private blnTextFlag As Boolean  '当程序改控件的值是时,防止执行控件Change事件的代码的标志
Private lngchkValue As Long
Private lngStatus As Long
Private m_SelectedLinkman As String
Private m_SelectedType As String

Public Property Let SelectedLinkman(newValue As String)

    m_SelectedLinkman = newValue
    
End Property

Public Property Get SelectedLinkman() As String

⌨️ 快捷键说明

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