private void panelclose_MouseDown(object sender, MouseEventArgs e) 代码的含义
privatevoidpanelclose_MouseDown(objectsender,MouseEventArgse){intPanwidth=panelclose....
private void panelclose_MouseDown(object sender, MouseEventArgs e)
{
int Panwidth = panelclose.Width;
if (e.X > Panwidth / 2)
{
this.Close();
}
else
{
this.WindowState = FormWindowState.Minimized;
}
} 展开
{
int Panwidth = panelclose.Width;
if (e.X > Panwidth / 2)
{
this.Close();
}
else
{
this.WindowState = FormWindowState.Minimized;
}
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询