VB.NET中如何将窗口定位在右下角

tydzqxg 2009-10-04 08:11:58
我因为一免费软件,需要将提醒信息在右下角开个窗口提醒,特请教高手,谢谢
...全文
303 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
「已注销」 2012-08-15
  • 打赏
  • 举报
回复
学习了,简单好用。
Location = New Point(My.Computer.Screen.WorkingArea.Width

- Me.Width, My.Computer.Screen.WorkingArea.Bottom - Me.Height)
supergreenbean 2009-10-05
  • 打赏
  • 举报
回复 1
        
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
With Me
.Text = ""
.ControlBox = False
.Size = New Size(100, 50)
.Location = New Point(My.Computer.Screen.WorkingArea.Width - Me.Width, My.Computer.Screen.WorkingArea.Bottom - Me.Height)
.TopMost = True
.Opacity = 50
End With
End Sub
End Class


1,453

社区成员

发帖
与我相关
我的任务
社区描述
VB 控件
社区管理员
  • 控件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