A
Anders Eriksson
I need to use two namespaces that unfortunately has the same sub-namespace.
using System.Windows.Forms
using laserengineLib;
the laserengineLib contains a System namespace.
Now when I try to use a MessageBox.Show(msg); I get this error:
Error 1 The name 'MessageBox' does not exist in the current context
I then try with
System.Windows.Form.MessageBox.Show(msg);
and I get this error:
Error 2 'laserengineLib.System' does not contain a definition for 'Windows'
How can I specify that I want to use the standard System.Windows and not
the one in laserengineLib?
// Anders
using System.Windows.Forms
using laserengineLib;
the laserengineLib contains a System namespace.
Now when I try to use a MessageBox.Show(msg); I get this error:
Error 1 The name 'MessageBox' does not exist in the current context
I then try with
System.Windows.Form.MessageBox.Show(msg);
and I get this error:
Error 2 'laserengineLib.System' does not contain a definition for 'Windows'
How can I specify that I want to use the standard System.Windows and not
the one in laserengineLib?
// Anders