VB.NET中如何将窗口定位在右下角
我因为一免费软件,需要将提醒信息在右下角开个窗口提醒,特请教高手,谢谢
[解决办法]
本帖最后由 supergreenbean 于 2009-10-05 16:20:06 编辑
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