设计师卡在循环中 [英] Designer stuck in loop

查看:113
本文介绍了设计师卡在循环中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个名为FormApplication的窗口,恰好是我们的

中间父窗口。当我在设计器中打开它时,它会被卡在一个重新显示c1flexgrid的循环中。最大化我们的cpu'。通过从另一个视觉工作室附加到这个过程,我可以通过这个巨大的callstack来打破一些

用户代码,其中大部分都是原生的。那么我们是否需要在设计模式下实例化我们不应该的东西?b $ b

这对任何人都意味着什么?有没有办法跟踪原因

这个?

We have a window named FormApplication which just happens to be our
mid parent window. When I open it in the designer, it is stuck in a
loop redisplaying a c1flexgrid. maxing out our cpu''s. By attaching to
the process from another visual studio, I can get it to break on some
user code with this huge callstack, most of which is native. So are we
instantiating something in design mode that we should not be? Does
this mean anything to anyone? Is there any way to track dow the cause
of this?


> AdvancedSoftwareDesigns.Windows.Forms.dll!Advanced SoftwareDesigns.Windows.Forms.FlexGrid._flex_Paint(Object sender = {ProductVision.Windows.Forms.FlexGrid},System.Windows.Forms.PaintEventArgs e = {ClipRectangle = {System.Drawing.Rectangle行441 Basic
> AdvancedSoftwareDesigns.Windows.Forms.dll!Advanced SoftwareDesigns.Windows.Forms.FlexGrid._flex_Paint (Object sender = {ProductVision.Windows.Forms.FlexGrid}, System.Windows.Forms.PaintEventArgs e = {ClipRectangle = {System.Drawing.Rectangle}}) Line 441 Basic



System.Windows.Forms.dll!

System.Windows.Forms.Control.OnPaint(System。 Window s.Forms.PaintEventArgs

e)+ 0x57 bytes

C1.Win.C1FlexGrid.2.dll!

C1.Win.C1FlexGrid。 Util.BaseControls.ScrollableCont rol.OnPaint(System.Windows.Forms.PaintEventArgs

e = {ClipRectangle = {X = 0,Y = 223,Width = 262,Height = 67}})+ 0x36 bytes

C1.Win.C1FlexGrid.2.dll!

C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(System.Wi ndows.Forms.PaintEventArgs

e = {ClipRectangle = {X = 0,Y = 223,宽度= 262,高度= 67}})+ 0x35字节

System.Windows.Forms.dll!

System.Windows.Forms.Control.PaintWithErrorHandlin g(System.Windows.Forms.PaintEventArgs

e = {ClipRectangle = {X = 0,Y = 223,Width = 262,Height = 67}},短层,

bool disposeEventArgs = false)+ 0x5b bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WmPaint(ref

System.Windows.Forms.Message m)+ 0x20b bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref

System.Windows.Forms.Message m)+ 0x2e7 bytes

C1.Win.C1FlexGrid.2.dll!

C1.Win.C1FlexGrid.Util.BaseControls.ScrollableCont rol.WndProc(ref

System.Windows.Forms .Message m = {msg = 0xf(WM_PAINT)hwnd = 0xd08b6

wparam = 0x0 lparam = 0x0 result = 0x0})+ 0x1ef bytes

System.Windows.Forms。 dll!

System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref

System.Windows.Forms.Message m)+ 0xd bytes

System.Design.dll!

System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.DefWndProc(ref

System.Windows.Forms.Message m)+ 0xb by测试

System.Design.dll!

System.Windows.Forms.Design.ControlDesigner.WndPro c(参考

System.Windows.Forms .Message m = {msg = 0xf(WM_PAINT)hwnd = 0xd08b6

wparam = 0x0 lparam = 0x0 result = 0x0})+ 0xcca bytes

System.Design.dll!

System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.OnMessage(ref

System.Windows.Forms.Message m)+ 0x46 bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref

System.Windows.Forms.Message m)+ 0xd6字节

System.Windows.Forms.dll!

System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr

hWnd, int msg = 15,System.IntPtr wparam,System.IntPtr lparam)+ 0x75

bytes

[本机到托管转换]

[管理到原生过渡]

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Update()+

0x6b bytes

Syst em.Design.dll!

