Hello everybody,
I am going to describe a situation that I presume several of you have already met.
I added controls on a form that is somewhat heavy as a GUI, so there is not that much place available left.
Then, I realized that the controls I added would me much better on a panel, either visually or from a functional point of view.
My first attempt was to cut the controls to the clipboard, create a panel, and then Ctrl V to paste the controls from the clipboard to the panel.
It appears this was not so efficient as that, and I had to create manually several of the controls again.
So, I try and imagine another procedure to attempt, I should like to know what you think of it.
I consider creating a new form, to save the controls on it, in order to, at least, being able to find them again (if possible, with the code attached). As the clipboard did not appear to be a sufficient saving place.
When trying to apply that, I ran into a problem that perhaps would justify another thread here : Visual Studio 2019 Community Edition was unable to create a form. I remember having that problem one day, I was said to uninstall and reinstall the workload of "C# and VB.Net" from Visual Studio.
It did not appear to give a satisfying results, do you think I should do it again ?
Perhaps doing an update between both operations was a bad idea ?
I do not know whether this can have an interest : I work on a disk image of last year (this is why I am not working on Visual Studio 2022), for SQL Server ran into a problem to be reinstalled, and a lock prevented from finalizing the installation. At least, there is no more lock, although the installation program complains that it misses a folder in its installation support.
I am going to describe a situation that I presume several of you have already met.
I added controls on a form that is somewhat heavy as a GUI, so there is not that much place available left.
Then, I realized that the controls I added would me much better on a panel, either visually or from a functional point of view.
My first attempt was to cut the controls to the clipboard, create a panel, and then Ctrl V to paste the controls from the clipboard to the panel.
It appears this was not so efficient as that, and I had to create manually several of the controls again.
So, I try and imagine another procedure to attempt, I should like to know what you think of it.
I consider creating a new form, to save the controls on it, in order to, at least, being able to find them again (if possible, with the code attached). As the clipboard did not appear to be a sufficient saving place.
When trying to apply that, I ran into a problem that perhaps would justify another thread here : Visual Studio 2019 Community Edition was unable to create a form. I remember having that problem one day, I was said to uninstall and reinstall the workload of "C# and VB.Net" from Visual Studio.
It did not appear to give a satisfying results, do you think I should do it again ?
Perhaps doing an update between both operations was a bad idea ?
I do not know whether this can have an interest : I work on a disk image of last year (this is why I am not working on Visual Studio 2022), for SQL Server ran into a problem to be reinstalled, and a lock prevented from finalizing the installation. At least, there is no more lock, although the installation program complains that it misses a folder in its installation support.
Last edited: