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

📄 form1.frm

📁 采购信息录入系统,相对来说
💻 FRM
字号:
VERSION 5.00
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   6210
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5700
   LinkTopic       =   "Form1"
   ScaleHeight     =   6210
   ScaleWidth      =   5700
   StartUpPosition =   2  '屏幕中心
   WindowState     =   2  'Maximized
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   435
      Left            =   990
      TabIndex        =   1
      Top             =   420
      Width           =   1665
   End
   Begin MSChart20Lib.MSChart MSChart1 
      Bindings        =   "Form1.frx":0000
      Height          =   6735
      Left            =   240
      OleObjectBlob   =   "Form1.frx":0015
      TabIndex        =   0
      Top             =   960
      Width           =   10065
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
 Dim arrData(1 To 4, 1 To 3)
    arrData(1, 1) = "一月"   ' 在第一列设置标签。
    arrData(2, 1) = "二月"
    arrData(3, 1) = "三月"
    arrData(4, 1) = "四月"
    arrData(1, 2) = 8
    arrData(2, 2) = 4
    arrData(3, 2) = 0.3
    arrData(4, 2) = 20
    arrData(1, 3) = 0.2
    arrData(2, 3) = 3
    arrData(3, 3) = 6.3
    arrData(4, 3) = 3.3
    MSChart1.ChartData = arrData
    MSChart1.Plot.SeriesCollection(1).LegendText = "损耗额(百万)"
    MSChart1.Plot.SeriesCollection(2).LegendText = "利润额(百万)"
    MSChart1.EditCopy
    Printer.Print " "
    '从剪贴簿中抓出文字资料来打印
    Printer.Print Clipboard.GetText(vbCFText)
    Printer.Print " "
    '从剪贴簿中抓出图表来打印
    Printer.PaintPicture Clipboard.GetData(), 0, 2500
    Printer.EndDoc

End Sub



Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
End
End Sub

⌨️ 快捷键说明

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