亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? prncls.cls

?? 計算機學位畢業設計 客房管理系統 無解壓密碼
?? CLS
字號:
VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "PrnCls"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Dim P_TOPSPACE, P_BOTTOMSPACE, P_LEFTSPACE, P_RIGHTSPACE
' 可打印范圍
Dim P_Fix   '表格偏差
Dim Pw, Ph
Dim PrinterFlag As Boolean
Dim ObjPrint As Object
Dim DC
Dim zm 'preivew zoom ratio


Public Sub NewLine()
  ObjPrint.CurrentY = ObjPrint.CurrentY + TextHeight("AA")
  ObjPrint.CurrentX = P_LEFTSPACE
End Sub
Public Sub NewLineBG(TSpace As Single)
  ObjPrint.CurrentY = ObjPrint.CurrentY + TextHeight("AA") + P_Fix + TSpace
  ObjPrint.CurrentX = P_LEFTSPACE
End Sub
Public Sub CenterPrn(LeftArea)
  With ObjPrint
  If CDbl(LeftArea) > 0 Then
    LeftArea = CDbl(LeftArea)
    If .ScaleWidth - LeftArea > 0 Then
      P_LEFTSPACE = (.ScaleWidth - LeftArea) / 2
    Else
      P_LEFTSPACE = 0
    End If
    P_RIGHTSPACE = P_LEFTSPACE
'    P_TOPSPACE = P_TOPSPACE * sc
'    P_BOTTOMSPACE = P_BOTTOMSPACE * sc
  Else
'    P_TOPSPACE = 50 * sc
'    P_BOTTOMSPACE = 50 * sc
    P_LEFTSPACE = 50
    P_RIGHTSPACE = 50
  End If
  .CurrentX = P_LEFTSPACE
  .CurrentY = P_TOPSPACE
  End With
End Sub


Sub PrintSetPsize(PStr As String, X As Single, y As Single)
    Select Case UCase(PStr)
        Case "A4"
            Pw = 11907
            Ph = 16832
        Case "A5"
            Pw = 8392
            Ph = 11907
        Case Else
            Pw = X
            Ph = y
    End Select
End Sub
Private Sub PrintInit(objtoprinton As Object)
    Dim psm
    Set ObjPrint = objtoprinton
    If TypeOf objtoprinton Is Printer Then
        PrinterFlag = True
    Else
        P_Fix = 10
        PrinterFlag = False
        CenterPrn ObjPrint.ScaleWidth
        P_TOPSPACE = 50
        P_BOTTOMSPACE = 50
        On Error GoTo NoPrinter
        psm = Printer.ScaleMode
        Printer.ScaleMode = 1
        ObjPrint.PaperWidth = Printer.Width
        ObjPrint.PaperHeight = Printer.Height
        ObjPrint.ScaleHeight = Printer.ScaleHeight
        ObjPrint.ScaleWidth = Printer.ScaleWidth
        ObjPrint.ScaleMode = psm
        GoTo A1
NoPrinter:
        If Pw = 0 Or Ph = 0 Then
            Pw = 11907
            Ph = 16832
        End If
        ObjPrint.PaperWidth = Pw
        ObjPrint.PaperHeight = Ph
        ObjPrint.ScaleWidth = Pw
        ObjPrint.ScaleHeight = Ph
A1:
    End If
End Sub
Sub PrintStartDoc(ObjPrn As Object, zmratio)
    zm = zmratio
    PrintInit ObjPrn
    If PrinterFlag Then
        Printer.Print ""
    Else
        ObjPrint.Cls
        ObjPrint.StartDoc zm, Pw, Ph
    End If
End Sub
Sub PrintSet(X As Single, y As Single, color)
    If PrinterFlag Then
        Printer.PSet (X, y), color
    Else
        ObjPrint.PsetA X, y, color
    End If
End Sub
Function TextWidth(str As String) As Single
    TextWidth = ObjPrint.TextWidth(str)
