Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/07/2016, 07:25
antonio_dsanchez
 
Fecha de Ingreso: abril-2015
Mensajes: 130
Antigüedad: 9 años, 1 mes
Puntos: 0
Error al Salir de la aplicación

hola a todos tengo una situación con una aplicación que se desarrollo en C#

todo el funcionamiento esta bien excepto al salir de esta

al salir de la aplicación me marca un error

an unexpected error has occurred in
select quit and the restart this program, or select details for more informacion

objectdisposedexception
at
microsoft.A.G.L.Common.MISC.HandleAr(PAL_ERROR ar)
at
System.Windows.Forms.Control.Get_clientSize()
at
System.Windows.Forms.Control.Get_clienRectangle()
at
System.Windows.Forms.GridRenderer._ResizeLayout()
at
System.Windows.Forms.DataGrid.OnResize(EventArgs ea)
at
System.Windows.Forms.Control.WnProc(WM wm ,Int32 WParam, INT32 IParam)
at
System.Windows.Forms.Control_InternalWnProc(WM wm,Int32 wParam,Int32 IParam)
en mi botón salir tengo este código

private void menuItem3_Click(object sender, EventArgs e)
{
Application.Exit();
}