المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Problem with running C# application using ZedGraph



C# Programming
08-11-2009, 11:12 PM
Hello,

Im new in programing and this is the reason why i ask you for help.
I had a program and after i click on a button i would like to show up a new form where is a ZedGraph sample.
I did everything like in Quick Start Tutorial
( http://zedgraph.org/wiki/index.php?title=CSharp_Reference_Code_for_Sample_Charts ).
Than i run the Build Solution and got no error message. But when i run the application and click on the button i got an unhandled exception message:

"Could not load file or assembly 'ZedGraph, version=5.1.5.28844, Culture=neutral, PublicKeyToken=02a83cbd123fcd60' or one of its dependencies. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'ZedGraph, Version=5.1.5.28844, Culture=neutral, PublicKeyToken=02a83cbd123fcd60' or one of its dependencies. The system cannot find the file specified.
File name: 'ZedGraph, Version=5.1.5.28844, Culture=neutral, PublicKeyToken=02a83cbd123fcd60'
at Proba_5___XML.graf.InitializeComponent()
at Proba_5___XML.graf..ctor() in D:\-= FEI =-\-= Diplomovka =-\Programozas\Program - Utlmovy Plan\Proba 21\Proba 5 - XML\graf.cs:line 17
at Proba_5___XML.Form1.button7_Click(Object sender, EventArgs e) in D:\-= FEI =-\-= Diplomovka =-\Programozas\Program - Utlmovy Plan\Proba 21\Proba 5 - XML\Form1.cs:line 641
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNative********OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNative********WndProc(Message& m)
at System.Windows.Forms.Native********Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"

I dont know what i did wrong. Ill be happy for any help.

Regards
Tom