1.Checked)
mode = 1; (radioButton2.Checked)
mode = 2; (radioButton3.Checked)
mode = 3; _.Start (mode);
checkBox1.Text = "Stop";
groupBox7.Enabled = false;. Text = Build.Score.ToString ();
label2.Text = Build.LinesRemoved.ToString ();
label3.Text = Build.Level.ToString ();
label4.Text = Build.Shapes.ToString ();
}
{
Build_.thr.Abort ();
gObj.Clear (Color.LightGray);
checkBox1.Text = "Start";
groupBox7.Enabled = true;
}
} MainWindow_FormClosing (object sender, FormClosingEventArgs e)
{(game == "Build") (Build_.thr! = null) (Build_.thr.ThreadState == System.Threading.ThreadState.Suspended)
{
Build_.thr.Resume ();
Build_.thr.Abort ();
}
Build_.thr.Abort (); (game == "Tanks" && Tanks_! = null) (Tanks_.thr! = null) (Tanks_.thr.ThreadState == System . Threading.ThreadState.Suspended)
{
Tanks_.thr.Resume ();
Tanks_.thr.Abort ();
thrTime.Resume ();
thrTime.Abort ();
label11.Text = "0";
}
{
Tanks_.thr.Abort ();
thrTime.Abort ();
label11.Text = "0";
}
} button1_Click_1 (object sender, EventArgs e)
{(Build_.thr! = null) (Build_.thr.ThreadState == System.Threading.ThreadState.Suspended)
{
Build_.thr.Resume ();
Build_.thr.Abort ();
}
Build_.thr.Abort ();
game = "Build";
checkBox1.Enabled = true;
checkBox1.Checked = false;
Pause.Checked = false;. Visible = false;
RightPanel.Visible = false;
PanelPad.Visible = false;
PanelMenu.Visible = true;
} button2_Click (object sender, EventArgs e)
{
game = "Build";
PanelMenu.Visible = false;
PanelPad.Visible = true;
LeftPanel.Visible = true;
LeftPanel.Enabled = true;
RightPanel.Visible = true;
RightPanel.Enabled = true;