System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.InvalidateAdornerWindow(System.Dr awing.Region

region)+ 0x62 bytes

System.Design.dll!

System.Windows.Forms.Design.ToolStripItemBehavior。 ClearInsertionMark(System.Windows.Forms.ToolStripI tem

item)+ 0x1fd bytes

System.Design.dll!

System.Windows.Forms .Design.ToolStripItemBehavior。 OnMouseLeave(System.Windows.Forms.Design.Behavior.Glyph

g)+ 0x4d bytes

System.Design.dll!

System.Windows .Forms.Design.Behavior.BehaviorServi ce.InvokeMouseEnterLeave(System.Windows.Forms.Desi gn.Behavior.Glyph

leaveGlyph,System.Windows.Forms.Design.Behavior.Glyph enterGlyph =

{System.Windows.Forms.Design.ToolStripItemGlyph})+ 0x4e bytes

System.Design.dll!

System.Windows.Forms.Design。 Behavior.BehaviorServi ce.PropagateHitTest(System.Drawing.Point

pt)+ 0xaa bytes

System.Design.dll!

System.Windows .Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.WndProcProxy(ref

System.Windows.Forms.Message m = {msg = 0x200(WM_MOUSEMOVE)

hwnd = 0xa0a80 wparam = 0x0 lparam = 0x2d101d3 result = 0x0},int x,int y)+

0x32 bytes

System.Design.dll!

System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.MouseHook.ProcessMouseMessa ge(Sys tem.IntPtr

hWnd,int msg,int x,int y)+ 0x172 bytes

System.Design.dll!

System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.MouseHook.MouseHookProc(int

nCode = 0,System.IntPtr wparam = 512,System.IntPtr lparam = 1241372)

+ 0x5f字节

[本机到托管转换]

System.Windows.Forms.dll!

System.Windows.Forms .NativeWindow.DefWndProc(ref

System.Windows.Forms.Message m = {msg = 0x112(WM_SYSCOMMAND)

hwnd = 0xa0a80 wparam = 0xf087 lparam = 0x116fee9 result = 0x0 })+ 0x94字节

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref

System.Windows.Forms.Message m) + 0xc bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref

System.Windows.Forms.Message m)+ 0x38c字节

System.Windows.Forms.dll!

System.Windows.Forms.ScrollableControl.WndProc(参考

System.Wi ndows.Forms.Message m)+ 0x45 bytes

System.Design.dll!

System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(ref

System.Windows.Forms.Message m = {msg = 0x112(WM_SYSCOMMAND)

hwnd = 0xa0a80 wparam = 0xf087 lparam = 0x116fee9 result = 0x0})+ 0x26 bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref

System.Windows.Forms.Message m)+ 0xd字节

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref

System.Windows.Forms.Message m)+ 0xd6 bytes

System.Windows.Forms.dll!

System.Windows.Forms.NativeWindow.DebuggableCallba ck(System。 IntPtr

hWnd,int msg = 274,System.IntPtr wparam,System.IntPtr lparam)+

0x75字节

[本机到托管转换]

[管理到原生过渡]

System.Windows.Forms.dll!

System.Windows.F orms.NativeWindow.DefWndProc(ref

System.Windows.Forms.Message m = {msg = 0xa1(WM_NCLBUTTONDOWN)

hwnd = 0xa0a80 wparam = 0x7 lparam = 0x116fee9 result = 0x0})+ 0x94字节

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref

System.Windows.Forms.Message m )+ 0xc bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref

System.Windows.Forms.Message m)+ 0x87a字节

System.Windows.Forms.dll!

System.Windows.Forms.ScrollableControl.WndProc(参考

System.Windows.Forms .Message m)+ 0x45 bytes

System.Design.dll!

System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(ref

System.Windows.Forms.Message m = {msg = 0xa1(WM_NCLBUTTONDOWN)

hwnd = 0xa0a80 wparam = 0x7 lparam = 0x116fee9 result = 0x0})+ 0x26 bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref

S ystem.Windows.Forms.Message m)+ 0xd bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref

System.Windows.Forms.Message m)+ 0xd6 bytes

System.Windows.Forms.dll!

System.Windows.Forms。 NativeWindow.DebuggableCallba ck(System.IntPtr

hWnd,int msg = 161,System.IntPtr wparam,System.IntPtr lparam)+

