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

مشاهدة النسخة كاملة : Error Message



C# Programming
06-17-2012, 02:31 PM
My problem here is that the line where it says
private HighScoreTable highScoreTable - new HighScoreTable();
The error is.. the type or namespace name 'HighScoreTable' could not be found (are you missing a using directive or an assembly reference?)

Is there something missing here or what or is there more to go with this?

public partial class Form3 : Form { private HighScoreTable highScoreTable = new HighScoreTable(); public Form3() { InitializeComponent(); } private void btnRules_Click(object sender, EventArgs e) { new Form5().Show(); } private void aboutYahtzeeToolStripMenuItem_Click(object sender, EventArgs e) { } private void btnExit_Click(object sender, EventArgs e) { Application.Exit(); } private void btnHighScores_Click(object sender, EventArgs e) { // Load high score table... highScoreTable.Load( Application.StartupPath+@"\score.txt" ); } } }