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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? lcddisplay.ctl

?? 普通波形發(fā)生器 開發(fā)環(huán)境:VisualBadsic
?? CTL
字號:
VERSION 5.00
Begin VB.UserControl LCDDisplay 
   AutoRedraw      =   -1  'True
   ClientHeight    =   990
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   1170
   ScaleHeight     =   66
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   78
   ToolboxBitmap   =   "LCDDisplay.ctx":0000
   Begin VB.Image PicDigit 
      Height          =   735
      Index           =   0
      Left            =   120
      Top             =   120
      Width           =   795
   End
End
Attribute VB_Name = "LCDDisplay"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'****************************************************************************
'人人為我,我為人人
'枕善居漢化收藏整理
'發(fā)布日期:2007/05/25
'描    述:普通波形發(fā)生器 Version 1.0
'網(wǎng)    站:http://www.Mndsoft.com/  (VB6源碼博客)
'網(wǎng)    站:http://www.VbDnet.com/   (VB.NET源碼博客,主要基于.NET2005)
'e-mail  :Mndsoft@163.com
'e-mail  :Mndsoft@126.com
'OICQ    :88382850
'          如果您有新的好的代碼別忘記給枕善居哦!
'****************************************************************************
Option Explicit

Enum DigitSize
    Small = 0
    Large = 1
End Enum

Public Enum mhc_Appearance
  [3D] = 1
  Thin = 2
End Enum

Public Enum mhc_BorderStyle
  None = 0
  Etched = 1
  Raised = 2
  Sunken = 3
  Line = 4
End Enum

Enum LeadChar
    Zero = 0
    Blank = 1
End Enum

' private value-holders
Private m_Font                As StdFont
Private m_Appearance          As mhc_Appearance
Private m_BorderStyle         As mhc_BorderStyle
Private m_BorderColor         As OLE_COLOR

Dim m_DigitSize As DigitSize      'digit's size (0=small,1=large)
Dim m_DigitCount As Integer     'number of digits to display
Dim m_Value As Double           'Value to display
Dim m_FillChar As LeadChar       ' Leading Zeros or Blank

Public Event Error()

Private Function InitDisplay()
    Dim intLoop As Integer
    
    UserControl.Cls
    
    Rem Unload All but 1 of the image boxes
    For intLoop = PicDigit.UBound To 1 Step -1
        Unload PicDigit(intLoop)
    Next
    
    Rem Setup the 1st box
    PicDigit(0).Left = 4
    PicDigit(0).Top = 4
    If m_DigitSize = 0 Then
        PicDigit(0).Width = smImageWidth
        PicDigit(0).Height = smImageHeight
    Else
        PicDigit(0).Width = lgImageWidth
        PicDigit(0).Height = lgImageHeight
    End If
    
    'PicDigit(0).BorderStyle = 1
    
    UserControl.Cls
    
    Rem Now Add Enough Image Controls to Handle Number of Digits
    For intLoop = 1 To m_DigitCount - 1
        Load PicDigit(intLoop)
        PicDigit(intLoop).Visible = True
        PicDigit(intLoop).Top = PicDigit(0).Top
        'PicDigit(intLoop).BorderStyle = 1
        PicDigit(intLoop).Width = PicDigit(0).Width
        PicDigit(intLoop).Height = PicDigit(0).Height
        If m_DigitSize = 0 Then
            PicDigit(intLoop).Left = PicDigit(intLoop - 1).Left + smImageWidth
        Else
            PicDigit(intLoop).Left = PicDigit(intLoop - 1).Left + lgImageWidth
        End If
    Next
End Function


Private Sub RepaintCtl() ' the main paint-routine
    Dim bdrFlags As Long, RT As RECT
    Dim intLoop As Integer
    Dim intBase As Integer
    
    UserControl.Cls
    
    Select Case m_BorderStyle
        Case 0, 4
        Case 1: bdrFlags = EDGE_ETCHED
        Case 2
            If m_Appearance = Thin Then bdrFlags = BDR_RAISEDINNER Else bdrFlags = BDR_RAISED
        Case 3
            If m_Appearance = Thin Then bdrFlags = BDR_SUNKENOUTER Else bdrFlags = BDR_SUNKEN
    End Select
    
    RT.Left = 0: RT.Right = ScaleWidth: RT.Top = 0: RT.Bottom = ScaleHeight
    DrawEdge UserControl.hdc, RT, bdrFlags, BF_RECT
    
    If m_BorderStyle = 4 Then
        UserControl.Line (0, 0)-(ScaleWidth - 1, ScaleHeight - 1), m_BorderColor, B
    End If
    
    If m_DigitSize = Small Then
        intBase = 110
    Else
        intBase = 210
    End If
    
    If m_FillChar = Blank Then
        intBase = intBase + 11
    End If
    
    For intLoop = 0 To PicDigit.UBound
        PicDigit(intLoop).Picture = LoadResPicture(intBase, vbResBitmap)
    Next