0x75 bytes

System.Windows.Forms.dll!
System.Windows.Forms.Control.OnPaint(System.Window s.Forms.PaintEventArgs
e) + 0x57 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableCont rol.OnPaint(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x36 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(System.Wi ndows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x35 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintWithErrorHandlin g(System.Windows.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}, short layer,
bool disposeEventArgs = false) + 0x5b bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WmPaint(ref
System.Windows.Forms.Message m) + 0x20b bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref
System.Windows.Forms.Message m) + 0x2e7 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableCont rol.WndProc(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0x1ef bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.DefWndProc(ref
System.Windows.Forms.Message m) + 0xb bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.WndPro c(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0xcca bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.OnMessage(ref
System.Windows.Forms.Message m) + 0x46 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr
hWnd, int msg = 15, System.IntPtr wparam, System.IntPtr lparam) + 0x75
bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Update() +
0x6b bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.InvalidateAdornerWindow(System.Dr awing.Region
region) + 0x62 bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior. ClearInsertionMark(System.Windows.Forms.ToolStripI tem
item) + 0x1fd bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior. OnMouseLeave(System.Windows.Forms.Design.Behavior. Glyph
g) + 0x4d bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.InvokeMouseEnterLeave(System.Windows.Forms.Desi gn.Behavior.Glyph
leaveGlyph, System.Windows.Forms.Design.Behavior.Glyph enterGlyph =
{System.Windows.Forms.Design.ToolStripItemGlyph}) + 0x4e bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.PropagateHitTest(System.Drawing.Point
pt) + 0xaa bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.WndProcProxy(ref
System.Windows.Forms.Message m = {msg=0x200 (WM_MOUSEMOVE)
hwnd=0xa0a80 wparam=0x0 lparam=0x2d101d3 result=0x0}, int x, int y) +
0x32 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.MouseHook.ProcessMouseMessage(Sys tem.IntPtr
hWnd, int msg, int x, int y) + 0x172 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.MouseHook.MouseHookProc(int
nCode = 0, System.IntPtr wparam = 512, System.IntPtr lparam = 1241372)
+ 0x5f bytes
[Native to Managed Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref
System.Windows.Forms.Message m) + 0x38c bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr
hWnd, int msg = 274, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref
System.Windows.Forms.Message m) + 0x87a bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr
hWnd, int msg = 161, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes

推荐答案

7月3日上午10点07分,Tom C< tom_cla ... @ asdsoftware.comwrote:
On Jul 3, 10:07 am, Tom C <tom_cla...@asdsoftware.comwrote:

我们有一个名为FormApplication的窗口,恰好是我们的

中间父窗口。当我在设计器中打开它时,它会被卡在一个重新显示c1flexgrid的循环中。最大化我们的cpu'。通过从另一个视觉工作室附加到这个过程,我可以通过这个巨大的callstack来打破一些

用户代码,其中大部分都是原生的。那么我们是否需要在设计模式下实例化我们不应该的东西?b $ b

这对任何人都意味着什么?有没有办法跟踪原因

这个?
We have a window named FormApplication which just happens to be our
mid parent window. When I open it in the designer, it is stuck in a
loop redisplaying a c1flexgrid. maxing out our cpu''s. By attaching to
the process from another visual studio, I can get it to break on some
user code with this huge callstack, most of which is native. So are we
instantiating something in design mode that we should not be? Does
this mean anything to anyone? Is there any way to track dow the cause
of this?

AdvancedSoftwareDesigns.Windows.Forms.dll!Advanced SoftwareDesigns.Windows.F * orms.FlexGrid._flex_Pain t(Object sender = {ProductVision.Windows.Forms.FlexGrid},System.Windows.Forms.PaintEventArgs e = {ClipRectangle = {System.Drawing.Rectangle}})Line 441 Basic
AdvancedSoftwareDesigns.Windows.Forms.dll!Advanced SoftwareDesigns.Windows.F*orms.FlexGrid._flex_Pain t(Object sender = {ProductVision.Windows.Forms.FlexGrid}, System.Windows.Forms.PaintEventArgs e = {ClipRectangle = {System.Drawing.Rectangle}}) Line 441 Basic



System.Windows.Forms.dll!

