Search Results

Search found 1 results on 1 pages for 'tbetts42'.

Page 1/1 | 1 

  • Restore WindowState from Minimized

    - by tbetts42
    Is there an easy method to restore a minimized form to its previous state, either Normal or Maximized? I'm expecting the same functionality as clicking the taskbar (or right-clicking and choosing restore). So far, I have this, but if the form was previously maximized, it still comes back as a normal window. if (docView.WindowState == FormWindowState.Minimized) docView.WindowState = FormWindowState.Normal; Do I have to handle the state change in the form to remember the previous state?

    Read the article

1