ที่มา: stackoverflow.com
แปลงไฟล์ภาพ ไปเป็น icon มี 2 ตัวอย่าง ดังนี้
/// <summary>
/// Converts an image into an icon.
/// </summary>
/// <param name="img">The image that shall become an icon</param>
/// <param name="size">The width and height of the icon. Standard
/// sizes are 16x16, 32x32, 48x48, 64x64.</param>
form_sendmail.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
To change the default icon of your .exe file click on :
เรียบร้อย
หรือจะใช้คำสั่ง ดังนี้
this.Icon = new System.Drawing.Icon("shuttle.ico");
ที่มา: normankosmal.com, en.csharp-online.net
การสร้างโปรเจ็กส์แบบ MDI
สิ่งสำคัญอย่างนึงคือการแสดงรายชื่อหน้าต่างย่อยบนเมนู Window ให้เลือกใช้ได้ง่ายๆ โดยการเขียน MDI ด้วย VS2003 ก็ใช้ MainMenu แล้วกำหนดคุณสมบัติ MDIList
แต่ตั้งแต่ VS2005 ไม่มี MainMenu ให้เลือกใช้ (แต่ถ้า Upgrade มาจาก VS2003 ก็ยังใช้ได้) ต้องเลือกใช้ MenuStrip แทน
แต่ MenuStrip ดันไม่มี MDIList property ให้ใช้
ทางแก้ก็ง่ายๆครับ
To enable multiple sign-in:
1. Start -> Control Panel จะแสดงหน้าจอของ Control Panel
It is very easy to change the spacing before or after any particular paragraph or set of paragraphs. Simply select the paragraph(s) for which you are going to change the spacing and click on the Page Layout tab, here find the Paragraph group. Now choose the new spacing values in the form of points here.
1. Open the System Preferences application.
2. Click on the "Accounts" icon in the System Preferences window.
3. Click on the "Login Options" item in the list of accounts on the left side of the "Accounts" System Preferences window.
4. Set the "Automatic login:" option to "Off."
ที่มา: rit.edu/
1. ใช้ Disk Utilities จัดเตรียม Partition ดังนี้