tsanlung 發表於 2013-6-16 01:55
加了一個狀態條後 它蓋住可以拉動的元件才會這樣
至於程式當掉 已經處理好了~
大大,不好意思又打擾你了.
WIN7測試結果出現如下.
如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。
************** 例外狀況文字 **************
System.NullReferenceException: 並未將物件參考設定為物件的執行個體。
於 LineThemeEditor.ImageForm.resizeImage()
於 System.Windows.Forms.Form.OnResize(EventArgs e)
於 System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
於 System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
於 System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
於 System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
於 System.Windows.Forms.Form.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
於 System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
於 System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
於 System.Windows.Forms.Form.ScaleControl(SizeF factor, BoundsSpecified specified)
於 System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
於 System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
於 System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
於 System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
於 System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
於 LineThemeEditor.ImageForm.InitializeComponent()
於 LineThemeEditor.ImageForm..ctor()
於 LineThemeEditor.MainForm.box_MouseDown_Image(Object sender, MouseEventArgs e)
於 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已載入的組件 **************
mscorlib
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LineThemeEditor
組件版本: 1.0.0.0
Win32 版本: 1.0.0.0
程式碼庫: file:///C:/Program%20Files%20(x86)/my%20Line/Line%20Theme%20Editor/LineThemeEditor.exe
----------------------------------------
System.Windows.Forms
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Newtonsoft.Json
組件版本: 4.5.0.0
Win32 版本: 5.0.5.16108
程式碼庫: file:///C:/Program%20Files%20(x86)/my%20Line/Line%20Theme%20Editor/Newtonsoft.Json.DLL
----------------------------------------
System.Core
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Numerics
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.ComponentModel.DataAnnotations
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
System.Runtime.Serialization
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Xml
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
mscorlib.resources
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Configuration
組件版本: 4.0.0.0
Win32 版本: 4.0.30319.17929 built by: FX45RTMREL
程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
************** JIT 偵錯 **************
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在
此應用程式或電腦的 .config 檔案中,設定
system.windows.forms 區段內的 jitDebugging 值。
且該應用程式也必須在啟用偵錯的狀態下進行
編譯。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
當 JIT 偵錯功能啟用後,會將所有未處理的例外狀況
傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。
|