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

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

?? ctl_container.ctl

?? 一個使用數學方法生成波形聲音文件的源代碼
?? CTL
字號:
VERSION 5.00
Begin VB.UserControl Container 
   AutoRedraw      =   -1  'True
   ClientHeight    =   645
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   1395
   ControlContainer=   -1  'True
   ScaleHeight     =   645
   ScaleWidth      =   1395
End
Attribute VB_Name = "Container"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'
'
'
'10/24/2002
'Container written by: Eric Madison, PSC CodeId=40130
'
'
'
Option Explicit

'api for borders
Private Declare Function RoundRect Lib "gdi32" (ByVal hdc As Long, ByVal x1 As Long, ByVal y1 As Long, ByVal x2 As Long, ByVal y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long
Private Declare Function InflateRect Lib "user32" (lpRect As RECT, ByVal X As Long, ByVal Y As Long) As Long

'api for caption rect and printing caption
Private Declare Function DrawTextEx Lib "user32" Alias "DrawTextExA" (ByVal hdc As Long, ByVal lpsz As String, ByVal n As Long, lpRect As RECT, ByVal un As Long, ByVal lpDrawTextParams As Any) As Long

Private Type RECT
    Left As Long
    Top As Long
    Right As Long
    Bottom As Long
End Type

'declare enumerated properties for end user
'   properties window dropdown selections
Public Enum TheBackStyle
    Independent
    AmbientMode
End Enum

Public Enum TheBorderStyle
    Flat
    Bump
    Etch
    None
End Enum

'declare end user public events
Event Click()
Event DblClick()
Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)

'store our font with stdfont to allow end user to
'   select a font at design time or run time
Private WithEvents TheFont As StdFont
Attribute TheFont.VB_VarHelpID = -1

'declare property variables
Private TheBorderStyleX As TheBorderStyle
Private TheBackStyleX As TheBackStyle
Private TheForeColor As OLE_COLOR, TheBackColor As OLE_COLOR
Private TheBorderColorDark As OLE_COLOR, TheBorderColorLight As OLE_COLOR
Private TheBorderWidth As Integer
Private TheCaption As String
Private TheEnabled As Boolean

'raise end user events as they occur
Private Sub UserControl_Click()
    RaiseEvent Click
End Sub

Private Sub UserControl_DblClick()
    RaiseEvent DblClick
End Sub

Private Sub UserControl_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    RaiseEvent MouseDown(Button, Shift, X, Y)
End Sub

Private Sub UserControl_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    RaiseEvent MouseMove(Button, Shift, X, Y)
End Sub

Private Sub UserControl_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
    RaiseEvent MouseUp(Button, Shift, X, Y)
End Sub

Private Sub UserControl_AmbientChanged(PropertyName As String)
    If TheBackStyleX = AmbientMode Then 'if parent forms backcolor changes
        If PropertyName = "BackColor" Then
            DrawContainer
        End If
    End If
End Sub

Private Sub TheFont_FontChanged(ByVal PropertyName As String)
    Set UserControl.Font = TheFont
    UserControl.Refresh
End Sub

Private Sub UserControl_Initialize()
    'create instance of the stdfont object and assign
    '   it to the controls font property
    Set TheFont = New StdFont
    Set UserControl.Font = TheFont
End Sub

Private Sub UserControl_InitProperties()
    BackColor = RGB(192, 192, 192)
    BorderColorDark = RGB(128, 128, 128)
    BorderColorLight = RGB(255, 255, 255)
    BorderStyle = 2
    BorderWidth = 1
    Caption = Extender.Name
    Enabled = True
    TheFont.Name = "Arial"
    ForeColor = RGB(0, 0, 0)
