2014-12-12 20:58:52 +01:00
|
|
|
# Gambas Form File 3.0
|
|
|
|
|
|
|
|
{ Form Form
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(0,0,60,66)
|
2014-12-12 20:58:52 +01:00
|
|
|
Text = ("Minesweeper")
|
|
|
|
Arrangement = Arrange.Vertical
|
|
|
|
Spacing = True
|
|
|
|
Margin = True
|
|
|
|
{ menuGame Menu
|
2014-12-16 23:15:59 +01:00
|
|
|
Text = Shortcut(("Game"), "G")
|
2014-12-12 20:58:52 +01:00
|
|
|
{ menuReDim Menu
|
2014-12-16 23:15:59 +01:00
|
|
|
Text = Shortcut(("Change Game Parameters"), "C")
|
2014-12-12 20:58:52 +01:00
|
|
|
Picture = Picture["icon:/32/edit"]
|
|
|
|
}
|
|
|
|
{ menuQuit Menu
|
2014-12-16 23:15:59 +01:00
|
|
|
Text = Shortcut(("Quit"), "Q")
|
2014-12-12 20:58:52 +01:00
|
|
|
Picture = Picture["icon:/32/quit"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{ HBox1 HBox
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(0,2,59,15)
|
|
|
|
Spacing = True
|
2014-12-12 20:58:52 +01:00
|
|
|
Margin = True
|
|
|
|
{ PictureBox2 PictureBox
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(0,0,13,13)
|
|
|
|
Picture = Picture["icon:/64/clock"]
|
|
|
|
Stretch = True
|
2014-12-12 20:58:52 +01:00
|
|
|
}
|
|
|
|
{ lblTime Label
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(13,2,12,7)
|
2014-12-12 20:58:52 +01:00
|
|
|
Font = Font["20"]
|
|
|
|
AutoResize = True
|
|
|
|
}
|
|
|
|
{ Panel2 Panel
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(25,3,1,7)
|
2014-12-12 20:58:52 +01:00
|
|
|
Expand = True
|
|
|
|
}
|
|
|
|
{ btnStatus Button
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(26,2,7,7)
|
2014-12-12 20:58:52 +01:00
|
|
|
}
|
|
|
|
{ Panel3 Panel
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(33,3,1,7)
|
2014-12-12 20:58:52 +01:00
|
|
|
Expand = True
|
|
|
|
}
|
|
|
|
{ PictureBox1 PictureBox
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(33,0,13,13)
|
2014-12-12 20:58:52 +01:00
|
|
|
Picture = Picture["image/bigflag.png"]
|
2014-12-16 23:15:59 +01:00
|
|
|
Stretch = True
|
2014-12-12 20:58:52 +01:00
|
|
|
}
|
|
|
|
{ lblFlags Label
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(44,5,15,4)
|
2014-12-12 20:58:52 +01:00
|
|
|
Font = Font["20"]
|
|
|
|
AutoResize = True
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{ Panel6 Panel
|
|
|
|
MoveScaled(25,17,10,1)
|
|
|
|
}
|
|
|
|
{ Panel4 HBox
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(1,19,58,35)
|
2014-12-12 20:58:52 +01:00
|
|
|
Expand = True
|
|
|
|
{ Panel1 Panel
|
|
|
|
MoveScaled(4,7,1,13)
|
|
|
|
Expand = True
|
|
|
|
}
|
|
|
|
{ panelBoard Panel
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(7,6,47,25)
|
2014-12-12 20:58:52 +01:00
|
|
|
}
|
|
|
|
{ Panel5 Panel
|
2014-12-16 23:15:59 +01:00
|
|
|
MoveScaled(55,7,1,20)
|
2014-12-12 20:58:52 +01:00
|
|
|
Expand = True
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{ Timer1 #Timer
|
|
|
|
#MoveScaled(2,54)
|
|
|
|
}
|
|
|
|
}
|