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

📄 formdemo1.frm

📁 适合乡镇供电所使用电费处理系统v3 软件
💻 FRM
📖 第 1 页 / 共 2 页
字号:
         Caption         =   "表四倍率:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   3990
         TabIndex        =   58
         Top             =   3795
         Width           =   855
      End
      Begin VB.Label Label32 
         BackStyle       =   0  'Transparent
         Caption         =   "表四位数:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   3990
         TabIndex        =   57
         Top             =   3390
         Width           =   855
      End
      Begin VB.Label Label31 
         BackStyle       =   0  'Transparent
         Caption         =   "表三倍率:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4005
         TabIndex        =   56
         Top             =   3030
         Width           =   855
      End
      Begin VB.Label Label30 
         BackStyle       =   0  'Transparent
         Caption         =   "表三位数:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4020
         TabIndex        =   55
         Top             =   2655
         Width           =   855
      End
      Begin VB.Label Label29 
         BackStyle       =   0  'Transparent
         Caption         =   "表二倍率:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4005
         TabIndex        =   54
         Top             =   2310
         Width           =   855
      End
      Begin VB.Label Label28 
         BackStyle       =   0  'Transparent
         Caption         =   "表二位数:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4020
         TabIndex        =   53
         Top             =   1965
         Width           =   855
      End
      Begin VB.Label Label27 
         BackStyle       =   0  'Transparent
         Caption         =   "表一倍率:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4020
         TabIndex        =   52
         Top             =   1590
         Width           =   855
      End
      Begin VB.Label Label26 
         BackStyle       =   0  'Transparent
         Caption         =   "表一位数:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4035
         TabIndex        =   51
         Top             =   1215
         Width           =   855
      End
      Begin VB.Label Label25 
         BackStyle       =   0  'Transparent
         Caption         =   "表计类型:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4035
         TabIndex        =   50
         Top             =   870
         Width           =   855
      End
      Begin VB.Label Label24 
         BackStyle       =   0  'Transparent
         Caption         =   "表计编号:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   4050
         TabIndex        =   49
         Top             =   540
         Width           =   855
      End
      Begin VB.Label Label23 
         BackColor       =   &H00C0C0FF&
         Caption         =   "表计户信息"
         ForeColor       =   &H000000C0&
         Height          =   195
         Left            =   3960
         TabIndex        =   48
         Top             =   225
         Width           =   1230
      End
      Begin VB.Shape Shape4 
         BorderColor     =   &H8000000C&
         Height          =   4500
         Left            =   3855
         Top             =   285
         Width           =   3840
      End
      Begin VB.Shape Shape3 
         BorderColor     =   &H80000009&
         Height          =   4500
         Left            =   3870
         Top             =   300
         Width           =   3840
      End
      Begin VB.Label Label22 
         BackStyle       =   0  'Transparent
         Caption         =   "铁    损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   1965
         TabIndex        =   39
         Top             =   4530
         Width           =   810
      End
      Begin VB.Label Label21 
         BackStyle       =   0  'Transparent
         Caption         =   "铜    损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   1950
         TabIndex        =   38
         Top             =   4215
         Width           =   810
      End
      Begin VB.Label Label20 
         BackStyle       =   0  'Transparent
         Caption         =   "低压线损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   1950
         TabIndex        =   37
         Top             =   3915
         Width           =   810
      End
      Begin VB.Label Label19 
         BackStyle       =   0  'Transparent
         Caption         =   "高压线损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   1950
         TabIndex        =   36
         Top             =   3600
         Width           =   810
      End
      Begin VB.Label Label18 
         BackStyle       =   0  'Transparent
         Caption         =   "铁    损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   105
         TabIndex        =   35
         Top             =   4515
         Width           =   810
      End
      Begin VB.Label Label17 
         BackStyle       =   0  'Transparent
         Caption         =   "铜    损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   105
         TabIndex        =   34
         Top             =   4200
         Width           =   810
      End
      Begin VB.Label Label16 
         BackStyle       =   0  'Transparent
         Caption         =   "低压线损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   90
         TabIndex        =   33
         Top             =   3900
         Width           =   810
      End
      Begin VB.Label Label15 
         BackStyle       =   0  'Transparent
         Caption         =   "高压线损:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   120
         TabIndex        =   32
         Top             =   3585
         Width           =   810
      End
      Begin VB.Label Label14 
         BackStyle       =   0  'Transparent
         Caption         =   "分摊数值"
         ForeColor       =   &H000000C0&
         Height          =   225
         Left            =   2250
         TabIndex        =   31
         Top             =   3270
         Width           =   765
      End
      Begin VB.Label Label13 
         BackStyle       =   0  'Transparent
         Caption         =   "分摊办法"
         ForeColor       =   &H000000C0&
         Height          =   225
         Left            =   900
         TabIndex        =   30
         Top             =   3270
         Width           =   810
      End
      Begin VB.Shape Shape2 
         BorderColor     =   &H8000000C&
         Height          =   4455
         Left            =   30
         Top             =   300
         Width           =   3765
      End
      Begin VB.Line Line2 
         X1              =   45
         X2              =   3780
         Y1              =   3210
         Y2              =   3210
      End
      Begin VB.Line Line1 
         BorderColor     =   &H80000009&
         X1              =   45
         X2              =   3780
         Y1              =   3225
         Y2              =   3225
      End
      Begin VB.Label Label12 
         BackStyle       =   0  'Transparent
         Caption         =   "参加力调:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   105
         TabIndex        =   22
         Top             =   2895
         Width           =   825
      End
      Begin VB.Label Label11 
         BackStyle       =   0  'Transparent
         Caption         =   "计量方式:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   105
         TabIndex        =   21
         Top             =   2550
         Width           =   855
      End
      Begin VB.Label Label10 
         BackStyle       =   0  'Transparent
         Caption         =   "执行电价:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   120
         TabIndex        =   20
         Top             =   2190
         Width           =   885
      End
      Begin VB.Label Label9 
         BackStyle       =   0  'Transparent
         Caption         =   "母表营号:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   105
         TabIndex        =   19
         Top             =   1830
         Width           =   915
      End
      Begin VB.Label Label8 
         BackStyle       =   0  'Transparent
         Caption         =   "定比定量:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   105
         TabIndex        =   18
         Top             =   1485
         Width           =   870
      End
      Begin VB.Label Label7 
         BackStyle       =   0  'Transparent
         Caption         =   "是否虚表:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   120
         TabIndex        =   17
         Top             =   1140
         Width           =   855
      End
      Begin VB.Label Label6 
         BackStyle       =   0  'Transparent
         Caption         =   "总户号:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   120
         TabIndex        =   16
         Top             =   795
         Width           =   780
      End
      Begin VB.Label Label5 
         BackStyle       =   0  'Transparent
         Caption         =   "营业号:"
         ForeColor       =   &H00FF0000&
         Height          =   240
         Left            =   135
         TabIndex        =   14
         Top             =   480
         Width           =   780
      End
      Begin VB.Shape Shape1 
         BorderColor     =   &H80000009&
         Height          =   4455
         Left            =   45
         Top             =   315
         Width           =   3765
      End
   End
   Begin MSComctlLib.TreeView TreeView1 
      Height          =   4755
      Left            =   -15
      TabIndex        =   0
      Top             =   285
      Width           =   2880
      _ExtentX        =   5080
      _ExtentY        =   8387
      _Version        =   393217
      LineStyle       =   1
      Style           =   7
      HotTracking     =   -1  'True
      ImageList       =   "ImageList1"
      Appearance      =   1
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   11.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.Label Label3 
      BackColor       =   &H00000080&
      BackStyle       =   0  'Transparent
      Caption         =   "    营业户10100101211"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   255
      Left            =   5235
      TabIndex        =   4
      Top             =   -15
      Width           =   2370
   End
   Begin VB.Label Label2 
      BackColor       =   &H00000080&
      BackStyle       =   0  'Transparent
      Caption         =   "    该台区下共有140户"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   255
      Left            =   150
      TabIndex        =   2
      Top             =   5100
      Width           =   2985
   End
   Begin VB.Label Label1 
      BackColor       =   &H00000080&
      Caption         =   "          用户定位"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000E&
      Height          =   255
      Left            =   0
      TabIndex        =   1
      Top             =   30
      Width           =   2865
   End
End
Attribute VB_Name = "FormDemo1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command9_Click()
   End
End Sub

Private Sub Form_Load()
  TreeView1.Nodes.Clear
  TreeView1.Refresh
  TreeView1.Sorted = True
  OpenMdb
  Set MdbR = NdMd.OpenRecordset("村档案")
  While Not MdbR.EOF
     Zdm = MdbR.Fields("村代码")
     Set Node1 = TreeView1.Nodes.Add(, , , "(" & Trim(MdbR.Fields("村代码")) & ")" & MdbR.Fields("简称"), 1)
     Set Cdm = NdMd.OpenRecordset("SELECT 用户表码,组合编码,用户名称 FROM 用户电费 WHERE 用户电费.村代码= '" & Trim(Zdm) & "' ORDER BY 用户表码 ASC")
     While Not Cdm.EOF
        Set Node2 = TreeView1.Nodes.Add(Node1.Index, tvwChild, , "(" & Trim(Cdm.Fields("用户表码")) & ")" & Cdm.Fields("用户名称"), 1)
        Cdm.MoveNext
     Wend
'     Node1.Expanded = True
     MdbR.MoveNext
  Wend
  MdbR.MoveFirst
  Exit Sub

End Sub

⌨️ 快捷键说明

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