I want a simple way to maximize and normal windowstate all in one button (click me for image) 方法(代碼)C#編碼 - int maxornot;
private void MaxButton_Click(object sender, EventArgs e)
{
th
可能重複: Borderless application on maximize is hiding behind the task bar in Win 7 and Win 8 我windowstyle是沒有的,我最大化窗口的窗口是任務欄後面 我無法正常看到「同時」窗口。 我嘗試這一點,但它不工作: this.MaxHeight = SystemParameters.VirtualScreenH