假设a是十位数,b是个位数,那么,计算得到的结果是
(10*a+b)-(a+b)=9*a
所以是9的倍数,而那上面的9的倍数对应的图形都是一样的。
(10*a+b)-(a+b)=9*a
所以是9的倍数,而那上面的9的倍数对应的图形都是一样的。
解决方案 »
- 怎么实现js在ie和火狐下运行
- 跪求高手帮忙写个像手机菜单的网页!!!急用
- extjs 中加载完树之后默认选选一个指定节点怎么写
- 关于打开一个限制大小的窗口
- 如何用递归实现我的这个问题,先谢谢了
- 如何使用createProcessingInstruction()函数!?
- 请问javascript参数中同时有双引号和单引号时该转换成什么?
- window.document.getElementById("")能不能在ie 5.0和5.5下用?
- 树状分析图!!
- 在table里包含了几个图片,点击图片的时候触发一个click,点击不是图片的时候触发另外一个click,怎么写?
- 50分求救二个window.open()问题
- 请教一个关于 Frame 的问题!
骗人的都一样,呵呵
Private Sub GoLabel_Click()
ResultText.Text = ""
Ddc = GetDC(ZoomPicture.hwnd)
Sdc = GetDC(0)
GetNow = True
GetColorSize = 1
ReleaseCapture
SetCapture TmpPicture.hwnd
End Sub'**********' 获得图片放大'**********'
Private Sub TmpPicture_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) '
'* 放大
'
StretchBlt Ddc, -2, -2, ZoomPicture.Width / Screen.TwipsPerPixelX, ZoomPicture.Height / Screen.TwipsPerPixelY, Sdc, (X + Me.Left) / Screen.TwipsPerPixelX - (ZoomPicture.Width / Screen.TwipsPerPixelX) / 6, (Y + Me.Top) / Screen.TwipsPerPixelY - (ZoomPicture.Height / Screen.TwipsPerPixelY) / 6, (ZoomPicture.Height / Screen.TwipsPerPixelY) / 3, (ZoomPicture.Height / Screen.TwipsPerPixelY) / 3, SRCCOPY
'
'* 文本框显示颜色
'
If GetColorSize = 1 Then
ResultText.BackColor = GetPixel(Sdc, (X + Me.Left) / Screen.TwipsPerPixelX, (Y + Me.Top) / Screen.TwipsPerPixelY)
ResultText.ForeColor = InvRGB(CStr(Hex(GetPixel(Sdc, (X + Me.Left) / Screen.TwipsPerPixelX, (Y + Me.Top) / Screen.TwipsPerPixelY))) & " " & HexToRGB(CStr(Hex(GetPixel(Sdc, (X + Me.Left) / Screen.TwipsPerPixelX, (Y + Me.Top) / Screen.TwipsPerPixelY)))))
ResultText.Text = "#" & CStr(Hex(GetPixel(Sdc, (X + Me.Left) / Screen.TwipsPerPixelX, (Y + Me.Top) / Screen.TwipsPerPixelY))) & " " & HexToRGB(CStr(Hex(GetPixel(Sdc, (X + Me.Left) / Screen.TwipsPerPixelX, (Y + Me.Top) / Screen.TwipsPerPixelY))))
End If
End Sub