if (e.KeyData.ToString().ToUpper() == "RMENU")
{
if(alt==2)
WindowState = WindowState.Normal;
alt = 1;
else
WindowState = WindowState.Minimized;
alt = 2;
}
如果我按右 alt 這個隱藏,當我再次按程式顯示并隱藏
uj5u.com熱心網友回復:
if (e.KeyData.ToString().ToUpper() == "RMENU")
{
if (alt == 2)
{
WindowState = WindowState.Normal;
alt = 1;
}
else if (alt == 1)
{
WindowState = WindowState.Minimized;
alt = 2;
}
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/346050.html