End Sub

Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
    With PropBag
        BackColor = .ReadProperty("BackColor", RGB(192, 192, 192))
        BackStyle = .ReadProperty("BackStyle", 0)
        BorderColorDark = .ReadProperty("BorderColorDark", RGB(128, 128, 128))
        BorderColorLight = .ReadProperty("BorderColorLight", RGB(255, 255, 255))
        BorderStyle = .ReadProperty("BorderStyle", 2)
        BorderWidth = .ReadProperty("BorderWidth", 1)
        Caption = .ReadProperty("Caption", Extender.Name)
        Enabled = .ReadProperty("Enabled", True)
        Set Font = .ReadProperty("Font")
        ForeColor = .ReadProperty("ForeColor", RGB(0, 0, 0))
        UserControl.MousePointer = .ReadProperty("MousePointer", vbDefault)
        Set UserControl.MouseIcon = .ReadProperty("MouseIcon", Nothing)
        Set Picture = .ReadProperty("Picture")
    End With
End Sub

Private Sub UserControl_WriteProperties(PropBag As PropertyBag)
    With PropBag
        .WriteProperty "BackColor", BackColor, RGB(192, 192, 192)
        .WriteProperty "BackStyle", BackStyle, 0
        .WriteProperty "BorderColorDark", BorderColorDark, RGB(128, 128, 128)
        .WriteProperty "BorderColorLight", BorderColorLight, RGB(255, 255, 255)
        .WriteProperty "BorderStyle", BorderStyle, 2
        .WriteProperty "BorderWidth", BorderWidth, 1
        .WriteProperty "Caption", Caption, Extender.Name
        .WriteProperty "Enabled", Enabled, True
        .WriteProperty "Font", Font
        .WriteProperty "ForeColor", ForeColor, RGB(0, 0, 0)
        .WriteProperty "MousePointer", MousePointer, vbDefault
        .WriteProperty "MouseIcon", MouseIcon, Nothing
        .WriteProperty "Picture", Picture
    End With
End Sub

Private Sub UserControl_Resize()
    DrawContainer 'make sure to redraw when resizing
End Sub

'set up end user properties
Public Property Get BackColor() As OLE_COLOR
    BackColor = TheBackColor
End Property

Public Property Let BackColor(ByVal NewColor As OLE_COLOR)
    TheBackColor = NewColor
    DrawContainer
    PropertyChanged "BackColor"
End Property

Public Property Get BackStyle() As TheBackStyle
    BackStyle = TheBackStyleX
End Property

Public Property Let BackStyle(ByVal NewStyle As TheBackStyle)
    TheBackStyleX = NewStyle
    DrawContainer
    PropertyChanged "BackStyle"
End Property

Public Property Get BorderColorDark() As OLE_COLOR
    BorderColorDark = TheBorderColorDark
End Property

Public Property Let BorderColorDark(ByVal NewColor As OLE_COLOR)
    TheBorderColorDark = NewColor
    DrawContainer
    PropertyChanged "BorderColorDark"
End Property

Public Property Get BorderColorLight() As OLE_COLOR
    BorderColorLight = TheBorderColorLight
End Property

Public Property Let BorderColorLight(ByVal NewColor As OLE_COLOR)
    TheBorderColorLight = NewColor
    DrawContainer
    PropertyChanged "BorderColorLight"
End Property

Public Property Get BorderStyle() As TheBorderStyle
    BorderStyle = TheBorderStyleX
End Property

Public Property Let BorderStyle(ByVal NewStyle As TheBorderStyle)
    TheBorderStyleX = NewStyle
    DrawContainer
    PropertyChanged "BorderStyle"
End Property

Public Property Get BorderWidth() As Integer
   BorderWidth = TheBorderWidth
End Property

Public Property Let BorderWidth(ByVal NewWidth As Integer)
   If NewWidth > 1 And TheBorderStyleX <> 0 Then
      TheBorderWidth = 1
   Else
      TheBorderWidth = NewWidth
   End If
   DrawContainer
   PropertyChanged "BorderWidth"
End Property

Public Property Get Caption() As String
    Caption = TheCaption
End Property

Public Property Let Caption(ByVal NewCaption As String)
    TheCaption = NewCaption
    DrawContainer
    PropertyChanged "Caption"
End Property

Public Property Get Enabled() As Boolean
    Enabled = TheEnabled
End Property

Public Property Let Enabled(ByVal NewValue As Boolean)
    TheEnabled = NewValue
    UserControl.Enabled = TheEnabled
    DrawContainer
    PropertyChanged "Enabled"
