assembly reference

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

private Playcontrol control = null;

private void Form1_Load(object sender, System.EventArgs e)
{
control = new PlayControl (this);
control.Show();

error:G:\Freddy\vb.net\iPlay\Form1.cs(75): The type or namespace name 'Playcontrol' could not be found (are you missing a using directive or an assembly reference?)
 
You have to the include the namespace where this PlayControl belongs.

example -

using SomeNamespace

private SomeNameSpace.PlayControl control = new SomeNameSpace.PlayControl();


--
Shak
(Houston)




freddy said:
private Playcontrol control = null;

private void Form1_Load(object sender, System.EventArgs e)
{
control = new PlayControl (this);
control.Show();

error:G:\Freddy\vb.net\iPlay\Form1.cs(75): The type or namespace name
'Playcontrol' could not be found (are you missing a using directive or an
assembly reference?)
 
Back
Top