<p>What I'm doing is I have a full-screen form, with no title bar, and consequently lacks the minimize/maximize/close buttons found in the upper-right hand corner. I'm wanting to replace that functionality with a keyboard short-cut and a context menu item, but I can't seem to find an event to trigger to minimize the form.</p>

[{'answer_id': 69359, 'author': 'JP Richardson', 'author_id': 10333, 'author_profile': 'https://Stackoverflow.com/users/10333', 'pm_score': 5, 'selected': False, 'text': '<pre><code>FormName.WindowState = FormWindowState.Minimized;\n</code></pre>\n'}, {'answer_id': 69362, 'author': 'Craig Eddy', 'author_id': 5557, 'author_profile': 'https://Stackoverflow.com/users/5557', 'pm_score': 4, 'selected': False, 'text': '<pre><code>&lt;form&gt;.WindowState = FormWindowState.Minimized;\n</code></pre>\n'}, {'answer_id': 69363, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': False, 'text': '<pre><code>Form myForm;\nmyForm.WindowState = FormWindowState.Minimized;\n</code></pre>\n'}, {'answer_id': 69372, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 8, 'selected': True, 'text': "<pre><code>private void Form1_KeyPress(object sender, KeyPressEventArgs e)\n{\n     if(e.KeyChar == 'm')\n         this.WindowState = FormWindowState.Minimized;\n}\n</code></pre>\n"}, {'answer_id': 362666, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 5, 'selected': False, 'text': '<p>in c#.net</p>\n\n<pre><code>this.WindowState = FormWindowState.Minimized\n</code></pre>\n'}, {'answer_id': 10916569, 'author': 'profnotime', 'author_id': 1286381, 'author_profile': 'https://Stackoverflow.com/users/1286381', 'pm_score': 2, 'selected': False, 'text': "<p>There's no point minimizing an already minimized form. So here we go:</p>\n\n<pre><code>if (form_Name.WindowState != FormWindowState.Minimized) form_Name.WindowState = FormWindowState.Minimized;\n</code></pre>\n"}, {'answer_id': 19263211, 'author': 'Tech Initiator', 'author_id': 2861211, 'author_profile': 'https://Stackoverflow.com/users/2861211', 'pm_score': -1, 'selected': False, 'text': '<pre><code>this.MdiParent.WindowState = FormWindowState.Minimized;\n</code></pre>\n'}, {'answer_id': 23004359, 'author': 'GoroundoVipa', 'author_id': 3471643, 'author_profile': 'https://Stackoverflow.com/users/3471643', 'pm_score': -1, 'selected': False, 'text': '<pre><code>Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click\n\nMe.Hide()\n\nEnd Sub\n</code></pre>\n'}, {'answer_id': 56264532, 'author': 'Thailor Souza', 'author_id': 11433219, 'author_profile': 'https://Stackoverflow.com/users/11433219', 'pm_score': 0, 'selected': False, 'text': '<p>-- c#.net</p>\n\n<p>NORMALIZE\n    this.WindowState = FormWindowState.Normal;</p>\n\n<p>this.WindowState = FormWindowState.Minimized;</p>\n'}, {'answer_id': 56512081, 'author': 'Abdul Moiz', 'author_id': 11519549, 'author_profile': 'https://Stackoverflow.com/users/11519549', 'pm_score': 0, 'selected': False, 'text': '<p><code>this.WindowState = FormWindowState.Minimized;</code></p>\n'}]
['https://Stackoverflow.com/questions/69352', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7516/']