End Property

Public Property Get Font() As StdFont
    Set Font = TheFont
End Property

Public Property Set Font(NewFont As StdFont)
    If NewFont Is Nothing Then Exit Property
    With TheFont
        .Bold = NewFont.Bold
        .Charset = NewFont.Charset
        .Italic = NewFont.Italic
        .Name = NewFont.Name
        .Size = NewFont.Size
        .Strikethrough = NewFont.Strikethrough
        .Underline = NewFont.Underline
        .Weight = NewFont.Weight
    End With
    DrawContainer
    PropertyChanged "Font"
End Property

Public Property Get ForeColor() As OLE_COLOR
    ForeColor = TheForeColor
End Property

Public Property Let ForeColor(ByVal NewColor As OLE_COLOR)
    TheForeColor = NewColor
    DrawContainer
    PropertyChanged "ForeColor"
End Property

Public Property Get hdc() As Long
    hdc = UserControl.hdc 'dont need this yet
End Property

Public Property Get hWnd() As Long
    hWnd = UserControl.hWnd 'dont need this yet
End Property

Public Property Get MouseIcon() As StdPicture
    Set MouseIcon = UserControl.MouseIcon
End Property

Public Property Set MouseIcon(ByVal MouseIcon As StdPicture)
    Set UserControl.MouseIcon = MouseIcon
    PropertyChanged "MouseIcon"
End Property

Public Property Get MousePointer() As MousePointerConstants
    MousePointer = UserControl.MousePointer
End Property

Public Property Let MousePointer(ByVal MousePointer As MousePointerConstants)
    UserControl.MousePointer = MousePointer
    PropertyChanged "MousePointer"
End Property

Public Property Get Picture() As Picture
    Set Picture = UserControl.Picture
End Property

Public Property Set Picture(ByVal NewPicture As Picture)
    Set UserControl.Picture = NewPicture
    DrawContainer
    PropertyChanged "Picture"
End Property

Private Sub DrawContainer()
    Dim X As Integer
    Dim r As RECT
    Dim Corner As Integer
    
    With UserControl
        .Cls 'erase everything before redrawing
        .ScaleMode = 3 'make sure to set to pixels for api
        Corner = 5 'change this number if you want greater or lesser curvature on border corners
                   ' 1 for no rounded corner
        'set backcolor
        If TheBackStyleX = 0 Then 'if container has independent backcolor
            .BackColor = TheBackColor 'will have own backcolor
        Else
            .BackColor = Ambient.BackColor 'will change to match parent forms backcolor
        End If
    
        'get borders and caption area
        If TheCaption <> "" Then 'if a caption exists
            r.Top = .TextHeight(TheCaption) / 2
        Else
            r.Top = .ScaleTop
            Corner = 1  ' RR
        End If
        r.Left = .ScaleLeft
        r.Bottom = .ScaleTop + .ScaleHeight
        r.Right = .ScaleLeft + .ScaleWidth
    
        'draw borders
        Select Case TheBorderStyleX
            Case Flat
                .ForeColor = TheBorderColorDark
                For X = 1 To TheBorderWidth
                    RoundRect .hdc, r.Left, r.Top, r.Right, r.Bottom, Corner, Corner
                    InflateRect r, -1, -1
                Next
            Case Bump
                .ForeColor = TheBorderColorDark
                RoundRect .hdc, 1, r.Top + 1, r.Right, r.Bottom, Corner, Corner
                .ForeColor = TheBorderColorLight
                RoundRect .hdc, 0, r.Top, r.Right - 1, r.Bottom - 1, Corner, Corner
            Case Etch
                .ForeColor = TheBorderColorLight
                RoundRect .hdc, 1, r.Top + 1, r.Right, r.Bottom, Corner, Corner
                .ForeColor = TheBorderColorDark
                RoundRect .hdc, 0, r.Top, r.Right - 1, r.Bottom - 1, Corner, Corner
            Case Else
                'no borders
        End Select
    
        'set up caption area
        If TheBackStyleX = AmbientMode Then
            .ForeColor = Ambient.BackColor
            .FillColor = Ambient.BackColor
        Else
            .ForeColor = TheBackColor
            .FillColor = TheBackColor
        End If
        .FillStyle = 0 'set to solid
        
        'draw caption area
        If TheCaption <> "" Then 'if a caption exists
            RoundRect .hdc, 4, 0, .TextWidth(TheCaption) + 8, .TextHeight(TheCaption), 0, 0
            'change x1 and x2 coordinates to accomodate corners as necessary
        End If
        .FillStyle = 1 'reset to transparent so no problems later
        
        'draw caption
        If TheEnabled = False Then 'if container is disabled draw caption inset for disabled appearance
            .ForeColor = RGB(255, 255, 255)
            r.Left = 8: r.Top = 1 'change r.left to accomadate corners as necessary
            DrawTextEx .hdc, TheCaption, Len(TheCaption), r, 0&, 0&
            .ForeColor = RGB(128, 128, 128)
            r.Left = 7
            r.Top = 0 'change r.left to accomodate corners as necessary
            DrawTextEx .hdc, TheCaption, Len(TheCaption), r, 0&, 0&
        Else 'it's enabled
            .ForeColor = TheForeColor
            r.Left = 7: r.Top = 0 'change r.left to accomadate corners as necessary
            DrawTextEx .hdc, TheCaption, Len(TheCaption), r, 0&, 0&
        End If
    End With
