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

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

?? frmmultipgpreview.frm

?? 打印預覽程序
?? FRM
?? 第 1 頁 / 共 3 頁
字號:
      ScaleWidth      =   249
      TabIndex        =   0
      TabStop         =   0   'False
      Top             =   0
      Width           =   3765
   End
   Begin VB.PictureBox picGetFolder 
      Appearance      =   0  'Flat
      ForeColor       =   &H80000008&
      Height          =   4440
      Left            =   1245
      ScaleHeight     =   4410
      ScaleWidth      =   6375
      TabIndex        =   26
      Top             =   615
      Visible         =   0   'False
      Width           =   6405
      Begin VB.DriveListBox Drive1 
         Height          =   315
         Left            =   1530
         TabIndex        =   32
         Top             =   45
         Width           =   3930
      End
      Begin VB.DirListBox Dir1 
         Height          =   3465
         Left            =   30
         TabIndex        =   31
         Top             =   450
         Width           =   6315
      End
      Begin VB.CommandButton cmdNewFolder 
         Height          =   345
         Left            =   5955
         MaskColor       =   &H00FFFFFF&
         Picture         =   "frmMultiPgPreview.frx":1F1D
         Style           =   1  'Graphical
         TabIndex        =   30
         ToolTipText     =   "New Folder"
         Top             =   30
         UseMaskColor    =   -1  'True
         Width           =   375
      End
      Begin VB.CommandButton cmdUpOne 
         Height          =   345
         Left            =   5520
         MaskColor       =   &H00FFFFFF&
         Picture         =   "frmMultiPgPreview.frx":226B
         Style           =   1  'Graphical
         TabIndex        =   29
         ToolTipText     =   "Back Up"
         Top             =   30
         UseMaskColor    =   -1  'True
         Width           =   375
      End
      Begin VB.CommandButton cmdOpen 
         Caption         =   "Ok"
         Height          =   375
         Left            =   4830
         TabIndex        =   28
         Top             =   3975
         Width           =   1470
      End
      Begin VB.CommandButton cmdQuit 
         Caption         =   "Cancel"
         Height          =   375
         Left            =   3255
         TabIndex        =   27
         Top             =   3975
         Width           =   1470
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         Caption         =   " Select a Directory: "
         Height          =   195
         Left            =   75
         TabIndex        =   33
         Top             =   90
         Width           =   1395
      End
   End
   Begin VB.Image imgFit 
      Height          =   240
      Index           =   1
      Left            =   420
      Picture         =   "frmMultiPgPreview.frx":251D
      Top             =   5205
      Visible         =   0   'False
      Width           =   240
   End
   Begin VB.Image imgFit 
      Height          =   240
      Index           =   0
      Left            =   60
      Picture         =   "frmMultiPgPreview.frx":2AA7
      Top             =   5190
      Visible         =   0   'False
      Width           =   240
   End
   Begin VB.Image optArt 
      Appearance      =   0  'Flat
      Height          =   225
      Index           =   1
      Left            =   0
      Picture         =   "frmMultiPgPreview.frx":3031
      Top             =   4860
      Visible         =   0   'False
      Width           =   300
   End
   Begin VB.Image optArt 
      Appearance      =   0  'Flat
      Height          =   225
      Index           =   0
      Left            =   555
      Picture         =   "frmMultiPgPreview.frx":30DE
      Top             =   4875
      Visible         =   0   'False
      Width           =   300
   End
End
Attribute VB_Name = "frmMultiPgPreview"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'/*************************************/
'/* Author: Morgan Haueisen
'/*         morganh@hartcom.net
'/* Copyright (c) 1999-2003
'/*************************************/
'Legal:
'        This is intended for and was uploaded to www.planetsourcecode.com
'
'        Redistribution of this code, whole or in part, as source code or in binary form, alone or
'        as part of a larger distribution or product, is forbidden for any commercial or for-profit
'        use without the author's explicit written permission.
'
'        Redistribution of this code, as source code or in binary form, with or without
'        modification, is permitted provided that the following conditions are met:
'
'        Redistributions of source code must include this list of conditions, and the following
'        acknowledgment:
'
'        This code was developed by Morgan Haueisen.  <morganh@hartcom.net>
'        Source code, written in Visual Basic, is freely available for non-commercial,
'        non-profit use at www.planetsourcecode.com.
'
'        Redistributions in binary form, as part of a larger project, must include the above
'        acknowledgment in the end-user documentation.  Alternatively, the above acknowledgment
'        may appear in the software itself, if and wherever such third-party acknowledgments
'        normally appear.