End Function
Function TextHeight(str As String) As Single
    TextHeight = ObjPrint.TextHeight(str)
End Function
Sub PrintPrint(PrintVar As String)
    If PrinterFlag Then
        Printer.Print PrintVar;
    Else
        ObjPrint.PrintA PrintVar
    End If
End Sub
Sub PrintLine(bLeft0, bTop0, bLeft1, bTop1)
    If PrinterFlag Then
        Printer.Line (bLeft0, bTop0)-(bLeft1, bTop1) '(bLeft0 - LRGap, bTop0 - TBGap)-(bLeft1 - LRGap, bTop1 - TBGap)
    Else
        ObjPrint.LineA bLeft0, bTop0, bLeft1, bTop1
    End If
End Sub
Sub PrintBox(bLeft, bTop, bLeft1, bTop1)
    If PrinterFlag Then
        Printer.Line (bLeft, bTop)-(bLeft1, bTop1), , B '(bLeft - LRGap, bTop - TBGap)-(bLeft1 - LRGap, bTop1 - TBGap), , B
    Else
        ObjPrint.BoxA bLeft, bTop, bLeft1, bTop1
    End If
End Sub
Sub PrintFilledBox(bLeft, bTop, bLeft1, bTop1, color)
    If PrinterFlag Then
        Printer.Line (bLeft, bTop)-(bLeft1, bTop1), color, BF '(bLeft - LRGap, bTop - TBGap)-(bLeft1 - LRGap, bTop1 - TBGap), color, BF
    Else
        ObjPrint.BoxF bLeft, bTop, bLeft1, bTop1, color
    End If
End Sub
Sub PrintCircle(bLeft, bTop, bRadius)
    If PrinterFlag Then
        Printer.Circle (bLeft, bTop), bRadius '(bLeft - LRGap, bTop - TBGap), bRadius
    Else
        ObjPrint.CircleA bLeft, bTop, bRadius
    End If
End Sub
Sub NewPage()
    If PrinterFlag Then
        Printer.NewPage
    Else
        ObjPrint.Cls
    End If
End Sub
Sub PrintPicture(pic As PictureBox, pLeft, pTop, pWidth, pHeight)
    ObjPrint.PaintPicture pic, pLeft, pTop, pWidth, pHeight
End Sub
Sub EndDoc()
    If PrinterFlag Then
        Printer.EndDoc
    End If
End Sub
Public Property Get CurrentX() As Single
    CurrentX = ObjPrint.CurrentX
End Property
Public Property Let CurrentX(ByVal New_V As Single)
    ObjPrint.CurrentX = New_V
End Property
Public Property Get CurrentY() As Single
    CurrentY = ObjPrint.CurrentY
End Property
Public Property Let CurrentY(ByVal New_V As Single)
    ObjPrint.CurrentY = New_V
End Property
Public Property Get BackColor() As OLE_COLOR
    BackColor = ObjPrint.BackColor
End Property
Public Property Let BackColor(ByVal New_BackColor As OLE_COLOR)
    ObjPrint.BackColor = New_BackColor
End Property
Public Property Get ForeColor() As OLE_COLOR
    ForeColor = ObjPrint.ForeColor
End Property
Public Property Let ForeColor(ByVal New_BackColor As OLE_COLOR)
    ObjPrint.ForeColor = New_BackColor
End Property
Public Property Get Font() As Font
    Set Font = ObjPrint.Font
End Property
Public Property Set Font(ByVal New_Font As Font)
    Set ObjPrint.Font = New_Font
End Property
Public Property Let FontName(pFontName)
    ObjPrint.FontName = pFontName
End Property
Public Property Get FontSize()
    If PrinterFlag Then
      FontSize = ObjPrint.FontSize
    Else
      FontSize = ObjPrint.FontSize / zm
    End If
End Property
Public Property Let FontSize(psize)
    If PrinterFlag Then
      ObjPrint.FontSize = psize
    Else
      ObjPrint.FontSize = psize * zm
    End If
