C#程序实现窗体的最大化/最小化
http://blog.csdn.net/jiangqin115/article/details/41251215
1 private void button1_Click(object sender, EventArgs e) 2 { 3 this.WindowState = FormWindowState.Maximized; 4 this.notifyIcon1.Visible = true; 5 } 6 7 private void button2_Click(object sender, EventArgs e) 8 { 9 this.WindowState = FormWindowState.Minimized; 10 this.notifyIcon1.Visible = true; 11 } 12 private void button3_Click(object sender, MouseEventArgs e) 13 { 14 this.WindowState = FormWindowState.Normal; 15 this.Visible = true; 16 }