lt
Point>
)
List<
int>
SnowRate=newList<
int>
)
BitmapBmp=newBitmapScreenPrimaryScreenBoundsWidth,ScreenPrimaryScreenBoundsHeight)
IntPtrDesktopHandle=IntPtrZero
#regionpublicfrmDesktopSnow)¹¹Ô캯Êý<
summary>
¹¹Ô캯Êý<
summary>
publicfrmDesktopSnow){InitializeComponent)
thisFormBorderStyle=FormBorderStyleNone
BtnStartSize=newSize
,
)
BtnCloseSize=newSize
,
)
BtnStartLocation=newPoint
,
)
BtnCloseLocation=newPoint
,
)
BtnStartText="
µãһϰÉ"
BtnCloseText="
¹Ø±Õ"
thisSize=newSizeBtnCloseRight,BtnCloseBottom)
thisOpacity=
}#endregion#regionvoxpϵͳusb ccid keyidSnowTimer_Tickobjectsender,EventArgse)ÏÂÑ©¼ÆʱÆ÷ʼþ<
summary>
ÏÂÑ©¼ÆʱÆ÷ʼþ<
summary>
<
paramname="
sender"
>
¼ÆʱÆ÷±¾Éí<
param>
<
paramname="
e"
>
¼ÆʱÆ÷²ÎÊý<
param>
voidSnowTimer_Tickobjectsender,EventArgse){GraphicsDesktopGraphics=GraphicsFromHwndDesktopHandle)
StringText="
Ê¥µ®¿ìµ½ÁË
Ï£Íû´ó¼ÒÉíÌ彡¿µ
"
ifConvertToInt
SnowTimerTag)==
)DesktopGraphicsDrawStringText,newFont"
ËÎÌå"
,
),newSolidBrushColorRed),newPointFScreenPrimaryScreenBoundsWidth
,ScreenPrimaryScreenBoundsHeight
))
elseDesktopGraphicsDrawStringText,newFont"
ËÎÌå"
,
),