End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区在线观看视频| 精品电影一区二区三区| 亚洲免费观看高清完整| 91女人视频在线观看| 一区二区三区四区蜜桃| 欧美日韩日日夜夜| 久久精品国产久精国产| 久久久久久久综合| 色综合色狠狠天天综合色| 一区二区三区国产| 欧美一区二区视频在线观看| 国产一区二区在线观看视频| 国产精品超碰97尤物18| 在线亚洲一区观看| 精品一区二区久久久| 国产精品美女久久福利网站| 欧美视频完全免费看| 黄色小说综合网站| 国产精品高潮久久久久无| 欧美视频在线一区二区三区 | 成人三级伦理片| 亚洲制服丝袜av| 精品久久一区二区三区| 91在线精品秘密一区二区| 午夜不卡av免费| 国产精品系列在线| 91精品视频网| 成人亚洲一区二区一| 亚洲一区二区在线观看视频| 精品久久久久久久久久久久久久久| 成人av资源网站| 免费久久99精品国产| 国产精品美女久久久久av爽李琼| 91精品在线观看入口| 成人av在线网站| 免费欧美日韩国产三级电影| 亚洲天堂中文字幕| xvideos.蜜桃一区二区| 在线一区二区观看| 国产高清精品网站| 全国精品久久少妇| 玉足女爽爽91| 国产日产欧美精品一区二区三区| 欧美日韩国产经典色站一区二区三区 | 久久精品国产久精国产| 一区二区三区免费观看| 欧美激情一区不卡| 91精品国产91久久综合桃花| 91理论电影在线观看| 激情欧美一区二区| 日韩二区在线观看| 亚洲午夜精品在线| 亚洲视频一二三区| 国产欧美日韩卡一| 久久综合九色综合欧美亚洲| 欧美高清激情brazzers| 91天堂素人约啪| 成人晚上爱看视频| 国产精品一区二区久久不卡| 老色鬼精品视频在线观看播放| 亚洲午夜激情网页| 亚洲国产日日夜夜| 亚洲第一激情av| 亚洲高清久久久| 亚洲制服丝袜av| 亚洲午夜一区二区| 亚洲国产毛片aaaaa无费看| 亚洲男人的天堂在线aⅴ视频| 国产精品免费久久| 亚洲国产精品ⅴa在线观看| 国产欧美一区二区三区沐欲| 久久蜜桃一区二区| 国产视频一区在线观看 | 欧美日韩在线亚洲一区蜜芽| 色先锋资源久久综合| 色婷婷香蕉在线一区二区| 91麻豆精品在线观看| 97久久精品人人澡人人爽| av一区二区三区四区| 99re热这里只有精品视频| 成人福利视频网站| 97精品久久久久中文字幕| 一本久久a久久免费精品不卡| 91免费视频大全| 一本色道久久综合亚洲91| 色香蕉久久蜜桃| 欧美视频日韩视频| 日韩欧美资源站| 欧美成人福利视频| 国产亚洲欧洲997久久综合| 亚洲激情自拍视频| 天堂av在线一区| 久久成人免费电影| 国产高清久久久| 日本高清不卡视频| 制服丝袜一区二区三区| 精品国产乱码久久久久久牛牛| 欧美精品一区二区蜜臀亚洲| 国产欧美日本一区二区三区| 亚洲欧美综合另类在线卡通| 亚洲一区中文在线| 免费看日韩精品| 成人爽a毛片一区二区免费| 欧洲精品中文字幕| 91精品国产高清一区二区三区蜜臀| 精品理论电影在线| 亚洲另类在线视频| 麻豆91在线观看| www.成人网.com| 678五月天丁香亚洲综合网| 精品国产伦一区二区三区观看方式 | 亚洲成人精品在线观看| 久久国产精品99久久久久久老狼| 国产又粗又猛又爽又黄91精品| 成人av网站免费| 欧美视频在线观看一区二区| www国产精品av| 一区二区三区在线视频观看58| 久久电影国产免费久久电影| 成人午夜在线免费| 欧美一区二区在线免费播放| 最新久久zyz资源站| 美女视频黄久久| 色偷偷久久人人79超碰人人澡| 欧美一区二区在线免费观看| 亚洲日本在线a| 国产一区不卡在线| 欧美亚洲综合色| 国产精品久久久久久久久快鸭| 日一区二区三区| 91丨九色丨国产丨porny| 日韩精品一区二区三区在线观看| 亚洲女性喷水在线观看一区| 国产成人aaa| 日韩一区二区免费视频| 亚洲欧美乱综合| 成人国产精品免费观看动漫| 日韩精品综合一本久道在线视频| 亚洲精品美国一| 成人福利电影精品一区二区在线观看| 欧美一级黄色大片| 亚洲丶国产丶欧美一区二区三区| 99re成人精品视频| 久久久精品影视| 久久9热精品视频| 欧美另类一区二区三区| 亚洲免费在线播放| jlzzjlzz欧美大全| 国产清纯美女被跳蛋高潮一区二区久久w | 日韩视频免费直播| 首页国产欧美久久| 欧美色涩在线第一页| 亚洲欧美日韩国产综合| 丁香另类激情小说| 久久亚洲二区三区| 狠狠色狠狠色合久久伊人| 日韩精品一区二区三区视频播放 | 1000精品久久久久久久久| 国产mv日韩mv欧美| 国产欧美日韩精品一区| 国产酒店精品激情| 国产欧美久久久精品影院| 国产精品一区二区三区99| 国产亚洲精品福利| 国产99精品国产| 国产精品久久久久影院亚瑟| 成人免费看片app下载| 国产精品久久久久久亚洲伦 | 国产无遮挡一区二区三区毛片日本| 久久福利资源站| 久久综合999| 国产91在线看| 国产精品狼人久久影院观看方式| 成人少妇影院yyyy| 亚洲私人影院在线观看| 91免费视频网址| 午夜欧美视频在线观看| 91精品国产综合久久精品图片 | 欧美极品少妇xxxxⅹ高跟鞋| 成人毛片在线观看| 亚洲乱码国产乱码精品精98午夜 | av不卡在线播放| 亚洲午夜一二三区视频| 日韩亚洲欧美成人一区| 国产一区视频在线看| 中文字幕第一区| 欧美亚洲动漫精品| 日韩综合在线视频| 国产日韩精品久久久| av在线不卡电影| 丝瓜av网站精品一区二区| 精品少妇一区二区三区在线播放| 国产精品888| 亚洲影院理伦片| 日韩精品一区二区在线观看| 国产传媒日韩欧美成人| 亚洲免费在线播放| 日韩精品中文字幕在线不卡尤物| 成人在线一区二区三区| 亚洲成人777|