Option Explicit
'/* Used for Manifest files (Win XP)
Private Declare Function InitCommonControls Lib "Comctl32.dll" () As Long

Public PageNumber As Integer
Private ViewPage As Integer
Private TempDir As String
Private OptionV As Integer
Private FitToPage As Boolean

Private Type PanState
   X As Long
   Y As Long
End Type
Dim PanSet As PanState

Private Declare Function StretchBlt Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, _
    ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, _
    ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, _
    ByVal dwRop As Long) As Long
    
Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" _
    (lpVersionInformation As OSVersionInfo) As Long

Private Declare Function CreateDirectory Lib "kernel32.dll" Alias "CreateDirectoryA" (ByVal lpPathName As String, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long
Private Type SECURITY_ATTRIBUTES
    nLength As Long
    lpSecurityDescriptor As Long
    bInheritHandle As Long
End Type

Private Type OSVersionInfo
    OSVSize As Long
    dwVerMajor As Long
    dwVerMinor As Long
    dwBuildNumber As Long
    PlatformID As Long
    szCSDVersion As String * 128
End Type
Private UseStretchBit As Boolean

Private Sub cmd_print_Click()
    txtTo.Text = PageNumber + 1
    OptionV = 3
    Call optText_Click(OptionV)
    
    picPrintOptions.Left = Me.Width - (Picture2.Width + picPrintOptions.Width + 50)
    picPrintOptions.Top = cmd_print.Top
    
    picGetFolder.Left = Me.Width - (Picture2.Width + picGetFolder.Width + 50)
    picGetFolder.Top = cmd_print.Top
    
    picPrintOptions.Visible = True
    picGoto.Visible = False
End Sub

Private Function IsNumber(ByVal CheckString As String, Optional KeyAscii As Integer = 0, Optional AllowDecPoint As Boolean = False, Optional AllowNegative As Boolean = False) As Boolean
    If KeyAscii > 0 And KeyAscii <> 8 Then
        If Not AllowNegative And KeyAscii = 45 Then KeyAscii = 0
        If Not AllowDecPoint And KeyAscii = 46 Then KeyAscii = 0
        If Not IsNumeric(CheckString & Chr(KeyAscii)) Then
            KeyAscii = False
            IsNumber = False
        Else
            IsNumber = True
        End If
    Else
        IsNumber = IsNumeric(CheckString)
    End If
End Function

Private Sub cmd_quit_Click()
    cPrint.SendToPrinter = False
    Unload Me
End Sub

Private Sub cmdFullPage_Click()
  Dim xmin As Single
  Dim ymin As Single
  Dim wid As Single
  Dim hgt As Single
  Dim aspect As Single
 
    '/* If already here then restore original
    If cmdFullPage.Value = 0 Then
        Picture1.Visible = True
        Picture1.SetFocus
        picFullPage.Visible = False
        cmdFullPage.Picture = imgFit(0).Picture
        Exit Sub
    End If
    
    Screen.MousePointer = vbHourglass
    DoEvents
    
    cmdFullPage.Picture = imgFit(1).Picture
    
    '/* Clear any picture and set the size and loaction
    Set picFullPage.Picture = Nothing
    If Not picHScroll.Visible Then
        picFullPage.Height = Me.Height - 100
        picFullPage.Width = picFullPage.Height * 0.773
        picFullPage.Move ((Me.Width - Picture2.Width) - picFullPage.Width) \ 2, 0
    Else
        picFullPage.Top = 50
        picFullPage.Left = 50
        picFullPage.Width = Me.Width - Picture2.Width - 100
        picFullPage.Height = picFullPage.Width * 0.773
    End If
        
    '/* Get the scale values
    aspect = Picture1.ScaleHeight / Picture1.ScaleWidth
    wid = picFullPage.ScaleWidth
    hgt = picFullPage.ScaleHeight
    
    '/* MaintainRatio
    If hgt / wid > aspect Then
        hgt = aspect * wid
        xmin = picFullPage.ScaleLeft
        ymin = (picFullPage.ScaleHeight - hgt) / 2
    Else
        wid = hgt / aspect
        xmin = (picFullPage.ScaleWidth - wid) / 2
        ymin = picFullPage.ScaleTop
    End If
    
    If UseStretchBit Then '/* NT platform
        StretchBlt picFullPage.hdc, _
            xmin, ymin, wid, hgt, _
            Picture1.hdc, _
            0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight, vbSrcCopy
    Else
        picFullPage.PaintPicture Picture1.Picture, _
          xmin, ymin, wid, hgt, _
          0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight, vbSrcCopy
    End If

    Picture1.Visible = False
    picFullPage.Visible = True
    picFullPage.SetFocus
    picGoto.Visible = False
    
    Screen.MousePointer = vbDefault
    
End Sub

Private Sub cmdGoTo_Click()
    picGoto.Top = cmdGoTo.Top
    picGoto.Left = Me.Width - (Picture2.Width + picGoto.Width + 50)
    picGoto.Visible = True
    picGoto.ZOrder
    txtGoto = CStr(ViewPage + 1)
    txtGoto.SelStart = 0
    txtGoto.SelLength = Len(txtGoto)
    txtGoto.SetFocus
End Sub

Private Sub cmdGotoOK_Click()
  Dim NewPageNo As Integer
    
    On Local Error Resume Next
    
    txtGoto.SetFocus
    NewPageNo = Val(txtGoto)
    If NewPageNo = 0 Then Exit Sub
    
    NewPageNo = NewPageNo - 1
    If NewPageNo > PageNumber Then NewPageNo = PageNumber
    ViewPage = NewPageNo
        
    Picture1.SetFocus
    Picture1.Picture = LoadPicture(TempDir & "PPview" & CStr(ViewPage) & ".bmp")
    
    picPrintOptions.Visible = False
    picGetFolder.Visible = False
    picGoto.Visible = False
    
    VScroll1.Value = 0
    HScroll1.Value = 0
    Call DisplayPages
    
End Sub

Private Sub cmdPrint_Click()
  Dim i As Integer
  
    '/* Prevent printing again until done
    picPrintOptions.Enabled = False
    lblPrintingPg.Visible = True
    cmdPrint.Visible = False
    
    Select Case OptionV
    Case 0 '/* Copy to clipboard
        Clipboard.Clear
        Clipboard.SetData Picture1.Picture, vbCFBitmap
    Case 1 '/* Print current page
        lblPrintingPg.Caption = "頁面打印中 " & ViewPage + 1
        lblPrintingPg.Refresh
        Call PrintPictureBox(Picture1, True, False)
    Case 2 '/* Print range
        For i = Val(txtFrom) - 1 To Val(txtTo) - 1
            lblPrintingPg.Caption = "頁面打印中 " & CStr(i + 1) & " of " & txtTo
            lblPrintingPg.Refresh
            Picture1.Picture = LoadPicture(TempDir & "PPview" & CStr(i) & ".bmp")
            Call PrintPictureBox(Picture1, True, False)
        Next i
        Picture1.Picture = LoadPicture(TempDir & "PPview" & CStr(ViewPage) & ".bmp")
    Case 4
        picGetFolder.Visible = True
        picGetFolder.ZOrder
    Case Else '/* Print all
        cPrint.SendToPrinter = True '/* Send to Printer */
        Unload Me
    End Select
    
    '/* Restore normal view
    picPrintOptions.Enabled = True
    cmdPrint.Visible = True
    picPrintOptions.Visible = False
    lblPrintingPg.Visible = False
    
End Sub

Private Sub Command1_Click(Index As Integer)
    On Local Error Resume Next
    If Index = 0 Then
        ViewPage = ViewPage - 1
        If ViewPage < 0 Then ViewPage = 0
        Picture1.Picture = LoadPicture(TempDir & "PPview" & CStr(ViewPage) & ".bmp")
    Else
        ViewPage = ViewPage + 1
        If ViewPage > PageNumber Then ViewPage = PageNumber
        Picture1.Picture = LoadPicture(TempDir & "PPview" & CStr(ViewPage) & ".bmp")
    End If
    
    Picture1.Top = 0
    picPrintOptions.Visible = False
    picGoto.Visible = False
    VScroll1.Value = 0
    HScroll1.Value = 0
    Call DisplayPages
    
End Sub

Private Sub Form_Activate()
    Screen.MousePointer = vbDefault
    Call DisplayPages
    If Picture1.Width < Me.Width - Picture2.Width Then
        Picture1.Move ((Me.Width - Picture2.Width) - Picture1.Width) \ 2, 0
    End If
    cmdFullPage.Picture = imgFit(0).Picture
    Label5 = "跳轉頁面" & vbCrLf & "(1 to " & CStr(PageNumber + 1) & ")"
    Picture1.SetFocus
End Sub

Private Sub Form_Click()
    picPrintOptions.Visible = False
    picGetFolder.Visible = False
    picGoto.Visible = False
End Sub


Private Sub Form_Initialize()
    '/* Used for Manifest files (Win XP)
    Call InitCommonControls
    'MakeXPButton cmd_quit
    'MakeXPButton cmd_print
    'MakeXPButton cmdFullPage
    'MakeXPButton cmdGoTo
    'MakeXPButton Command1(0)
    'MakeXPButton Command1(1)
   
End Sub

Private Sub Form_KeyPress(KeyAscii As Integer)
    If KeyAscii = 71 Or KeyAscii = 103 Then cmdGoTo_Click
End Sub

Private Sub Form_Load()
  Dim OSV As OSVersionInfo
  Const VER_PLATFORM_WIN32_NT = 2
    
    OSV.OSVSize = Len(OSV)
    If GetVersionEx(OSV) = 1 Then
        If OSV.PlatformID = VER_PLATFORM_WIN32_NT Then
            UseStretchBit = True
        Else
            UseStretchBit = False
        End If
    End If
    
    Me.Move 0, 0, Screen.Width, Screen.Height
    Picture1.Move 0, 0

    VScroll1.Height = Me.Height - cmdGoTo.Top - cmdGoTo.Height - 500
    HScroll1.Width = Me.Width - Picture2.Width - 500
    
    TempDir = Environ("TEMP") & "\"
 
End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产精品一区二区夜夜嗨| 国产不卡视频在线观看| 久久亚洲一级片| 欧美一区二区久久久| 欧美群妇大交群中文字幕| 欧美在线你懂的| 91国偷自产一区二区三区成为亚洲经典 | 99久久综合精品| 成人av影视在线观看| 波多野结衣一区二区三区| 成人午夜免费av| 99久久婷婷国产精品综合| 色域天天综合网| 欧美三区在线观看| 91精品欧美久久久久久动漫| 91精品国产综合久久久蜜臀粉嫩| 欧美另类高清zo欧美| 日韩欧美激情一区| 久久久久久久国产精品影院| 国产精品素人视频| 一区二区三区成人| 蜜臀av一区二区| 国产精品 欧美精品| 91亚洲永久精品| 91精品国产色综合久久| 久久免费看少妇高潮| 自拍av一区二区三区| 日韩一区精品视频| 国产传媒一区在线| 欧美三区在线观看| 欧美精品一区二区在线观看| 国产精品久久久久婷婷| 手机精品视频在线观看| 国产高清亚洲一区| 欧美日韩国产高清一区二区三区| 精品国产一区二区三区久久久蜜月 | 亚洲精品免费播放| 免费观看在线综合| www.日韩av| 日韩精品中文字幕在线不卡尤物| 国产精品亲子乱子伦xxxx裸| 午夜精品久久久久| 97se亚洲国产综合自在线| 91精品国产综合久久久久久久久久 | 国产主播一区二区三区| 色噜噜狠狠成人网p站| 欧美va亚洲va在线观看蝴蝶网| 国产精品电影一区二区三区| 免费高清不卡av| 91久久线看在观草草青青| 久久综合成人精品亚洲另类欧美 | 日韩美女一区二区三区| 亚洲激情自拍偷拍| 国产成人av电影在线播放| 91精品国产综合久久福利软件 | 91精品黄色片免费大全| 亚洲三级小视频| 国产成人免费av在线| 欧美日本高清视频在线观看| 亚洲欧洲综合另类| 成人精品gif动图一区| 久久久亚洲精品石原莉奈| 免费看精品久久片| 欧美精品日韩综合在线| 亚洲美女视频在线观看| 成人免费不卡视频| 国产精品三级视频| 国产美女视频91| 欧美精品一区男女天堂| 麻豆成人在线观看| 欧美一区二区三区爱爱| 日韩国产在线一| 在线欧美一区二区| 亚洲一区二区影院| 欧美特级限制片免费在线观看| 有码一区二区三区| 欧洲一区二区av| 亚洲香肠在线观看| 3d动漫精品啪啪1区2区免费| 午夜欧美在线一二页| 欧美精品久久99久久在免费线 | 亚洲精品菠萝久久久久久久| 99久久er热在这里只有精品66| 亚洲视频一区在线| 白白色 亚洲乱淫| 亚洲色欲色欲www在线观看| 99久久精品一区二区| 亚洲精品美国一| 91.com视频| 国产精品一区二区果冻传媒| 国产欧美日韩综合| 色综合 综合色| 青青草国产成人av片免费| 91精品久久久久久久91蜜桃| 久久99精品国产麻豆不卡| 国产欧美日韩精品在线| 91影院在线免费观看| 亚洲成人激情综合网| 欧美mv和日韩mv的网站| 国产电影一区二区三区| 亚洲色图20p| 日韩一区二区免费高清| 成人亚洲一区二区一| 亚瑟在线精品视频| 久久免费国产精品| 欧洲激情一区二区| 国产一区在线不卡| 一区二区三区产品免费精品久久75| 欧美美女黄视频| 成人免费福利片| 日韩精品成人一区二区三区| 欧美成人精品3d动漫h| 成人app网站| 久久国产精品72免费观看| 自拍偷拍欧美精品| 精品久久久久久最新网址| 96av麻豆蜜桃一区二区| 久久精品国产亚洲高清剧情介绍| 国产精品成人免费| 欧美精品一区二区三区在线播放 | 亚洲成人av福利| 国产欧美日本一区二区三区| 欧美色图天堂网| 成人在线综合网| 三级在线观看一区二区| 亚洲人成精品久久久久久| 久久午夜羞羞影院免费观看| 欧美日韩成人综合在线一区二区| 国产精品888| 久久国产视频网| 亚瑟在线精品视频| 一区二区三区小说| 自拍偷拍欧美激情| 国产精品网站导航| 国产欧美中文在线| 国产色产综合色产在线视频| 欧美顶级少妇做爰| 欧美日本在线看| 欧美天堂亚洲电影院在线播放| 国产成人三级在线观看| 另类中文字幕网| 免费看日韩精品| 午夜a成v人精品| 亚洲成人av在线电影| 亚洲一二三四久久| 亚洲在线观看免费视频| 亚洲精品中文字幕在线观看| 国产精品五月天| 国产精品毛片无遮挡高清| 精品美女一区二区| 欧美精品一区二区三区久久久| 91精品国产91综合久久蜜臀| 欧美日韩亚洲丝袜制服| 欧美艳星brazzers| 欧美日本精品一区二区三区| 精品视频全国免费看| 欧美日韩一区二区三区高清 | 国产一本一道久久香蕉| 国产伦精品一区二区三区免费| 激情亚洲综合在线| 韩国av一区二区三区四区| 国产精品99久久久久久宅男| 国产成人aaaa| 国产99一区视频免费| 成人永久看片免费视频天堂| 92精品国产成人观看免费| 91久久精品一区二区二区| 欧美唯美清纯偷拍| 精品少妇一区二区三区在线视频| 精品国产3级a| 国产精品嫩草99a| 亚洲美女电影在线| 五月天激情综合网| 加勒比av一区二区| 成人一区二区三区在线观看| 91丨porny丨国产| 欧美精品精品一区| 国产视频一区二区三区在线观看| 国产欧美精品在线观看| 亚洲综合自拍偷拍| 美女视频黄久久| 99久久精品国产毛片| 91精品国产综合久久久久久久 | 亚洲精品亚洲人成人网 | 国产精品18久久久| 欧美怡红院视频| 久久精品视频一区二区三区| 亚洲视频狠狠干| 久久精品99久久久| 91麻豆文化传媒在线观看| 欧美一区二区国产| **欧美大码日韩| 久久99国产精品麻豆| www.成人在线| 欧美一个色资源| 亚洲综合一区二区三区| 国产福利精品一区二区| 在线观看91av| 亚洲六月丁香色婷婷综合久久| 久久99久久精品|