You are on page 1of 25

Match game

1. New Project – Windows Forms Application

2. Windowform - Width 550, Height 550

1
3. Toolbox – All windows form – TablelayoutPanel

2
4. TableLayoutpanel select- Dock - Fill

3
5. Backcolor- Web - CornflowerBlue

4
CellBorderStyle – inset

6. Edit Rows and Columns

5
7. Edit Column – Add button click – Percent – 25%

6
Edit Rows

7
8. Label

8
Properties- Autosize – False, Dock- Fill

Text algin – Middle Center

9
9. Font – Webdings, size- 72 , Bold –True, GdiCharSet- 0

10
10. Text- c

11. Copy fill

11
12. Form1.cs right click – view code click

12
13
13. AssignmentIconsToSquare()

14
Final AssignIconsToSquare()

Test - Fn+f5

15
14. Design Form – All image select – ForeColor – web –
CornFlowerBlue

16
15. All image select - Properties- event Tab- Click-
label_Click

16. Label_click()

17
Label_click code

Test fn+f5

18
Click

19
17. Second click code

20
21
18. ToolBox – Timer

Properties- interval -750

22
19. Event – Tick

Tick double click

Fill Code – timer1_Tick( )

23
20. Fill code

21.CheckForWinner() & messagebox code

24
22.Add code- checkforwinner();

Test fn+f5

25

You might also like