End Property
Public Property Get FontBold() As Boolean
    FontBold = ObjPrint.FontBold
End Property
Public Property Let FontBold(psize As Boolean)
    ObjPrint.FontBold = psize
End Property
Public Property Get FontItalic() As Boolean
    FontItalic = ObjPrint.FontItalic
End Property
Public Property Let FontItalic(psize As Boolean)
    ObjPrint.FontItalic = psize
End Property
Public Property Get DrawWidth()
    DrawWidth = ObjPrint.DrawWidth
End Property
Public Property Let DrawWidth(psize)
    ObjPrint.DrawWidth = psize
End Property

Public Property Get DrawStyle() As Integer
    
    DrawStyle = DC.DrawStyle
End Property

Public Property Let DrawStyle(ByVal New_DrawStyle As Integer)
    DC.DrawStyle() = New_DrawStyle
'    PropertyChanged "DrawStyle"
End Property

Public Property Get DrawMode() As Integer
    DrawMode = ObjPrint.DrawMode
End Property

Public Property Let DrawMode(ByVal New_DrawMode As Integer)
    ObjPrint.DrawMode = New_DrawMode
End Property
Public Property Get FontStrikethru() As Boolean
    FontStrikethru = ObjPrint.FontStrikethru
End Property

Public Property Let FontStrikethru(ByVal New_FontStrikethru As Boolean)
    ObjPrint.FontStrikethru = New_FontStrikethru
End Property
Public Property Get FontUnderline() As Boolean
    FontUnderline = ObjPrint.FontUnderline
End Property
Public Property Let FontUnderline(ByVal New_FontUnderline As Boolean)
    ObjPrint.FontUnderline = New_FontUnderline
End Property
Public Property Get PaperHeight() As Single
    PaperHeight = ObjPrint.ScaleHeight
End Property
Public Property Get PaperWidth() As Single
    PaperWidth = ObjPrint.ScaleWidth
End Property

Sub BoxOut(str1 As String, len1, A1, TSpace, Bord)
  Dim x1 As Single, y1 As Single, x2 As Single, y2 As Single
  Dim OLDW
  With ObjPrint
  x1 = .CurrentX
  y1 = .CurrentY
  x2 = .CurrentX + len1 + P_Fix
  y2 = .CurrentY + .TextHeight("XX的") + TSpace + P_Fix
  OLDW = .DrawWidth
  If Val(MID(Bord, 1, 1)) > 0 Then
    .DrawWidth = Val(MID(Bord, 1, 1))
    PrintLine x1, y1, x1, y2
  End If
  If Val(MID(Bord, 2, 1)) > 0 Then
    .DrawWidth = Val(MID(Bord, 2, 1))
     PrintLine x1, y1, x2, y1
  End If
  If Val(MID(Bord, 3, 1)) > 0 Then
    .DrawWidth = Val(MID(Bord, 3, 1))
     PrintLine x2, y1, x2, y2
  End If
  If Val(MID(Bord, 4, 1)) > 0 Then
    .DrawWidth = Val(MID(Bord, 4, 1))
    PrintLine x1, y2, x2, y2
  End If
  .DrawWidth = OLDW
  .CurrentX = x1 + P_Fix
  .CurrentY = y1
  Do While len1 > 0 And .TextWidth(str1) > len1
    str1 = left(str1, Len(str1) - 1)
  Loop
  If UCase(A1) = "R" Then
    .CurrentX = x1 + len1 - .TextWidth(str1)
  Else
    If UCase(A1) = "C" Then
      .CurrentX = x1 + (len1 - .TextWidth(str1)) / 2
    End If
  End If
  .CurrentY = .CurrentY + (P_Fix + TSpace) / 2
  PrintPrint str1
  .CurrentY = y1
  .CurrentX = x2
  End With
End Sub

