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 

PrintForm در vb2005

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET
View previous topic :: View next topic  
Author Message
emsii
دوست آشناي سايت


Joined: 16 Dec 2005
Posts: 90
Location: tehran

PostPosted: Wed Sep 27, 2006 1:12 pm    Post subject: PrintForm در vb2005 Reply with quote

چه جوري ميشه از يك فرم در vb80 پرينت گرفت
دستور PrintForm در vb6 بود ولي در vb80 نيست
Back to top
arash
مدير بخش سي
مدير بخش سي


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

PostPosted: Wed Sep 27, 2006 6:57 pm    Post subject: Reply with quote

برای پرینت کردن یک نوشته تو vb.net باید از کنترل printDocument استفاده کنید .بروی این کنترل در ToolBox دوبار کلیک کنید تا به فرم اضافه شود. این کنترل نام printDocument1 را می گیرد.

اگر هم می خواهید کل فرم رو پرینت کنید کافیه بنویسید

()form1.print
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