很好,這說明Zune肯定是.net 應用程序了,然後我們可以看到Zune需要如下庫
01
// Is this a double-click?
02
if (DateTime.Now.Subtract(m_headerLastClicked) <= s_doubleClick)
03
{
04
// Execute the code inside the event handler for the
05
// restore button click passing null for the sender
06
// and null for the event args.
07
HandleRestoreClick(null, null);
08
}
09
10
m_headerLastClicked = DateTime.Now;
11
12
if (Mouse.LeftButton == MouseButtonState.Pressed)
13
{
14
DragMove();
15
}