L
Lloyd Dupont
In my code I have something like that:
class RecipeFile
{
// .....
}
class OptionPanel : UserControl
{
public void Load(RecipeFile file)
{
// ....
}
}
Now when I try to compile I get the following error message:
==
Error 2 Warning as Error:
'Cook.App.Dialogs.OptionCurrentFile.Load(Cook.Data.RecipeFile)' hides
inherited member 'System.Windows.Forms.UserControl.Load'. Use the new
keyword if hiding was intended.
L:\AppSource\eCookBook\eCookBook\Dialogs\OptionCurrentFile.cs 19 15
eCookBook
==
Now, I now there is a method call
class Control
{
public void Load()
{
//....
}
}
but there should be no ambiguity at all whatsoever with Load(RecipeFile
file)
is this a know bug (happening sometimes)?
I have .NET 2.0 beta 2
class RecipeFile
{
// .....
}
class OptionPanel : UserControl
{
public void Load(RecipeFile file)
{
// ....
}
}
Now when I try to compile I get the following error message:
==
Error 2 Warning as Error:
'Cook.App.Dialogs.OptionCurrentFile.Load(Cook.Data.RecipeFile)' hides
inherited member 'System.Windows.Forms.UserControl.Load'. Use the new
keyword if hiding was intended.
L:\AppSource\eCookBook\eCookBook\Dialogs\OptionCurrentFile.cs 19 15
eCookBook
==
Now, I now there is a method call
class Control
{
public void Load()
{
//....
}
}
but there should be no ambiguity at all whatsoever with Load(RecipeFile
file)
is this a know bug (happening sometimes)?
I have .NET 2.0 beta 2