End Sub


Public Function UpdateValue()
    
    Dim strBuffer As String
    Dim strValue As String
    Dim intCurDigit As Integer
    Dim intBase As Integer
    Dim strChar As String
    Dim intChar As Integer
    Dim intOffset As Integer
    Dim intLoop As Integer
    Dim strTemp As String
    Dim strFmt As String
    
    strValue = m_Value
    strTemp = ""
    
    On Error GoTo UValue_err
    
    If m_DigitSize = Small Then
        intBase = 110
    Else
        intBase = 210
    End If
    
    For intLoop = 0 To m_DigitCount - 1
        PicDigit(intLoop).Picture = LoadResPicture(intBase, vbResBitmap)
    Next
    
    intCurDigit = 0
    intOffset = 0
    'strValue = ""
    Do While intCurDigit < Len(strValue) ' - 1
        strChar = Mid(strValue, intCurDigit + 1 + intOffset, 1)
        If strChar = "-" Then
            intChar = intBase + 14
            intCurDigit = intCurDigit + 1
            strBuffer = strBuffer & Chr(intChar)
        ElseIf strChar = "." Then
            intChar = Val(Asc(Mid(strBuffer, Len(strBuffer), 1))) - 10
            If Len(strBuffer) > 1 Then
                Mid(strBuffer, Len(strBuffer), 1) = Chr(intChar)
            Else
                Mid(strBuffer, 1, 1) = Chr(intChar)
            End If
            intOffset = 1
        Else
            intChar = intBase + Val(strChar)
            intCurDigit = intCurDigit + 1
            strBuffer = strBuffer & Chr(intChar)
        End If
    Loop
    
    Do While Len(strFmt) < (m_DigitCount - Len(strBuffer))
        If m_FillChar = Blank Then
            strFmt = strFmt & Chr(intBase + 11) 'blank
        Else
            strFmt = strFmt & Chr(intBase)  'zero
        End If
    Loop
    
    If Asc(Left(strBuffer, 1)) - intBase = 14 And m_FillChar = Zero Then
        strBuffer = Chr(intBase + 14) & strFmt & Mid(strBuffer, 2, Len(strBuffer))
    Else
        strBuffer = strFmt & strBuffer
    End If
    For intCurDigit = 0 To m_DigitCount - 1
'        If Mid(strBuffer, intCurDigit + 1, 1) <> "" Then
            intChar = Asc(Mid(strBuffer, intCurDigit + 1, 1))
            PicDigit(intCurDigit).Picture = LoadResPicture(intChar, vbResBitmap)
'        End If
    Next
Exit Function
UValue_err:
        For intLoop = 0 To PicDigit.UBound
            PicDigit(intLoop).Picture = LoadResPicture(intBase + 14, vbResBitmap)
        Next
        RaiseEvent Error
    Exit Function
End Function


Private Sub UserControl_AmbientChanged(PropertyName As String)
    RepaintCtl
    UpdateValue
End Sub

Private Sub UserControl_InitProperties()
    m_BorderStyle = Etched
    m_DigitSize = Small
    m_DigitCount = 4
    m_Value = 1234
    m_FillChar = Blank
    InitDisplay
    UpdateValue
    RepaintCtl
End Sub
Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
    With PropBag
        m_Value = .ReadProperty("Value", 1234)
        m_BorderStyle = .ReadProperty("BStyle", 1)
        m_DigitSize = .ReadProperty("DSize", 1)
        m_DigitCount = .ReadProperty("DCount", 4)
        m_FillChar = .ReadProperty("LChar", 1)
    End With
    InitDisplay
    RepaintCtl
End Sub
Private Sub UserControl_Resize()
    UserControl.Width = (PicDigit(PicDigit.UBound).Left + PicDigit(PicDigit.UBound).Width + PicDigit(0).Left) * Screen.TwipsPerPixelX
    UserControl.Height = (PicDigit(PicDigit.UBound).Top + PicDigit(PicDigit.UBound).Height + PicDigit(0).Top) * Screen.TwipsPerPixelY
