frm_part_sumprice.frm

来自「汽修厂管理软件」· FRM 代码 · 共 139 行

FRM
139
字号
VERSION 5.00
Begin VB.Form Frm_Part_SumPrice 
   Caption         =   "?对话"
   ClientHeight    =   2655
   ClientLeft      =   6180
   ClientTop       =   4440
   ClientWidth     =   4905
   ControlBox      =   0   'False
   Icon            =   "Frm_Part_SumPrice.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   2655
   ScaleWidth      =   4905
   Begin VB.CommandButton Command1 
      Caption         =   "取消"
      Height          =   255
      Left            =   2400
      TabIndex        =   10
      Top             =   2040
      Width           =   1335
   End
   Begin VB.ComboBox Comb_Way 
      Height          =   300
      Left            =   1920
      TabIndex        =   8
      Text            =   "Combo1"
      Top             =   1440
      Visible         =   0   'False
      Width           =   1455
   End
   Begin VB.CommandButton Cmd_Ok 
      Caption         =   "确定"
      Height          =   255
      Left            =   480
      TabIndex        =   7
      Top             =   2040
      Width           =   1215
   End
   Begin VB.TextBox Txt_Price 
      Alignment       =   1  'Right Justify
      Height          =   270
      Left            =   1920
      TabIndex        =   4
      Text            =   "1"
      Top             =   960
      Width           =   855
   End
   Begin VB.TextBox Txt_PartSum 
      Alignment       =   1  'Right Justify
      Height          =   270
      Left            =   1920
      TabIndex        =   1
      Text            =   "1"
      Top             =   480
      Width           =   855
   End
   Begin VB.Label Lbl_Way 
      Caption         =   "交易方式:"
      Height          =   375
      Left            =   720
      TabIndex        =   9
      Top             =   1440
      Visible         =   0   'False
      Width           =   855
   End
   Begin VB.Label Label5 
      Caption         =   "元"
      Height          =   255
      Left            =   3000
      TabIndex        =   6
      Top             =   1080
      Width           =   255
   End
   Begin VB.Label Label4 
      Caption         =   "个"
      Height          =   255
      Left            =   3000
      TabIndex        =   5
      Top             =   600
      Width           =   255
   End
   Begin VB.Label lbl_SinglePrice 
      Caption         =   "  单价"
      Height          =   255
      Left            =   600
      TabIndex        =   3
      Top             =   960
      Width           =   855
   End
   Begin VB.Label lbl_Title 
      Caption         =   "Label2"
      Height          =   255
      Left            =   240
      TabIndex        =   2
      Top             =   120
      Width           =   1695
   End
   Begin VB.Label lbl_Sum 
      Caption         =   "数量"
      Height          =   255
      Left            =   840
      TabIndex        =   0
      Top             =   600
      Width           =   855
   End
End
Attribute VB_Name = "Frm_Part_SumPrice"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public Dicision As Boolean
Private Sub Cmd_Ok_Click()
    Dicision = True
    Me.Hide
End Sub

Private Sub Command1_Click()
Dicision = False
Me.Hide
End Sub

Private Sub Form_Activate()
  
Txt_PartSum.SelStart = 0
Txt_PartSum.SelLength = Len(Txt_PartSum.Text)
Txt_PartSum.SetFocus
End Sub




Private Sub Form_Load()
Comb_way.AddItem "现金"
Comb_way.AddItem "记帐"
Comb_way.ListIndex = 0
'Txt_Price.SetFocus
End Sub

⌨️ 快捷键说明

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