- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
class Label : System.Windows.Forms.Label {
public Label ( string s , int x , int y , Form parent ) {
this.Location = new Point ( x , y ) ;
this.Text = s ;
this.AutoSize = true ;
this.Font = new Font ( SystemFonts.CaptionFont , FontStyle.Bold ) ;
parent.Controls.Add ( this ) ;
}
}
class Button : System.Windows.Forms.Button {
public Button ( string s , int x , int y , EventHandler f , Form parent ) {
this.Location = new Point ( x , y ) ;
this.Text = s ;
this.Font = new Font ( SystemFonts.CaptionFont , FontStyle.Bold ) ;
this.Click += f ;
parent.Controls.Add ( this ) ;
}
}
static Form form = new Form() ;
static Button[,] a = new Button [ 4 , 4 ] ;
static Random rnd = new Random() ;
static Timer timer = new Timer() ;
static Label time = new Label ( "0" , width + cellspacing * 3 , 4 * ( width + cellspacing ) + cellspacing * 2 , form ) ;
static Label nclicks = new Label ( "0" , 3 * width + cellspacing * 5 , 4 * ( width + cellspacing ) + cellspacing * 2 , form ) ;
nymuHckuu_nemyx 03.09.2019 00:29 # −90
Pretty_Young_Thing 03.09.2019 00:32 # 0
guest8 03.09.2019 00:35 # −999
guest8 03.09.2019 02:13 # −999
guest8 03.09.2019 00:31 # −999
Pretty_Young_Thing 03.09.2019 00:35 # 0
guest8 03.09.2019 02:11 # −999
cmepmop 03.09.2019 09:37 # 0
Rooster 03.09.2019 10:38 # 0
CBO6OgHblu_nemyx 03.09.2019 11:16 # 0
Rooster 03.09.2019 11:51 # 0
Кстати: Именно поэтому я за "PHP".