PDA

View Full Version : اضافه کردن ایکن ها به پروژه



saed2006
دوشنبه 25 آبان 1388, 18:02 عصر
چجوری میتونم یکسری عکس رو به resourse پروژه اضافه کنم؟

saed2006
دوشنبه 25 آبان 1388, 18:33 عصر
من عکس رو import میکنم اما توی خط زیر
this.toolStripButton5.Image = global::WindowsFormsApplication6.Properties.Resour ces.add_321;
این
The type or namespace name 'Resources' does not exist in the namespace 'WindowsFormsApplication6.Properties' (are you missing an assembly reference?)

خطا رو میده

Hamishebahar
دوشنبه 25 آبان 1388, 18:35 عصر
سلام.
توی قسمت properties پروژه گزینه Resources.
موفق باشید.

saed2006
دوشنبه 25 آبان 1388, 19:10 عصر
اضافه کردم
باز همان خطا

saied_genius
سه شنبه 26 آبان 1388, 16:06 عصر
global اولش را بردار

اين هم يک مثال:

http://barnamenevis.org/forum/showthread.php?t=190382

موفق باشيد.