SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

All objects in the form are disabled

Last post 04-22-2007 8:18 PM by Calel. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-22-2007 8:18 PM

    • Calel
    • Not Ranked
    • Joined on 04-22-2007
    • Brasil
    • Posts 1

    All objects in the form are disabled

     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()

    Filed under: , ,
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.