Hei,
i have 2 application compiled with SharpDevelop 4.4. If i want to click (designview) on the dataGridView element the ui from SharpDevelop crashed. I want to edit the columns and modify the dataGridView. On compiling no error occured, the application is working.On my second pc the error also occured. Please help.
Regards Joerg
SharpDevelop Version : 4.4.1.9729-7196a277
.NET Version : 4.0.30319.18444
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : German (Germany) (de-DE)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 146144kb
GC Heap Memory : 29667kb
Exception thrown:
System.InvalidOperationException: Das Objekt wird bereits an anderer Stelle verwendet.
bei System.Drawing.Graphics.CheckErrorStatus(Int32 status)
bei System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
bei System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
bei System.Windows.Forms.Design.Behavior.SelectionBorderGlyph.Paint(PaintEventArgs pe)
bei System.Windows.Forms.Design.Behavior.BehaviorService.PropagatePaint(PaintEventArgs pe)
bei System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---- Recent log messages:
17:40:28.356 [1] DEBUG - Forms designer: Initializing nested service container of label1 [System.Windows.Forms.Label], Text: using Reflection
17:40:28.361 [1] DEBUG - Forms designer: deserializing a property assignment:
17:40:28.361 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=label1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=HotTrack, Target=[CodeTypeReference: System.Drawing.SystemColors]]]
17:40:28.364 [1] DEBUG - Forms designer: deserializing a property assignment:
17:40:28.364 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=label1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=HotTrack, Target=[CodeTypeReference: System.Drawing.SystemColors]]]
17:40:28.369 [1] DEBUG - Forms designer: Initializing nested service container of pictureBox1 [System.Windows.Forms.PictureBox], SizeMode: Normal using Reflection
17:40:28.375 [1] DEBUG - Forms designer: Initializing nested service container of progressBar1 [System.Windows.Forms.ProgressBar], Minimum: 0, Maximum: 100, Value: 0 using Reflection
17:40:28.377 [1] DEBUG - Forms designer: Initializing nested service container of label2 [System.Windows.Forms.Label], Text: using Reflection
17:40:28.378 [1] DEBUG - Forms designer: Initializing nested service container of label3 [System.Windows.Forms.Label], Text: using Reflection
17:40:28.382 [1] DEBUG - Forms designer: Initializing nested service container of dataGridView1 [System.Windows.Forms.DataGridView] using Reflection
17:40:28.394 [1] DEBUG - Forms designer: Initializing nested service container of btn_csvExport [System.Windows.Forms.Button], Text: using Reflection
17:40:28.398 [1] DEBUG - Forms designer: Initializing nested service container of comboBox1 [System.Windows.Forms.ComboBox], Items.Count: 0 using Reflection
17:40:28.405 [1] DEBUG - Forms designer: Initializing nested service container of label4 [System.Windows.Forms.Label], Text: using Reflection
17:40:28.408 [1] DEBUG - Forms designer: Initializing nested service container of groupBox1 [System.Windows.Forms.GroupBox], Text: using Reflection
17:40:28.410 [1] DEBUG - Forms designer: Initializing nested service container of chkbox_ut_host92 [System.Windows.Forms.CheckBox], CheckState: 0 using Reflection
17:40:28.413 [1] DEBUG - Forms designer: Initializing nested service container of comboBox2 [System.Windows.Forms.ComboBox], Items.Count: 0 using Reflection
17:40:28.416 [1] DEBUG - Forms designer: Initializing nested service container of saveFileDialog1 [System.Windows.Forms.SaveFileDialog]: Title: , FileName: using Reflection
17:40:28.442 [1] DEBUG - Forms designer: DesignerLoader loaded, HasSucceeded=True
17:40:28.442 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
17:40:28.458 [1] DEBUG - IDEContainer: Connecting property grid to service provider
17:40:28.501 [1] INFO - Form Designer: END INITIALIZE
17:40:28.502 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
17:40:28.502 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
17:40:28.516 [1] DEBUG - ParseInformationUpdated D:\Programmierung\SharpDevelop Projects\WTMP Parser\WTMP Parser\MainForm.cs new!=null:True
17:40:31.815 [1] ERROR - ThreadException caught
--> Exception:
System.InvalidOperationException: Das Objekt wird bereits an anderer Stelle verwendet.
bei System.Drawing.Graphics.CheckErrorStatus(Int32 status)
bei System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
bei System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
bei System.Windows.Forms.Design.Behavior.SelectionBorderGlyph.Paint(PaintEventArgs pe)
bei System.Windows.Forms.Design.Behavior.BehaviorService.PropagatePaint(PaintEventArgs pe)
bei System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
ProjectService.OpenSolution: [Solution: FileName=D:\Programmierung\SharpDevelop Projects\WTMP Parser\WTMP Parser.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: WTMP Parser]