Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Creating a Multi Form App for a Multi Monitor Windows Environment

Creating a Multi Form App for a Multi Monitor Windows Environment

Scheduled Pinned Locked Moved Windows Forms
csharpasp-netdotnetvisual-studiowinforms
4 Posts 3 Posters 25 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TC_Dev
    wrote on last edited by
    #1

    Hi, I’m writing a new WinForms app (C#, .Net Core, Visual Studio 2019 Preview). The App was intended to take the form of an MDI Parent container with multiple MDI Child forms; however, I need to allow some of the child forms to leave the MDI Parent container and display on a second or third monitor. I really like the way that Visual Studio does this, the way it allows you to dock a pane within the main container but also allows you to drag panes out of the main container to show on a secondary monitor. Is that possible with an MDI parent/child scenario (I suspect not)? If not, what would be the best way to achieve it? Thanks in advance

    Richard DeemingR L 2 Replies Last reply
    0
    • T TC_Dev

      Hi, I’m writing a new WinForms app (C#, .Net Core, Visual Studio 2019 Preview). The App was intended to take the form of an MDI Parent container with multiple MDI Child forms; however, I need to allow some of the child forms to leave the MDI Parent container and display on a second or third monitor. I really like the way that Visual Studio does this, the way it allows you to dock a pane within the main container but also allows you to drag panes out of the main container to show on a secondary monitor. Is that possible with an MDI parent/child scenario (I suspect not)? If not, what would be the best way to achieve it? Thanks in advance

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      For WinForms, you might want to take a look at: GitHub - dockpanelsuite/dockpanelsuite: DockPanel Suite - The Visual Studio inspired docking library for .NET WinForms[^] DockPanel Suite Documentation — dockpanelsuite 3.0 documentation[^] A Visual Studio 2005-like Interface[^]


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      T 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        For WinForms, you might want to take a look at: GitHub - dockpanelsuite/dockpanelsuite: DockPanel Suite - The Visual Studio inspired docking library for .NET WinForms[^] DockPanel Suite Documentation — dockpanelsuite 3.0 documentation[^] A Visual Studio 2005-like Interface[^]


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        T Offline
        T Offline
        TC_Dev
        wrote on last edited by
        #3

        Thanks, will do. :)

        1 Reply Last reply
        0
        • T TC_Dev

          Hi, I’m writing a new WinForms app (C#, .Net Core, Visual Studio 2019 Preview). The App was intended to take the form of an MDI Parent container with multiple MDI Child forms; however, I need to allow some of the child forms to leave the MDI Parent container and display on a second or third monitor. I really like the way that Visual Studio does this, the way it allows you to dock a pane within the main container but also allows you to drag panes out of the main container to show on a secondary monitor. Is that possible with an MDI parent/child scenario (I suspect not)? If not, what would be the best way to achieve it? Thanks in advance

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          For simplicity, you don't "leave" the MDI container; you create a new (non-mdi) form and copy / use the state from the former; then hide / close the former.

          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups