none
Элемент диаграммы с именем "ChartAreal" не удается найти в "ChartAreaCollection". RRS feed

  • Вопрос

  • System.ArgumentException не обработано
      HResult=-2147024809
      Message=Элемент диаграммы с именем "ChartAreal" не удается найти в "ChartAreaCollection".
      Source=System.Windows.Forms.DataVisualization
      StackTrace:
           в System.Windows.Forms.DataVisualization.Charting.ChartNamedElementCollection`1.get_Item(String name)
           в WindowsFormsApplication1.Form1.btnLoad_Click(Object sender, EventArgs e) в \\tnt-tv.ru\dfsroot\home_areas\pblagodatskiy\visual studio 2015\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs:строка 45
           в System.Windows.Forms.Control.OnClick(EventArgs e)
           в System.Windows.Forms.Button.OnClick(EventArgs e)
           в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
           в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
           в System.Windows.Forms.Control.WndProc(Message& m)
           в System.Windows.Forms.ButtonBase.WndProc(Message& m)
           в System.Windows.Forms.Button.WndProc(Message& m)
           в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
           в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
           в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
           в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
           в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
           в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
           в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
           в System.Windows.Forms.Application.Run(Form mainForm)
           в WindowsFormsApplication1.Program.Main() в \\tnt-tv.ru\dfsroot\home_areas\pblagodatskiy\visual studio 2015\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:строка 19
           в System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
           в System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           в Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           в System.Threading.ThreadHelper.ThreadStart()
      InnerException: 

Все ответы