Jump to content
Software FX Community

Personalized Charts - "Restore Defaults" and "Load" causes Exception


jburky
 Share

Recommended Posts

When trying to "Load" or "Restore Defaults" from the toolbar I get an exception:

Cannot access a disposed object.

Object name: 'a'.

at System.Windows.Forms.Control.CreateHandle()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.SetVisibleCore(Boolean value)

at ChartFX.WinForms.a.c(Boolean A_0)

at System.Windows.Forms.Control.set_Visible(Boolean value)

at ChartFX.WinForms.DockableBar.set_Visible(Boolean value)

at ChartFX.WinForms.DockableBar.a(IFrameAmbient A_0)

at ChartFX.WinForms.Internal.AmbientUtils.SetFrameAmbient(Object obj, IFrameAmbient ambient)

at ChartFX.WinForms.Internal.DockableFrameCore.Add(IDockableBar bar, Boolean designMode)

at ChartFX.WinForms.Internal.DockableFrame.Add(IDockableBar bar, Boolean designMode)

at ChartFX.WinForms.Internal.DockableFrameCore.a(Boolean A_0, IPersistBase A_1)

at ChartFX.WinForms.r.a(Object A_0, String A_1, ObjFlags A_2, Int64 A_3)

at ChartFX.WinForms.r.a(String A_0, Object A_1, String A_2, ObjFlags A_3)

at ChartFX.WinForms.Chart.a(Boolean A_0, IPersistBase A_1, Boolean A_2)

at ChartFX.WinForms.Chart.c(Boolean A_0, IPersistBase A_1)

at ChartFX.WinForms.Chart.Import(IPersistBase pers)

at ChartFX.WinForms.Chart.Import(FileFormat format, Stream stream)

at ChartFX.WinForms.PersonalizeAttributes.RestoreDefault()

at ChartFX.WinForms.at.a(Object A_0, CommandsEventArgs A_1, Boolean& A_2)

at ChartFX.WinForms.at.a(Object A_0, CommandsEventArgs A_1)

at ChartFX.WinForms.CommandCollection.a(Int32 A_0, Int32 A_1, IUIObject A_2)

at ChartFX.WinForms.CommandCollection.a(Object A_0, Int32 A_1, ICommand A_2, Boolean A_3, IUIObject A_4)

at ChartFX.WinForms.a3.a(EventArgs A_0)

at System.Windows.Forms.MenuItem.MenuItemData.Execute()

at System.Windows.Forms.Command.Invoke()

at System.Windows.Forms.Command.DispatchID(Int32 id)

at System.Windows.Forms.Control.WmCommand(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)

at WindowsFormsApplication2.Program.Main() in D:\Projects\WindowsFormsApplication2\WindowsFormsApplication2\Program.cs:line 18

at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)

at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)

at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()

at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

I am using the trial version and we are evaluating for purchase.

Any help would be appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...