Can’t run program because it asks me to attach on process
Make sure you have your solution opened, then right click on your project > Set as Start Up Project
Make sure you have your solution opened, then right click on your project > Set as Start Up Project
foreach (Control control in flowPanel.Controls) { if (control != NodeEditPanel.RootNodePanel) { control.Dispose(); } } flowPanel.Controls.Clear(); This is a pretty classic Winforms bug, many programmers have been bitten by it. Disposing a control also removes it from the parent’s Control collection. Most .NET collection classes trigger an InvalidOperationException when iterating them changes the collection but that … Read more
The Downloads folder is a so called “known” folder, together with Documents, Videos, and others. Do NOT: combine hardcoded path segments to retrieve known folder paths assume known folders are children of the user folder abuse a long deprecated registry key storing outdated paths Known folders can be redirected anywhere in their property sheets. I’ve … Read more