End Sub
Public Property Get DigitSize() As DigitSize
    DigitSize = m_DigitSize
End Property

Public Property Let DigitSize(ByVal vNewValue As DigitSize)
    m_DigitSize = vNewValue
    InitDisplay
    UserControl_Resize
    RepaintCtl
    UpdateValue
    PropertyChanged "DigitSize"
End Property


Public Property Get BorderStyle() As mhc_BorderStyle
    BorderStyle = m_BorderStyle
End Property

Public Property Let BorderStyle(ByVal vNewValue As mhc_BorderStyle)
    m_BorderStyle = vNewValue
    RepaintCtl
    PropertyChanged "BorderStyle"
End Property

Public Property Get DigitCount() As Integer
    DigitCount = m_DigitCount
End Property

Public Property Let DigitCount(ByVal vNewValue As Integer)
    If vNewValue > 0 Then
        m_DigitCount = vNewValue
        InitDisplay
        UserControl_Resize
        RepaintCtl
        PropertyChanged "DigitCount"
    End If
End Property

Public Property Get Value() As Double
    Value = m_Value
End Property

Public Property Let Value(ByVal vNewValue As Double)
    m_Value = vNewValue
    UpdateValue
    PropertyChanged "Value"
End Property

Private Sub UserControl_WriteProperties(PropBag As PropertyBag)
    With PropBag
        .WriteProperty "Value", m_Value, 1234
        .WriteProperty "BStyle", m_BorderStyle, 1
        .WriteProperty "DSize", m_DigitSize, 1
        .WriteProperty "DCount", m_DigitCount, 4
        .WriteProperty "LChar", m_FillChar, 1
    End With
End Sub

Public Property Get LeadingChar() As LeadChar
    LeadingChar = m_FillChar
End Property

Public Property Let LeadingChar(ByVal vNewValue As LeadChar)
    m_FillChar = vNewValue
    RepaintCtl
    UpdateValue
    PropertyChanged "LeadingChar"