System.Windows.Forms.Control.OnPaint(System.Window s.Forms.PaintEventArgs

e)+ 0x57字节

C1.Win.C1FlexGrid.2.dll!

C1.Win.C1FlexGrid.Util.BaseControls.ScrollableCont rol.OnPaint(系统。 Window * s.Forms.PaintEventArgs

e = {ClipRectangle = {X = 0,Y = 223,Width = 262,Height = 67}})+ 0x36bytes

C1。 Win.C1FlexGrid.2.dll!

C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(System.Wi ndows.Forms.PaintEventArg * s

e = {ClipRectangle = {X = 0,Y = 223,宽度= 262,高度= 67}})+ 0x3 5bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.PaintWithErrorHandlin g(System.Windows.Forms.Pa * intEventArgs

e = {ClipRectangle = {X = 0,Y = 223,Width = 262,Height = 67}},短层,

bool disposeEventArgs = false)+ 0x5b bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WmPaint(ref

System.Windows.Forms.Message m)+ 0x20b bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref

System.Windows.Forms.Message m)+ 0x2e7 bytes

C1 .Win.C1FlexGrid.2.dll!

C1.Win.C1FlexGrid.Util.BaseControls.ScrollableCont rol.WndProc(ref

System.Windows.Forms.Message m = {msg = 0xf(WM_PAINT)hwnd = 0xd08b6

wparam = 0x0 lparam = 0x0 result = 0x0})+ 0x1ef bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref

System.Windows.Forms.Message m) + 0xd bytes

System.Design.dll!

System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.DefWndProc *(ref

System.Windows.Forms.Message m)+ 0xb bytes

System.Design.dll!

System.Windows.Forms.Design.ControlDesigner.WndPro c(ref

System.Windows.Forms.Message m = {msg = 0xf(WM_PAINT)hwnd = 0xd08b6

wparam = 0x0 lparam = 0x0 result = 0x0})+ 0xcca bytes

System.Design.dll!

System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.OnMessage(* ref

System.Windows.Forms。消息m)+ 0x46字节

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref

System.Windows.Forms.Message m)+ 0xd6 bytes

System.Windows.Forms.dll!

System.Windows.Forms.NativeWindow.DebuggableCallba ck(System .IntPtr

hWnd,int msg = 15,System.IntPtr wparam,System.IntPtr lpa ram)+ 0x75

bytes

[本机到托管转换]

[管理到本机转换]

系统.Windows.Forms.dll!System.Windows.Forms.Cont rol.Update()+

0x6b bytes

System.Design.dll!

System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.Invalida * teAdornerWindow(System.D rawing.Region

region)+ 0x62 bytes

系统。 Design.dll!

System.Windows.Forms.Design.ToolStripItemBehavior。 ClearInsertionMark(System * .Windows.Forms.ToolStrip Item

item)+ 0x1fd bytes

System.Design.dll!

System.Windows。 Forms.Design.ToolStripItemBehavior。 OnMouseLeave(System.Windo * ws.Forms.Design.Behavior .Glyph

g)+ 0x4d bytes

System.Design.dll!

系统.Windows.Forms.Design.Behavior.BehaviorServi ce.InvokeMouseEnterLeave(* System.Windows.Forms.Des ign.Behavior.Glyph

leaveGlyph,System.Windows.Forms.Design.Behavior.Glyph enterGlyph =

{System.Windows.Forms.Design.ToolStripItemGlyph})+ 0x4e bytes

System.Design.dll!

System.Windows.Forms .Design.Behavior.BehaviorServi ce.PropagateHitTest(Syste * m.Drawing.Point

pt)+ 0xaa bytes

System.Design.dll!

System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.WndProcP * roxy(ref

System.Windows.Forms.Message m = {msg = 0x200(WM_MOUSEMOVE)

hwnd = 0xa0a80 wparam = 0x0 lparam = 0x2d101d3 result = 0x0},int x,int y)+

0x32 bytes

System.Design.dll!

System.Windows.Forms.Design.Behavior.BehaviorServi ce.Adorn erWindow.MouseHoo * k.ProcessMouseMessage(Sy stem.IntPtr

hWnd,int msg,int x,int y)+ 0x172 bytes

System.Design.dll!

System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.MouseHoo * k.MouseHookProc(int

nCode = 0,System.IntPtr wparam = 512,System.IntPtr lparam = 1241372)

