Anti-QQ scaling menu. Copied from the comrades in the park. Sorry. I only want to record it.

Source: Internet
Author: User

Public Class Form2
Private Sub Form2_Load (ByVal sender As System. Object, ByVal e As System. EventArgs) Handles MyBase. Load
Button1.Dock = DockStyle. Top
Button2.Dock = DockStyle. Bottom
Button3.SendToBack ()
Button3.Dock = DockStyle. Bottom
ListView. BringToFront ()
ListView. Dock = DockStyle. Fill
ListView. Clear ()
ListView. LargeImageList = ImageList
ListView. Items. Add ("wife", "wife", 5)
ListView. Items. Add ("beebot", "beebot", 1)
ListView. Items. Add ("Lili", "Lili", 4)
ListView. Items. Add ("Zhou Gong", "Zhou Gong", 7)
ListView. Items. Add ("lover", "lover", 7)
ListView. Items. Add ("Flowers", "Flowers", 8)
ListView. Items. Add ("Bay", "Bay", 9)
End Sub
Private Sub button#click (ByVal sender As System. Object, ByVal e As System. EventArgs) Handles Button1.Click
Button1.Dock = DockStyle. Top
Button2.Dock = DockStyle. Bottom
Button1.SendToBack ()
Button3.Dock = DockStyle. Bottom
ListView. BringToFront ()
ListView. Dock = DockStyle. Fill
ListView. Clear ()
ListView. LargeImageList = ImageList
ListView. Items. Add ("wife", "wife", 5)
ListView. Items. Add ("beebot", "beebot", 1)
ListView. Items. Add ("Lili", "Lili", 4)
ListView. Items. Add ("Zhou Gong", "Zhou Gong", 7)
ListView. Items. Add ("lover", "lover", 7)
ListView. Items. Add ("Flowers", "Flowers", 8)
ListView. Items. Add ("Bay", "Bay", 9)
End Sub

Private Sub Button3_Click (ByVal sender As System. Object, ByVal e As System. EventArgs)
Button1.Dock = DockStyle. Top
Button2.Dock = DockStyle. Top
Button1.SendToBack ()
Button2.SendToBack ()
Button3.SendToBack ()
Button3.Dock = DockStyle. Top
ListView. BringToFront ()
ListView. Dock = DockStyle. Fill
ListView. Clear ()
ListView. LargeImageList = ImageList
ListView. Items. Add ("wife", "wife", 5)
ListView. Items. Add ("beebot", "beebot", 1)
ListView. Items. Add ("Lili", "Lili", 4)
ListView. Items. Add ("Zhou Gong", "Zhou Gong", 7)
ListView. Items. Add ("lover", "lover", 7)
ListView. Items. Add ("Flowers", "Flowers", 8)
ListView. Items. Add ("Bay", "Bay", 9)
End Sub

Private Sub Button2_Click (ByVal sender As System. Object, ByVal e As System. EventArgs) Handles Button2.Click
Button1.Dock = DockStyle. Top
Button2.Dock = DockStyle. Top
Button1.SendToBack ()
Button2.SendToBack ()
Button3.Dock = DockStyle. Bottom
ListView. BringToFront ()
ListView. Dock = DockStyle. Fill
ListView. Clear ()
ListView. LargeImageList = ImageList
ListView. Items. Add ("wife", "wife", 5)
ListView. Items. Add ("beebot", "beebot", 1)
ListView. Items. Add ("Lili", "Lili", 4)
ListView. Items. Add ("Zhou Gong", "Zhou Gong", 7)
ListView. Items. Add ("lover", "lover", 7)
ListView. Items. Add ("Flowers", "Flowers", 8)
ListView. Items. Add ("Bay", "Bay", 9)
End Sub
End Class

Button1.SendToBack ()
Http://msdn.microsoft.com/zh-cn/library/microsoft.office.tools.excel.controls.button.sendtoback.aspx

ListView. BringToFront ()

Http://msdn.microsoft.com/zh-cn/library/microsoft.office.tools.excel.controls.listview.bringtofront.aspx

Set

. SendToBack () is where Button2 ran.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.