Dim M_BITMAP As New Bitmap(Me.Width, Me.Height)
Using g As Graphics = Graphics.FromImage(M_BITMAP)
g.CopyFromScreen(Me.Location, Point.Empty, Me.Size)
g.DrawImage(My.Resources.cal, 0, 0, Me.Width, Me.Height)
End Using
Me.BackgroundImage = M_BITMAP
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Label1.Text = DateTime.Now.ToString("HH:mm")
Label2.Text = Date.Now.ToString("dddd")
Label3.Text = Date.Now.ToString("dd")
Label4.Text = Date.Now.ToString("MMMM YYYY")
이 댓글을