+ 0x5f字节

[本机到托管转换]

System.Windows.Forms.dll!

System.Windows.Forms.NativeWindow.DefWndProc(ref

System.Windows.Forms.Message m = {msg = 0x112(WM_SYSCOMMAND)

hwnd = 0xa0a80 wparam = 0xf087 lparam = 0x116fee9 result = 0x0})+ 0x94字节

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref

System .Windows.Forms.Message m)+ 0xc bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref

System.Windows .Forms.Message m)+ 0x38c bytes

System.Windows.Forms.d ll!

System.Windows.Forms.ScrollableControl.WndProc(参考

System.Windows.Forms.Message m)+ 0x45字节

系统.Design.dll!

System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(ref

System.Windows.Forms.Message m = {msg = 0x112 (WM_SYSCOMMAND)

hwnd = 0xa0a80 wparam = 0xf087 lparam = 0x116fee9 result = 0x0})+ 0x26 bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref

System.Windows.Forms.Message m)+ 0xd bytes

System.Windows.Forms。 dll!

System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref

System.Windows.Forms.Message m)+ 0xd6 bytes

System.Windows.Forms.dll!

System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr

hWnd,int msg = 274,System.IntPtr wparam,System.IntPtr lparam)+

0x75字节

[原产于托管过渡]

[托管到原生过渡]

System.Windows.Forms.dll!

System.Windows.Forms.NativeWindow.DefWndProc (参考

System.Windows.Forms.Message m = {msg = 0xa1(WM_NCLBUTTONDOWN)

hwnd = 0xa0a80 wparam = 0x7 lparam = 0x116fee9 result = 0x0})+ 0x94字节

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref

System.Windows.Forms.Message m)+ 0xc bytes

System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref

System.Windows.Forms.Message m)+ 0x87a bytes

System.Windows.Forms.dll!

System.Windows.Forms.ScrollableControl.WndProc(ref

System.Windows.Forms.Message m)+ 0x45字节

System.Design.dll!

System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(参考

系统。 Windows.Forms.Message m = {msg = 0xa1(WM_NCLBUTTONDOWN)

hwnd = 0xa0a80 wpara m = 0x7 lparam = 0x116fee9 result = 0x0})+ 0x26 bytes

System.Windows.Forms.dll!

System.Windows.Forms.Control.ControlNativeWindow.O nMessage (参考

System.Windows.Forms.Message m)+ 0xd bytes

System.Windows.Forms.dll!

System.Windows。 Forms.Control.ControlNativeWindow.W ndProc(ref

System.Windows.Forms.Message m)+ 0xd6 bytes

System.Windows.Forms.dll!

System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr

hWnd,int msg = 161,System.IntPtr wparam,System.IntPtr lparam)+

0x75字节


