I am making a soundboard and I accidentally closed the design view tab for it.
How can I get design view back? (I'm also new to c#)
First class in namespace must inherit from Form.
Example of working code:
namespace Test
{
public partial class Form1 : Form
{
Debug.WriteLine("Hello World!")
}
class your_class
{
}
}
Example of "not" working code:
Namespace Test
{
class your_class
{
}
public partial class Form1 : Form
{
Debug.WriteLine("Hello World!")
}
}
Hi I tried solution from this link ( https://stackoverflow.com/a/59750247/3828925 ) which seems to work for me finally after trying a lot of different things. Basically you click on the "Switch between solutions and available views" once which shows just the solution and then click again. It takes a few seconds but then I was able to see my forms.
have you checked under Tools>Options then scroll to XAML Designer and make sure the "Enable XAML Designer (requires restart of Visual Studio)" checkbox is clicked on? This is for Visual Studio 2017
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.