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

📄 frmsales.frm

📁 this code helps u to understand the basic thing to connect visual basic with sqlserver. this ll be v
💻 FRM
📖 第 1 页 / 共 2 页
字号:
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 frmSales 
   BackColor       =   &H00E0E0E0&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Sales"
   ClientHeight    =   6960
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   9750
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "frmSales.frx":0000
   ScaleHeight     =   6960
   ScaleWidth      =   9750
   StartUpPosition =   2  'CenterScreen
   Begin Inventory_System.ctrCommand cmdFindR 
      Height          =   255
      Left            =   3720
      TabIndex        =   33
      Top             =   240
      Width           =   1455
      _extentx        =   2566
      _extenty        =   450
      caption         =   "Find Record"
      backcolor       =   16777215
      font            =   "frmSales.frx":BE60
      mousepointer    =   99
   End
   Begin VB.CommandButton cmdEdit 
      Caption         =   "&Edit"
      Height          =   735
      Left            =   2520
      Picture         =   "frmSales.frx":BE8C
      Style           =   1  'Graphical
      TabIndex        =   30
      Top             =   5760
      Width           =   975
   End
   Begin VB.CommandButton cmdExit 
      Caption         =   "E&xit"
      Height          =   735
      Left            =   6360
      Picture         =   "frmSales.frx":C3EE
      Style           =   1  'Graphical
      TabIndex        =   29
      Top             =   5760
      Width           =   975
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "&Cancel"
      Enabled         =   0   'False
      Height          =   735
      Left            =   4680
      Picture         =   "frmSales.frx":CA0F
      Style           =   1  'Graphical
      TabIndex        =   28
      Top             =   5760
      Width           =   975
   End
   Begin VB.CommandButton cmdSave 
      Caption         =   "&Save"
      Enabled         =   0   'False
      Height          =   735
      Left            =   3600
      Picture         =   "frmSales.frx":CC37
      Style           =   1  'Graphical
      TabIndex        =   27
      Top             =   5760
      Width           =   975
   End
   Begin VB.CommandButton cmdNew 
      Caption         =   "&New"
      Height          =   735
      Left            =   1440
      Picture         =   "frmSales.frx":CF0C
      Style           =   1  'Graphical
      TabIndex        =   26
      Top             =   5760
      Width           =   975
   End
   Begin VB.Frame Frame3 
      BackColor       =   &H00C0C0C0&
      Height          =   615
      Left            =   5640
      TabIndex        =   23
      Top             =   4800
      Width           =   3735
      Begin VB.TextBox txtGrand 
         BackColor       =   &H00C0E0FF&
         BeginProperty DataFormat 
            Type            =   1
            Format          =   """Php""#,##0.00"
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   13321
            SubFormatType   =   2
         EndProperty
         Height          =   285
         Left            =   1800
         Locked          =   -1  'True
         TabIndex        =   25
         Top             =   240
         Width           =   1575
      End
      Begin VB.Label Label10 
         Caption         =   "Grand Total:"
         Height          =   255
         Left            =   240
         TabIndex        =   24
         Top             =   240
         Width           =   1335
      End
   End
   Begin VB.Frame Frame2 
      BackColor       =   &H00C0C0C0&
      Height          =   1575
      Left            =   360
      TabIndex        =   15
      Top             =   3840
      Width           =   4935
      Begin Inventory_System.ctrCommand cmdTransfer 
         Height          =   615
         Left            =   3600
         TabIndex        =   32
         Top             =   600
         Visible         =   0   'False
         Width           =   735
         _extentx        =   1296
         _extenty        =   1085
         caption         =   "<"
         font            =   "frmSales.frx":D92C
      End
      Begin VB.CommandButton cmdOk 
         Enabled         =   0   'False
         Height          =   615
         Left            =   3600
         Picture         =   "frmSales.frx":D958
         Style           =   1  'Graphical
         TabIndex        =   22
         Top             =   600
         Width           =   735
      End
      Begin VB.TextBox txtTotal 
         BackColor       =   &H00C0E0FF&
         Enabled         =   0   'False
         Height          =   285
         Left            =   1680
         TabIndex        =   21
         Top             =   960
         Width           =   1815
      End
      Begin VB.TextBox txtUnitP 
         BackColor       =   &H00C0E0FF&
         Enabled         =   0   'False
         Height          =   285
         Left            =   1680
         TabIndex        =   20
         Top             =   600
         Width           =   1815
      End
      Begin VB.TextBox txtQuant 
         BackColor       =   &H00C0E0FF&
         Enabled         =   0   'False
         Height          =   285
         Left            =   1680
         TabIndex        =   19
         Top             =   240
         Width           =   1815
      End
      Begin VB.Label Label9 
         Caption         =   "Total:"
         Height          =   255
         Left            =   120
         TabIndex        =   18
         Top             =   960
         Width           =   1455
      End
      Begin VB.Label Label8 
         Caption         =   "Unit Price:"
         Height          =   255
         Left            =   120
         TabIndex        =   17
         Top             =   600
         Width           =   1455
      End
      Begin VB.Label Label7 
         Caption         =   "Quantity:"
         Height          =   255
         Left            =   120
         TabIndex        =   16
         Top             =   240
         Width           =   1455
      End
   End
   Begin MSComctlLib.ListView lvwList 
      Height          =   3615
      Left            =   5640
      TabIndex        =   5
      Top             =   1200
      Width           =   3735
      _ExtentX        =   6588
      _ExtentY        =   6376
      View            =   3
      Sorted          =   -1  'True
      LabelWrap       =   -1  'True
      HideSelection   =   -1  'True
      FullRowSelect   =   -1  'True
      GridLines       =   -1  'True
      _Version        =   393217
      ForeColor       =   -2147483640
      BackColor       =   14737632
      BorderStyle     =   1
      Appearance      =   1
      Enabled         =   0   'False
      NumItems        =   6
      BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         Text            =   "Invoice"
         Object.Width           =   1235
      EndProperty
      BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   1
         Text            =   "Date Sold"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   2
         Text            =   "Product Code"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(4) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   3
         Text            =   "Quantity"
         Object.Width           =   1764
      EndProperty
      BeginProperty ColumnHeader(5) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   4
         Text            =   "Unit Price"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(6) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   5
         Text            =   "Total"
         Object.Width           =   2540
      EndProperty
   End
   Begin VB.Frame Frame1 
      BackColor       =   &H00C0C0C0&
      Height          =   2535
      Left            =   360
      TabIndex        =   4
      Top             =   1200
      Width           =   4935
      Begin VB.TextBox txtUnit 
         BackColor       =   &H00C0E0FF&
         Enabled         =   0   'False
         Height          =   285
         Left            =   1680
         TabIndex        =   14
         Top             =   2040
         Width           =   1815
      End
      Begin VB.TextBox txtBrand 
         BackColor       =   &H00C0E0FF&
         Enabled         =   0   'False
         Height          =   285
         Left            =   1680
         TabIndex        =   13
         Top             =   1680
         Width           =   1815
      End
      Begin VB.CommandButton cmdFind 
         Caption         =   "&Find"
         Enabled         =   0   'False
         Height          =   855
         Left            =   3720
         Picture         =   "frmSales.frx":DA4C
         Style           =   1  'Graphical
         TabIndex        =   12
         Top             =   240
         Width           =   735
      End
      Begin VB.TextBox txtDescrr 
         BackColor       =   &H00C0E0FF&
         Enabled         =   0   'False
         Height          =   285
         Left            =   1680
         TabIndex        =   11
         Top             =   1290
         Width           =   3015
      End
      Begin VB.Label lblPcode 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00C0E0FF&
         BeginProperty Font 
            Name            =   "Fixedsys"
            Size            =   9
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   1680
         TabIndex        =   10
         Top             =   240
         Width           =   1455
      End
      Begin VB.Label Label6 
         Caption         =   "Unit:"
         Height          =   255
         Left            =   120
         TabIndex        =   9
         Top             =   2040
         Width           =   1455
      End
      Begin VB.Label Label5 
         Caption         =   "Brand:"
         Height          =   255
         Left            =   120
         TabIndex        =   8
         Top             =   1680
         Width           =   1455
      End
      Begin VB.Label Label4 
         Caption         =   "Description:"
         Height          =   255
         Left            =   120
         TabIndex        =   7
         Top             =   1320
         Width           =   1455
      End
      Begin VB.Label Label3 
         Caption         =   "Product Code:"
         Height          =   255
         Left            =   120
         TabIndex        =   6
         Top             =   240
         Width           =   1455
      End
   End
   Begin MSComCtl2.DTPicker DTPicker1 
      Height          =   375
      Left            =   1800
      TabIndex        =   3
      Top             =   720
      Width           =   2775
      _ExtentX        =   4895
      _ExtentY        =   661
      _Version        =   393216
      Enabled         =   0   'False
      CalendarBackColor=   12640511
      Format          =   20643840
      CurrentDate     =   39424
   End
   Begin VB.Label lbltest 
      Height          =   255
      Left            =   6600
      TabIndex        =   31
      Top             =   600
      Width           =   855
   End
   Begin VB.Line Line4 
      X1              =   7920
      X2              =   7920
      Y1              =   5640
      Y2              =   6600
   End
   Begin VB.Line Line3 
      X1              =   1320
      X2              =   1320
      Y1              =   5640
      Y2              =   6600
   End
   Begin VB.Line Line2 
      X1              =   1320
      X2              =   7920
      Y1              =   6600
      Y2              =   6600
   End
   Begin VB.Line Line1 
      X1              =   1320
      X2              =   7920
      Y1              =   5640
      Y2              =   5640
   End
   Begin VB.Label Label2 
      Caption         =   "Date Sold:"
      Height          =   255
      Left            =   360
      TabIndex        =   2
      Top             =   720

⌨️ 快捷键说明

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