 |
|
อยากทำแบบ MSN น่ะครับ ถ้ามีข้อมูลให้มีการแจ้งเตือน ครับ ทำงัย ฝากพี่ ที่พอรู้ บอกด้วยน่ะครับ |
|
 |
|
|
 |
 |
|
พี่วิน ครับ ข้อเป็น C# winfrom หน่อยครับ
|
 |
 |
 |
 |
Date :
2012-11-19 15:45:36 |
By :
noi014 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
งั้นก็สร้าง Form ใหม่มา 1 Form
จากนั้นใส่ Code นี้ลงไปในส่วน Constructors
Code (C#)
public Form1()
{
.
.
.
// set show position bottom right
Rectangle r = Screen.PrimaryScreen.WorkingArea;
this.StartPosition = FormStartPosition.Manual;
this.Location = new Point(Screen.PrimaryScreen.WorkingArea.Width - this.Width,
Screen.PrimaryScreen.WorkingArea.Height - this.Height);
this.TopMost = true;
}
จากนั้นเวลาใช้ก็ new Form ขึ้นมาแล้วแสดง
|
 |
 |
 |
 |
Date :
2012-11-20 08:02:25 |
By :
Nameless |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มันจะขึ้น เวลา ข้อมุล ลงในฐานข้อมุลเลย หรอครับ
|
 |
 |
 |
 |
Date :
2012-11-23 21:51:30 |
By :
noi014 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|