Regarding the development of Visual studio 2017 windows form, I would like to ask about SplitContainer.Using SplitContainer control, we would like to place players on four panels in the upper and lower columns and resize any player by dragging while each player plays the video.
However, if you select SplitContainer side by side, you can only resize left and right (see attached picture). This is the limit of SplitContainer specification, but if there is a way to resize it freely, please let me know.
If you are using only two SplitContainers
The following are possible options:
The machine translation is a little strange, but there is a description below.
SplitContainer Control Overview (Windows Form)
You can also nest one or more SplitContainer controls horizontally, creating the top and bottom panels of the second SplitContainer.
The layout of the split is different, but here's an article on how to think and how to do it.
Create form with splitcontainer
Example of dividing horizontally into three parts
If you can't use three SplitContainers
I have set up and processed the following settings and fixed them myself (so I will release them):
FixedPanel
property of the underlying SplitContainer is not None
or the IsSplitterFixed
property is True
Here's an example of a reference article.
[C#]How to secure SplitContainer Panel
04.Fix specific panel sizes during resize events
912 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.