System.Windows.Forms.dll!
System.Windows.Forms.Control.OnPaint(System.Window s.Forms.PaintEventArgs
e) + 0x57 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableCont rol.OnPaint(System.Window*s.Forms.PaintEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x36bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.C1FlexGridBase.OnPaint(System.Wi ndows.Forms.PaintEventArg*s
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}) + 0x35bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintWithErrorHandlin g(System.Windows.Forms.Pa*intEventArgs
e = {ClipRectangle = {X=0,Y=223,Width=262,Height=67}}, short layer,
bool disposeEventArgs = false) + 0x5b bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WmPaint(ref
System.Windows.Forms.Message m) + 0x20b bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref
System.Windows.Forms.Message m) + 0x2e7 bytes
C1.Win.C1FlexGrid.2.dll!
C1.Win.C1FlexGrid.Util.BaseControls.ScrollableCont rol.WndProc(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0x1ef bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.DefWndProc*(ref
System.Windows.Forms.Message m) + 0xb bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.WndPro c(ref
System.Windows.Forms.Message m = {msg=0xf (WM_PAINT) hwnd=0xd08b6
wparam=0x0 lparam=0x0 result=0x0}) + 0xcca bytes
System.Design.dll!
System.Windows.Forms.Design.ControlDesigner.Design erWindowTarget.OnMessage(*ref
System.Windows.Forms.Message m) + 0x46 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr
hWnd, int msg = 15, System.IntPtr wparam, System.IntPtr lparam) + 0x75
bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.Update() +
0x6b bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.Invalida*teAdornerWindow(System.D rawing.Region
region) + 0x62 bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior. ClearInsertionMark(System*.Windows.Forms.ToolStrip Item
item) + 0x1fd bytes
System.Design.dll!
System.Windows.Forms.Design.ToolStripItemBehavior. OnMouseLeave(System.Windo*ws.Forms.Design.Behavior .Glyph
g) + 0x4d bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.InvokeMouseEnterLeave(*System.Windows.Forms.Des ign.Behavior.Glyph
leaveGlyph, System.Windows.Forms.Design.Behavior.Glyph enterGlyph =
{System.Windows.Forms.Design.ToolStripItemGlyph}) + 0x4e bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.PropagateHitTest(Syste*m.Drawing.Point
pt) + 0xaa bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.WndProcP*roxy(ref
System.Windows.Forms.Message m = {msg=0x200 (WM_MOUSEMOVE)
hwnd=0xa0a80 wparam=0x0 lparam=0x2d101d3 result=0x0}, int x, int y) +
0x32 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.MouseHoo*k.ProcessMouseMessage(Sy stem.IntPtr
hWnd, int msg, int x, int y) + 0x172 bytes
System.Design.dll!
System.Windows.Forms.Design.Behavior.BehaviorServi ce.AdornerWindow.MouseHoo*k.MouseHookProc(int
nCode = 0, System.IntPtr wparam = 512, System.IntPtr lparam = 1241372)
+ 0x5f bytes
[Native to Managed Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref
System.Windows.Forms.Message m) + 0x38c bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(ref
System.Windows.Forms.Message m = {msg=0x112 (WM_SYSCOMMAND)
hwnd=0xa0a80 wparam=0xf087 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr
hWnd, int msg = 274, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DefWndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x94 bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.DefWndProc(ref
System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.Cont rol.WndProc(ref
System.Windows.Forms.Message m) + 0x87a bytes
System.Windows.Forms.dll!
System.Windows.Forms.ScrollableControl.WndProc(ref
System.Windows.Forms.Message m) + 0x45 bytes
System.Design.dll!
System.Windows.Forms.Design.DesignerFrame.OverlayC ontrol.WndProc(ref
System.Windows.Forms.Message m = {msg=0xa1 (WM_NCLBUTTONDOWN)
hwnd=0xa0a80 wparam=0x7 lparam=0x116fee9 result=0x0}) + 0x26 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(ref
System.Windows.Forms.Message m) + 0xd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.W ndProc(ref
System.Windows.Forms.Message m) + 0xd6 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallba ck(System.IntPtr
hWnd, int msg = 161, System.IntPtr wparam, System.IntPtr lparam) +
0x75 bytes



那当然是mdi父...

That would be mdi parent of course...


你好汤姆 -


你有什么指定形式的构造函数吗?在设计器中加载表单时,将运行此代码

。如果是这样,那可能是你b = b
的原因。

干杯,


-Mark

Hi Tom -

Do you have anything specified in the form''s constructor? This code
will be run when the form is loaded in the designer. If so, that may
be the cause of your loops.

Cheers,

-Mark


7月3日上午10:52,mark.mil ... @ binaryswitch.com

< mark .mil ... @ binaryswitch.comwrote:
On Jul 3, 10:52 am, "mark.mil...@binaryswitch.com"
<mark.mil...@binaryswitch.comwrote:

嗨汤姆 -


你有什么指定形式'的构造函数?在设计器中加载表单时,将运行此代码

。如果是这样,那可能是你b = b
的原因。

干杯,


-Mark
Hi Tom -

Do you have anything specified in the form''s constructor? This code
will be run when the form is loaded in the designer. If so, that may
be the cause of your loops.

Cheers,

-Mark



Mark,


窗口本身甚至没有构造函数sub而不是什么

发生在设计师编写的代码中。我们确实有几个实例

变量被声明和实例化,例如arraylist和

布尔值。


谢谢,


Tom

Mark,

The window itself doesn''t even have constructor sub other than what
happens in the designer written code. We do have a couple of instance
variables that are declared and instantiated such as an arraylist and
booleans.

Thanks,

Tom


这篇关于设计师卡在循环中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