做code39条码时碰到的问题。,下面是出错的代码部分。
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
 public Bitmap CreateBarCode(string Code, string Title, int UseCheck,int ValidateCode)
 private void DrawBarCode39(string Code39, string Title, Graphics g)编译时的错误如下:
error CS0234: The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference?)
error CS0234: The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference?)
error CS0234: The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)
error CS0246: The type or namespace name 'Bitmap' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'Graphics' could not be found (are you missing a using directive or an assembly reference?)