End Property

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久免费国产精品| 亚洲精品在线免费播放| 奇米精品一区二区三区在线观看一| 日韩美女视频一区二区在线观看| 国产成人鲁色资源国产91色综 | 国产精品一区2区| 一区二区三区不卡视频在线观看| 日韩一区二区三区av| 99精品国产一区二区三区不卡| 青椒成人免费视频| 一区二区在线免费观看| 久久午夜色播影院免费高清| 欧美婷婷六月丁香综合色| 国产精品中文字幕一区二区三区| 亚洲靠逼com| 欧美极品美女视频| 日韩欧美一二三| 欧美伊人久久久久久午夜久久久久| 国产成人av一区二区三区在线 | 国产精品亚洲人在线观看| 天涯成人国产亚洲精品一区av| 国产精品嫩草影院com| 在线播放中文一区| 在线观看日韩高清av| 成人免费看的视频| 国产乱人伦偷精品视频不卡| 日韩二区三区在线观看| 亚洲国产欧美在线| 亚洲精品视频免费观看| 亚洲国产精品v| 国产三级欧美三级日产三级99| 日韩三级精品电影久久久| 欧美日韩性生活| 91久久精品午夜一区二区| 99热国产精品| 成人激情电影免费在线观看| 国产精品自在欧美一区| 国产一区二区在线观看视频| 久久精品国产精品亚洲综合| 日本sm残虐另类| 日韩精品久久久久久| 性感美女极品91精品| 亚洲香肠在线观看| 亚洲午夜精品网| 夜夜嗨av一区二区三区中文字幕| 最新成人av在线| 亚洲欧美另类图片小说| 成人免费视频在线观看| 亚洲三级小视频| 亚洲精品国产第一综合99久久 | 夜夜夜精品看看| 亚洲国产一区在线观看| 亚洲6080在线| 日本色综合中文字幕| 午夜国产精品一区| 日日骚欧美日韩| 日韩黄色一级片| 欧美日韩视频一区二区| 欧美亚洲国产一卡| 91精品国产手机| 欧美电影免费观看高清完整版在线观看| 5月丁香婷婷综合| 26uuu亚洲综合色| 中文字幕精品在线不卡| 亚洲免费在线观看视频| 亚洲成人免费电影| 奇米四色…亚洲| 从欧美一区二区三区| 91香蕉视频污| 欧美日精品一区视频| 日韩精品专区在线影院观看| 久久尤物电影视频在线观看| 日本一区二区电影| 亚洲精品日韩一| 青青草原综合久久大伊人精品优势| 看电影不卡的网站| 99久久久精品| 在线不卡的av| 国产精品美女一区二区在线观看| 亚洲激情自拍视频| 美女视频网站久久| 成人精品视频一区二区三区尤物| 一区二区三区国产精华| 日本视频免费一区| eeuss鲁片一区二区三区| 欧美色综合影院| 久久精品一区二区三区不卡| 亚洲精品免费在线播放| 免费成人在线网站| www.亚洲在线| 7777精品伊人久久久大香线蕉| 国产视频一区在线播放| 亚洲一区二区视频| 国产精品乡下勾搭老头1| 在线精品国精品国产尤物884a | 亚洲日本一区二区| 美女爽到高潮91| 在线一区二区三区| 久久精品一区二区三区不卡牛牛| 亚洲午夜久久久| 成人av在线一区二区| 91精品国产综合久久久久久久 | 国产精品综合二区| 欧美日本免费一区二区三区| 久久精品男人天堂av| 五月天国产精品| youjizz国产精品| 久久蜜桃av一区精品变态类天堂| 一区二区高清视频在线观看| 国产米奇在线777精品观看| 欧美亚洲动漫制服丝袜| 亚洲国产精品成人综合色在线婷婷 | 欧美电视剧在线观看完整版| 亚洲美女淫视频| 国产成人在线免费| 91麻豆精品国产自产在线观看一区| 最新国产精品久久精品| 国产一区二区免费看| 宅男噜噜噜66一区二区66| 亚洲男人电影天堂| 成人黄页毛片网站| 国产欧美综合色| 国产真实乱对白精彩久久| 7777精品伊人久久久大香线蕉 | 欧美三级乱人伦电影| 中文字幕一区二区不卡| 国产一区999| 精品国产99国产精品| 婷婷综合久久一区二区三区| 日本黄色一区二区| 亚洲欧美一区二区在线观看| 国产大陆亚洲精品国产| 久久综合色婷婷| 国内精品久久久久影院一蜜桃| 欧美一区二区三区免费观看视频 | 91免费看视频| 亚洲日本在线观看| 99久久精品国产一区| 成av人片一区二区| 日韩电影在线免费| 亚洲成人自拍偷拍| 欧美国产日本视频| 91福利小视频| 精品一区二区在线播放| 亚洲一区二区三区在线| 国产日韩精品一区二区三区| 99国产一区二区三精品乱码| 亚洲一区二区三区三| 精品国产一区二区三区久久久蜜月 | 久久免费视频色| 国产日韩亚洲欧美综合| 一区二区三区欧美亚洲| 日韩国产精品久久久| 午夜久久久影院| 日本一区中文字幕| 日本女人一区二区三区| 精东粉嫩av免费一区二区三区| 免费在线欧美视频| 国产精品18久久久久久久网站| 国产黄色成人av| 日本欧美肥老太交大片| 久久精品视频一区| 国产一区二区三区在线观看免费视频 | 这里是久久伊人| 久久97超碰色| 亚洲国产精品精华液2区45| 91网页版在线| 亚洲va韩国va欧美va精品 | 欧美视频第二页| 麻豆国产精品官网| 日本一区二区免费在线观看视频| 成人av综合在线| 亚洲狠狠爱一区二区三区| 欧美电视剧在线看免费| www.亚洲人| 日韩国产高清在线| 国产三级精品三级在线专区| 色欧美日韩亚洲| 久久99国产精品麻豆| 亚洲人成在线观看一区二区| 欧美精品色一区二区三区| 国产一区二区三区高清播放| 亚洲视频1区2区| 91精品国产丝袜白色高跟鞋| 国产成人aaa| 亚洲高清一区二区三区| 久久久亚洲高清| 欧美吻胸吃奶大尺度电影| 国产精品一区二区不卡| 亚洲成在线观看| 亚洲国产精品精华液ab| 337p亚洲精品色噜噜| 本田岬高潮一区二区三区| 奇米精品一区二区三区四区 | 蜜桃视频在线观看一区二区| 欧美猛男超大videosgay| 亚洲在线观看免费视频| 久久精品99国产精品| 成人性视频网站| 精品国产乱码久久|