Lập trình GUI<br />
<br />
Lập trình GUI<br />
•<br />
•<br />
•<br />
•<br />
<br />
User interface modeling<br />
User interface architecture<br />
User interface coding<br />
HCI<br />
<br />
The Control class hierarchy<br />
<br />
Windows Forms Application Structure<br />
• A Windows Forms application has three pieces<br />
– the application itself<br />
– forms in the application<br />
– controls on the form<br />
Application<br />
mainForm<br />
<br />
MyForm<br />
<br />
Label<br />
<br />
label1<br />
<br />
“Hell…”<br />
<br />
button1<br />
<br />
Button<br />
“OK”<br />
<br />
GUI Tree Structure<br />
GUI<br />
<br />
Internal structure<br />
<br />
Form<br />
Button<br />
<br />
Form<br />
<br />
containers<br />
<br />
Panel<br />
Panel<br />
<br />
Label<br />
<br />
Label<br />
<br />
Button<br />
<br />