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

📄 form1.frm

📁 金蝶 K3 外挂主控台方案+源代码 VB开发
💻 FRM
字号:
VERSION 5.00
Begin VB.Form form1 
   Caption         =   "二次开发模块"
   ClientHeight    =   2040
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   2040
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame1 
      Caption         =   "用户及连接串"
      Height          =   1830
      Left            =   120
      TabIndex        =   0
      Top             =   90
      Width           =   4455
      Begin VB.CommandButton Command2 
         Caption         =   "Command2"
         Height          =   255
         Left            =   2400
         TabIndex        =   6
         Top             =   1440
         Width           =   1455
      End
      Begin VB.CommandButton Command1 
         Caption         =   "获取"
         Height          =   270
         Left            =   360
         TabIndex        =   5
         Top             =   1380
         Width           =   1335
      End
      Begin VB.TextBox txtPropsString 
         Height          =   330
         Left            =   1215
         TabIndex        =   2
         Top             =   855
         Width           =   2790
      End
      Begin VB.TextBox txtUser 
         Height          =   330
         Left            =   1230
         TabIndex        =   1
         Top             =   345
         Width           =   2790
      End
      Begin VB.Label Label2 
         Caption         =   "连接串:"
         Height          =   210
         Left            =   315
         TabIndex        =   4
         Top             =   930
         Width           =   660
      End
      Begin VB.Label Label1 
         Caption         =   "用户名:"
         Height          =   210
         Left            =   315
         TabIndex        =   3
         Top             =   420
         Width           =   735
      End
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()
'    If CheckMts(True) Then
        txtUser.Text = MMTS.UserName
        txtPropsString.Text = MMTS.PropsString
'    Else
'        MsgBox "登录失败"
'    End If
End Sub


Private Sub Command2_Click()
    Dim objlookup As Object
                    Set objlookup = CreateObject("K3ClassLookUp.SingleBillLookUp")
                    With objlookup
                        .ClassTypeID = 1001818 '单据类型ID
                        .ShowType = 1 'Enu_ShowType.Enu_Explore
                        .Show
                    End With
                    Set objlookup = Nothing

End Sub

⌨️ 快捷键说明

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