Sub BoxOutA(str1 As String, len1, A1, TSpace)
  Dim x1 As Single, y1 As Single, x2 As Single, y2 As Single
  Dim OLDW
  With ObjPrint
  x1 = .CurrentX
  y1 = .CurrentY
  x2 = .CurrentX + len1 + P_Fix
  y2 = .CurrentY + .TextHeight("XX的") + TSpace + P_Fix
  OLDW = .DrawWidth
  .DrawWidth = 1
  PrintBox x1, y1, x2, y2
  .DrawWidth = OLDW
  .CurrentY = y1
  .CurrentX = x1 + P_Fix
  Do While len1 > 0 And .TextWidth(str1) > len1
    str1 = left(str1, Len(str1) - 1)
  Loop
  If A1 = "R" Or A1 = "r" Then
    .CurrentX = x1 + len1 - .TextWidth(str1)
  Else
    If A1 = "C" Or A1 = "c" Then
      .CurrentX = x1 + (len1 - .TextWidth(str1)) / 2
    End If
  End If
  .CurrentY = .CurrentY + (P_Fix + TSpace) / 2
  PrintPrint str1
  .CurrentY = y1
  .CurrentX = x2
  End With
End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产精品久久| 亚洲超碰精品一区二区| www国产成人| xnxx国产精品| 久久久91精品国产一区二区精品| 精品国产凹凸成av人网站| 精品日韩在线观看| 久久综合九色综合欧美98| 精品少妇一区二区三区在线视频| 欧美不卡视频一区| 久久久亚洲综合| 亚洲国产成人在线| 一区二区三区免费网站| 人人狠狠综合久久亚洲| 极品少妇xxxx精品少妇| 国产亚洲欧美中文| 欧美精品一区二区三区在线播放 | 亚洲国产高清不卡| 亚洲国产精品精华液ab| 国产精品久久看| 亚洲精品国产一区二区精华液 | 4438x亚洲最大成人网| 在线播放91灌醉迷j高跟美女| 欧美放荡的少妇| 久久蜜臀中文字幕| 中文字幕在线不卡一区| 亚洲美女精品一区| 美女国产一区二区三区| 成人av在线影院| 91成人免费在线视频| 精品久久一区二区三区| 国产精品欧美久久久久无广告| 亚洲欧美视频一区| 久久精品国产99国产| 色综合视频在线观看| 91精品中文字幕一区二区三区| 久久理论电影网| 亚洲不卡av一区二区三区| 国产精品正在播放| 欧美精品一级二级三级| 国产欧美日产一区| 丝袜诱惑亚洲看片| 91蜜桃视频在线| 欧美精品一区二区三区在线| 亚洲精品国产品国语在线app| 久久狠狠亚洲综合| 欧美精品1区2区3区| 中文字幕av一区二区三区高| 日本亚洲电影天堂| 91久久精品国产91性色tv| 91精品国产一区二区三区香蕉| 国产日韩欧美a| 男男gaygay亚洲| 91高清视频在线| 自拍偷自拍亚洲精品播放| 国产不卡一区视频| xnxx国产精品| 国产在线不卡一区| 欧美一级在线观看| 日本最新不卡在线| 欧美日韩第一区日日骚| 伊人色综合久久天天人手人婷| 成人网男人的天堂| 国产欧美精品区一区二区三区| 奇米四色…亚洲| 91精品国产综合久久精品麻豆| 亚洲国产sm捆绑调教视频| 在线欧美小视频| 夜夜嗨av一区二区三区中文字幕| 不卡电影一区二区三区| 国产精品久久久久久久久免费相片 | 亚洲中国最大av网站| 色哟哟精品一区| 国产精品福利一区二区| 成人美女视频在线观看| 国产精品乱子久久久久| 成av人片一区二区| ...av二区三区久久精品| 色噜噜久久综合| 亚洲综合精品久久| 欧美日本视频在线| 久久精品国产亚洲5555| 久久久久久久久久久久久久久99| 国产酒店精品激情| 国产精品白丝在线| 欧美性感一区二区三区| 午夜影视日本亚洲欧洲精品| 欧美美女一区二区三区| 国产最新精品精品你懂的| 久久精品视频免费| 色综合久久中文字幕| 五月婷婷久久丁香| 337p粉嫩大胆噜噜噜噜噜91av| 久久成人精品无人区| 国产精品另类一区| 欧美亚洲精品一区| 久久国产婷婷国产香蕉| 国产网站一区二区三区| 一本到三区不卡视频| 亚洲福利一二三区| 精品不卡在线视频| 波波电影院一区二区三区| 亚洲午夜av在线| 久久夜色精品国产欧美乱极品| 不卡的av中国片| 日韩av在线免费观看不卡| 国产色综合久久| 国内精品久久久久影院色| 亚洲第一精品在线| 久久嫩草精品久久久久| 欧美日韩亚洲另类| 国产成人综合视频| 亚洲国产精品久久久久秋霞影院| 欧美成人午夜电影| 色妹子一区二区| 精品一区二区三区在线观看| 国产精品成人免费精品自在线观看 | 天天色图综合网| 久久综合九色综合97婷婷| 色综合久久88色综合天天6| 日产国产高清一区二区三区| 中文字幕在线不卡国产视频| 欧美日韩综合在线免费观看| 午夜电影一区二区三区| 日韩一区二区三区电影在线观看| 天堂成人国产精品一区| 中文在线资源观看网站视频免费不卡| 喷水一区二区三区| 久久久久97国产精华液好用吗| 久久久久综合网| 欧洲精品一区二区| 久久疯狂做爰流白浆xx| 成人精品亚洲人成在线| 日韩欧美中文字幕精品| 国产成人精品免费| 国产一区二区三区最好精华液| 亚洲一区二区不卡免费| 亚洲欧美日韩综合aⅴ视频| 91一区二区三区在线观看| 欧美日韩一级视频| 欧洲中文字幕精品| 激情图区综合网| 一区二区免费在线| 精品久久久久久最新网址| 午夜激情一区二区三区| 26uuu欧美日本| www成人在线观看| 欧美日韩一区二区三区高清 | 激情深爱一区二区| 奇米在线7777在线精品 | 国产精品影视在线| 伦理电影国产精品| 国产成人三级在线观看| 狠狠色狠狠色综合| 国产成人精品亚洲午夜麻豆| 床上的激情91.| 欧美色爱综合网| 91精品国产91综合久久蜜臀| 久久99精品久久久久婷婷| 国产一区二区按摩在线观看| 亚洲成av人影院在线观看网| 午夜精品aaa| www.激情成人| 777久久久精品| 中文字幕一区二区三区不卡| 综合欧美一区二区三区| 免费欧美在线视频| 97精品视频在线观看自产线路二| 欧美精三区欧美精三区| 日韩精品一区二区三区四区| 国产三级三级三级精品8ⅰ区| 亚洲少妇30p| 国产一区二区导航在线播放| 国产91精品在线观看| 91精品国产综合久久精品| 最近日韩中文字幕| 91色九色蝌蚪| 亚洲情趣在线观看| 成人手机电影网| 中文字幕av一区二区三区| 久久丁香综合五月国产三级网站| 欧美日本国产视频| 亚洲欧美日韩精品久久久久| 久久亚洲精品小早川怜子| 日韩中文欧美在线| 老司机精品视频在线| 欧美精品亚洲一区二区在线播放| 一区二区三区免费看视频| 91福利资源站| 久久av资源网| 日韩毛片一二三区| 欧美日本一道本在线视频| 午夜久久久影院| 欧美不卡一区二区三区四区| 秋霞电影网一区二区| 日韩一区二区三区视频| 免费av网站大全久久| 日本一区二区三区在线观看| 国产精品福利影院| 丰满放荡岳乱妇91ww|