Exceção lançada ao selecionar "ok" na seleção de editar experimentos sem selecionar um experimento
System.ArgumentException was unhandled
HResult=-2147024809
Message=Nome do experimento deve ser composto apenas de caracteres alphanumericos e sem espaços;
Exemplo: 'MeuExperimento'
Source=TestPlatform
StackTrace:
at TestPlatform.Models.ExperimentProgram.set_Name(String value) in C:\Users\albino\Source\Repos\Test-Platform\StroopTest\Models\ExperimentProgram.cs:line 69
at TestPlatform.Views.ExperimentPages.ExperimentConfig.programEdition() in C:\Users\albino\Source\Repos\Test-Platform\StroopTest\Views\ExperimentPages\ExperimentConfig.cs:line 27
at TestPlatform.Views.ExperimentPages.ExperimentConfig..ctor(String programName) in C:\Users\albino\Source\Repos\Test-Platform\StroopTest\Views\ExperimentPages\ExperimentConfig.cs:line 21
at TestPlatform.Views.SidebarUserControls.ExperimentControl.editExperimentButton_Click(Object sender, EventArgs e) in C:\Users\albino\Source\Repos\Test-Platform\StroopTest\Views\SidebarUserControls\ExperimentControl.cs:line 50
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.RadioButton.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at TestPlatform.MainClass.Main() in C:\Users\albino\Source\Repos\Test-Platform\StroopTest\MainClass.cs:line 24
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: