After I implement one function to enable/disable two textbox this error ocurred, and all objects in the form now are disabled. The function was:
void Habilitar(bool Ligar)
{
txtName.enable = Ligar;
txtLastName = Ligar;
}
SharpDevelop Version : 2.1.0.2429
.NET Version : 2.0.50727.42
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : Portuguese (Brazil) (pt-BR)
Working Set Memory : 71172kb
GC Heap Memory : 17887kb
Exception thrown:
System.Runtime.InteropServices.COMException (0x80131301): O processo foi encerrado. (Exceção de HRESULT: 0x80131301)
em Debugger.Interop.CorDebug.ICorDebugProcess.Continue(Int32 fIsOutOfBand)
em Debugger.Process.Continue()
em Debugger.ManagedCallback.ExitCallback_Continue()
em Debugger.ManagedCallback.StepComplete(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugStepper pStepper, CorDebugStepReason reason)
em Debugger.ManagedCallbackProxy.<>c__DisplayClass1.<StepComplete>b__0()
em Debugger.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
em Debugger.MTA2STA.PerformAllCalls()
em System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
em System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
em System.Threading.ExecutionContext.runTryCode(Object userData)
em System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
em System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
em System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
em System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
em System.Windows.Forms.Control.InvokeMarshaledCallbacks()