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

📄 frmmain.frm

📁 VB开发OPC Client的教程和源码
💻 FRM
📖 第 1 页 / 共 5 页
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "Comdlg32.ocx"
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "Comctl32.ocx"
Begin VB.Form frmMain 
   Caption         =   "KEPServerEX_OPC_Example"
   ClientHeight    =   5805
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   7185
   LinkTopic       =   "Form1"
   ScaleHeight     =   5805
   ScaleWidth      =   7185
   StartUpPosition =   3  'Windows Default
   Begin VB.Timer Timer1 
      Interval        =   50
      Left            =   5880
      Top             =   480
   End
   Begin VB.PictureBox picSplitter 
      BackColor       =   &H00808080&
      BorderStyle     =   0  'None
      FillColor       =   &H00808080&
      Height          =   4800
      Left            =   5400
      ScaleHeight     =   2090.126
      ScaleMode       =   0  'User
      ScaleWidth      =   780
      TabIndex        =   6
      Top             =   705
      Visible         =   0   'False
      Width           =   72
   End
   Begin ComctlLib.TreeView tvTreeView 
      Height          =   5220
      Left            =   0
      TabIndex        =   5
      ToolTipText     =   "Right Click Here to add OPC Servers and Groups"
      Top             =   300
      Width           =   2010
      _ExtentX        =   3545
      _ExtentY        =   9208
      _Version        =   327682
      HideSelection   =   0   'False
      LabelEdit       =   1
      LineStyle       =   1
      Style           =   7
      Appearance      =   1
   End
   Begin ComctlLib.ListView lvListView 
      Height          =   5250
      Left            =   2040
      TabIndex        =   4
      ToolTipText     =   "With a group selected in the tree view to the left, use the right mouse button to add an item to the group"
      Top             =   285
      Width           =   3210
      _ExtentX        =   5662
      _ExtentY        =   9260
      View            =   3
      LabelEdit       =   1
      LabelWrap       =   -1  'True
      HideSelection   =   0   'False
      _Version        =   327682
      ForeColor       =   -2147483640
      BackColor       =   -2147483643
      BorderStyle     =   1
      Appearance      =   1
      NumItems        =   0
   End
   Begin VB.PictureBox picTitles 
      Align           =   1  'Align Top
      Appearance      =   0  'Flat
      BorderStyle     =   0  'None
      ForeColor       =   &H80000008&
      Height          =   300
      Left            =   0
      ScaleHeight     =   300
      ScaleWidth      =   7185
      TabIndex        =   1
      TabStop         =   0   'False
      Top             =   0
      Width           =   7185
      Begin VB.Label lblTitle 
         BorderStyle     =   1  'Fixed Single
         Caption         =   "Item List:"
         Height          =   270
         Index           =   1
         Left            =   2040
         TabIndex        =   3
         Tag             =   "ItemList:"
         Top             =   0
         Width           =   3210
      End
      Begin VB.Label lblTitle 
         BorderStyle     =   1  'Fixed Single
         Caption         =   "  Server && Groups:"
         Height          =   270
         Index           =   0
         Left            =   0
         TabIndex        =   2
         Tag             =   " Server & Groups:"
         Top             =   0
         Width           =   2010
      End
   End
   Begin ComctlLib.StatusBar sbStatusBar 
      Align           =   2  'Align Bottom
      Height          =   270
      Left            =   0
      TabIndex        =   0
      Top             =   5535
      Width           =   7185
      _ExtentX        =   12674
      _ExtentY        =   476
      SimpleText      =   ""
      _Version        =   327682
      BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7} 
         NumPanels       =   3
         BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            AutoSize        =   1
            Object.Width           =   7038
            Text            =   "Status"
            TextSave        =   "Status"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel2 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Style           =   6
            AutoSize        =   2
            TextSave        =   "11/8/2001"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
         BeginProperty Panel3 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
            Style           =   5
            AutoSize        =   2
            TextSave        =   "9:44 AM"
            Key             =   ""
            Object.Tag             =   ""
         EndProperty
      EndProperty
   End
   Begin MSComDlg.CommonDialog dlgCommonDialog 
      Left            =   5880
      Top             =   1440
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.Image imgSplitter 
      Height          =   4788
      Left            =   1965
      MousePointer    =   9  'Size W E
      Top             =   705
      Width           =   150
   End
   Begin ComctlLib.ImageList imlIcons 
      Left            =   6000
      Top             =   2400
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   16
      ImageHeight     =   16
      MaskColor       =   12632256
      _Version        =   327682
      BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7} 
         NumListImages   =   11
         BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":0000
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":0352
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":06A4
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":09F6
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":0D48
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":109A
            Key             =   ""
         EndProperty
         BeginProperty ListImage7 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":13EC
            Key             =   ""
         EndProperty
         BeginProperty ListImage8 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":173E
            Key             =   ""
         EndProperty
         BeginProperty ListImage9 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":1A90
            Key             =   ""
         EndProperty
         BeginProperty ListImage10 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":1DE2
            Key             =   ""
         EndProperty
         BeginProperty ListImage11 {0713E8C3-850A-101B-AFC0-4210102A8DA7} 
            Picture         =   "frmMain.frx":2134
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Menu mnuFile 
      Caption         =   "&File"
      Begin VB.Menu mnuFileExit 
         Caption         =   "&Exit"
      End
   End
   Begin VB.Menu mnuView 
      Caption         =   "&View"
      Begin VB.Menu mnuViewUpdateDispaly 
         Caption         =   "Item Display &Update Interval..."
      End
      Begin VB.Menu mnuViewBar1 
         Caption         =   "-"
      End
      Begin VB.Menu mnuViewStatusBar 
         Caption         =   "Status &Bar"
         Checked         =   -1  'True
      End
   End
   Begin VB.Menu mnuHelp 
      Caption         =   "&Help"
      Begin VB.Menu mnuHelpAbout 
         Caption         =   "&About KEPServerEX_OPC_Example..."
      End
   End
   Begin VB.Menu mnuTreeView 
      Caption         =   "TreeViewContext"
      Visible         =   0   'False
      Begin VB.Menu mnuTreeViewNewServer 
         Caption         =   "New &Server Connection..."
         Enabled         =   0   'False
         Visible         =   0   'False
      End
      Begin VB.Menu mnuTreeViewNewGroup 
         Caption         =   "New &Group..."
         Enabled         =   0   'False
         Visible         =   0   'False
      End
      Begin VB.Menu mnuTreeViewNewItem 
         Caption         =   "New &Item"
      End
      Begin VB.Menu mnuTreeContextBar1 
         Caption         =   "-"
      End
      Begin VB.Menu mnuTreeViewProperties 
         Caption         =   "&Properties..."
         Enabled         =   0   'False
         Visible         =   0   'False
      End
      Begin VB.Menu mnuTreeContextBar2 
         Caption         =   "-"
      End
      Begin VB.Menu mnuTreeViewDelete 
         Caption         =   "&Delete"
         Enabled         =   0   'False
         Visible         =   0   'False
      End
   End
   Begin VB.Menu mnuListView 
      Caption         =   "ListViewContext"
      Enabled         =   0   'False
      Visible         =   0   'False
      Begin VB.Menu mnuListViewNewItem 
         Caption         =   "New &Item..."
      End
      Begin VB.Menu mnuListViewBar1 
         Caption         =   "-"
      End
      Begin VB.Menu mnuListViewSetActive 
         Caption         =   "Set &Active"
      End
      Begin VB.Menu mnuListViewSetInactive 
         Caption         =   "Set I&nactive"
      End
      Begin VB.Menu mnuListViewBar2 
         Caption         =   "-"
      End
      Begin VB.Menu mnuListViewWriteValue 
         Caption         =   "&Write Value..."
      End
      Begin VB.Menu mnuListViewBar3 

⌨️ 快捷键说明

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