ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

استانداردی برای نام گذاری اشیا در vb ...

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET
View previous topic :: View next topic  
Author Message
arash
مدير بخش سي
مدير بخش سي


Joined: 27 Nov 2004
Posts: 1232
Location: www.parsx.com

PostPosted: Fri Mar 04, 2005 9:00 am    Post subject: استانداردی برای نام گذاری اشیا در vb ... Reply with quote

Prefix   Control Type Description   
ani   Animation button   
bed   Pen Bedit    
cbo   Combobox and dropdown Listbox   
chk   Checkbox   
clp   Picture Clip   
cmd   Command Button   
com   Communications    
ctr   Control (Used within procs when the specific type is unknown)   
db   ODBC Database   
dir   Dir List Box   
dlg   Visual Basic Pro Common Dialog   
drv   Drive List Box   
ds   ODBC Dynaset   
fil   File List Box   
frm   Form   
fra   Frame   
gau   Gauge   
gpb   Group Push Button   
grd   Grid   
hed   Pen Hedit   
hsb   Horizontal Scroll Bar   
img   Image   
ink   Pen Ink   
key   Keyboard key status   
lbl   Label   
lin   Line   
lst   Listbox   
mpm   MAPI Message   
mps   MAPI Session   
mci   MCI   
mnu   Menu   
opt   Option Button   
ole   Ole Client   
pic   Picture   
pnl   3d Panel   
shp   Shape   
spn   Spin Control   
txt   Text/Edit Box   
tmr   Timer   
vsb   Vertical Scroll Bar   

البته لازم به ذکر نیست که بازم امیر کمکم کرد
این هم سایتی همچین بد نیست
Back to top
unknown
مدير بخش ويژوال بيسيك
مدير بخش ويژوال بيسيك


Joined: 05 Dec 2004
Posts: 439
Location: Tehran

PostPosted: Fri Mar 04, 2005 11:52 am    Post subject: Reply with quote

آرش ممنون ولی خیلی عجولی...
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Fri Mar 04, 2005 2:02 pm    Post subject: Reply with quote

اين نوع نام گذاري به نام گذاري مجارستاني معروف است : Hungarian Notation
اين نام گذاري براي متغيرها و هر آنچه كه قرار است در هر برنامه اي نام گذاري شود نه فقط منحصر به ويژوال بيسيك استفاده ميشود
اين روش توسط Charles Simonyi ابداع شد و اكثرا در محصولات مايكروسافت بيشتر استفاده ميشود . در اين روش متغيرهاي شما تنها از سه يا چهار حرف استفاده ميكنند . كه وظيفه مشخص كردن نوع متغير را دارند .
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum