Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using System.Drawing;
- namespace MP_LEVEL
- {
- class Program
- {
- static void Main(string[] args)
- {
- Form windowMenu = new Form();
- windowMenu.WindowState = FormWindowState.Normal;
- windowMenu.StartPosition = FormStartPosition.CenterScreen;
- windowMenu.AutoSize = true;
- windowMenu.Text = "Games Level";
- Button easy = new Button();
- easy.Text = "Easy";
- easy.Location = new Point(100, 50);
- Level easyButton = new Level();
- easy.Click += new EventHandler(easyButton.EasyButtonClick);
- easy.Parent = windowMenu;
- Button average = new Button();
- average.Text = "Average";
- average.Location = new Point(100, 100);
- average.Parent = windowMenu;
- Level averageButton = new Level();
- average.Click += new EventHandler(averageButton.AverageButtonClick);
- Button difficult = new Button();
- difficult.Text = "Difficult";
- difficult.Location = new Point(100, 150);
- difficult.Parent = windowMenu;
- Level difficultButton = new Level();
- difficult.Click += new EventHandler(difficultButton.DifficultButtonClick);
- windowMenu.ShowDialog();
- }
- }
- class Level : Form
- {
- private Form windowLevel = new Form();
- private void EasyLevel()
- {
- windowLevel.WindowState = FormWindowState.Normal;
- windowLevel.StartPosition = FormStartPosition.CenterScreen;
- windowLevel.AutoSize = true;
- windowLevel.Text = "Easy Level";
- }
- public void EasyButtonClick(object sender, EventArgs e)
- {
- LevelBox Box = new LevelBox();
- Box.DisplayEasyLevel();
- EasyLevel();
- }
- private void AverageLevel()
- {
- windowLevel.WindowState = FormWindowState.Normal;
- windowLevel.StartPosition = FormStartPosition.CenterScreen;
- windowLevel.AutoSize = true;
- windowLevel.Text = "Average Level";
- }
- public void AverageButtonClick(object sender, EventArgs e)
- {
- LevelBox Box = new LevelBox();
- Box.DisplayAverageLevel();
- AverageLevel();
- }
- private void DifficultLevel()
- {
- windowLevel.WindowState = FormWindowState.Normal;
- windowLevel.StartPosition = FormStartPosition.CenterScreen;
- windowLevel.AutoSize = true;
- windowLevel.Text = "Difficult Level";
- }
- public void DifficultButtonClick(object sender, EventArgs e)
- {
- LevelBox Box = new LevelBox();
- Box.DisplayDifficultLevel();
- DifficultLevel();
- }
- private void ContinueButtonClick(object sender, EventArgs e)
- {
- windowLevel.Close();
- }
- }
- class LevelBox : Form
- {
- private Form windowLevelBox = new Form();
- public void DisplayEasyLevel()
- {
- // -------- FIRST ROW BUTTONS ----------
- Button button1 = new Button();
- button1.BackColor = Color.LightGray;
- button1.Text = "";
- button1.Location = new Point(6, 5);
- button1.Size = new Size(100, 80);
- button1.Parent = windowLevelBox;
- Button button2 = new Button();
- button2.BackColor = Color.LightGray;
- button2.Text = "";
- button2.Location = new Point(110, 5);
- button2.Size = new Size(100, 80);
- button2.Parent = windowLevelBox;
- Button button3 = new Button();
- button3.BackColor = Color.LightGray;
- button3.Text = "";
- button3.Location = new Point(214, 5);
- button3.Size = new Size(100, 80);
- button3.Parent = windowLevelBox;
- // ------- SECOND ROW BUTTONS ----------
- Button button4 = new Button();
- button4.BackColor = Color.LightGray;
- button4.Text = "";
- button4.Location = new Point(6, 90);
- button4.Size = new Size(100, 80);
- button4.Parent = windowLevelBox;
- Button button5 = new Button();
- button5.BackColor = Color.LightGray;
- button5.Text = "";
- button5.Location = new Point(110, 90);
- button5.Size = new Size(100, 80);
- button5.Parent = windowLevelBox;
- Button button6 = new Button();
- button6.BackColor = Color.LightGray;
- button6.Text = "";
- button6.Location = new Point(214, 90);
- button6.Size = new Size(100, 80);
- button6.Parent = windowLevelBox;
- // ------- LAST ROW BUTTONS ---------
- Button button7 = new Button();
- button7.BackColor = Color.LightGray;
- button7.Text = "";
- button7.Location = new Point(6, 175);
- button7.Size = new Size(100, 80);
- button7.Parent = windowLevelBox;
- Button button8 = new Button();
- button8.BackColor = Color.LightGray;
- button8.Text = "";
- button8.Location = new Point(110, 175);
- button8.Size = new Size(100, 80);
- button8.Parent = windowLevelBox;
- Button button9 = new Button();
- button9.BackColor = Color.LightGray;
- button9.Text = "";
- button9.Location = new Point(214, 175);
- button9.Size = new Size(100, 80);
- button9.Parent = windowLevelBox;
- windowLevelBox.WindowState = FormWindowState.Normal;
- windowLevelBox.StartPosition = FormStartPosition.CenterScreen;
- windowLevelBox.AutoSize = true;
- windowLevelBox.Text = "Easy Level";
- windowLevelBox.ShowDialog();
- }
- public void EasyLevelBoxButtonClick(object sender, EventArgs e)
- {
- windowLevelBox.Close();
- }
- public void DisplayAverageLevel()
- {
- // -------- FIRST ROW BUTTONS ----------
- Button button1 = new Button();
- button1.BackColor = Color.LightGray;
- button1.Text = "";
- button1.Location = new Point(6, 5);
- button1.Size = new Size(90, 80);
- button1.Parent = windowLevelBox;
- Button button2 = new Button();
- button2.BackColor = Color.LightGray;
- button2.Text = "";
- button2.Location = new Point(99, 5);
- button2.Size = new Size(90, 80);
- button2.Parent = windowLevelBox;
- Button button3 = new Button();
- button3.BackColor = Color.LightGray;
- button3.Text = "";
- button3.Location = new Point(192, 5);
- button3.Size = new Size(90, 80);
- button3.Parent = windowLevelBox;
- Button button4 = new Button();
- button4.BackColor = Color.LightGray;
- button4.Text = "";
- button4.Location = new Point(285, 5);
- button4.Size = new Size(90, 80);
- button4.Parent = windowLevelBox;
- Button button5 = new Button();
- button5.BackColor = Color.LightGray;
- button5.Text = "";
- button5.Location = new Point(378, 5);
- button5.Size = new Size(90, 80);
- button5.Parent = windowLevelBox;
- // -------- SECOND ROW BUTTONS ----------
- Button button6 = new Button();
- button6.BackColor = Color.LightGray;
- button6.Text = "";
- button6.Location = new Point(6, 88);
- button6.Size = new Size(90, 80);
- button6.Parent = windowLevelBox;
- Button button7 = new Button();
- button7.BackColor = Color.LightGray;
- button7.Text = "";
- button7.Location = new Point(99, 88);
- button7.Size = new Size(90, 80);
- button7.Parent = windowLevelBox;
- Button button8 = new Button();
- button8.BackColor = Color.LightGray;
- button8.Text = "";
- button8.Location = new Point(192, 88);
- button8.Size = new Size(90, 80);
- button8.Parent = windowLevelBox;
- Button button9 = new Button();
- button9.BackColor = Color.LightGray;
- button9.Text = "";
- button9.Location = new Point(285, 88);
- button9.Size = new Size(90, 80);
- button9.Parent = windowLevelBox;
- Button button10 = new Button();
- button10.BackColor = Color.LightGray;
- button10.Text = "";
- button10.Location = new Point(378, 88);
- button10.Size = new Size(90, 80);
- button10.Parent = windowLevelBox;
- // -------- THIRD ROW BUTTONS ----------
- Button button11 = new Button();
- button11.BackColor = Color.LightGray;
- button11.Text = "";
- button11.Location = new Point(6, 171);
- button11.Size = new Size(90, 80);
- button11.Parent = windowLevelBox;
- Button button12 = new Button();
- button12.BackColor = Color.LightGray;
- button12.Text = "";
- button12.Location = new Point(99, 171);
- button12.Size = new Size(90, 80);
- button12.Parent = windowLevelBox;
- Button button13 = new Button();
- button13.BackColor = Color.LightGray;
- button13.Text = "";
- button13.Location = new Point(192, 171);
- button13.Size = new Size(90, 80);
- button13.Parent = windowLevelBox;
- Button button14 = new Button();
- button14.BackColor = Color.LightGray;
- button14.Text = "";
- button14.Location = new Point(285, 171);
- button14.Size = new Size(90, 80);
- button14.Parent = windowLevelBox;
- Button button15 = new Button();
- button15.BackColor = Color.LightGray;
- button15.Text = "";
- button15.Location = new Point(378, 171);
- button15.Size = new Size(90, 80);
- button15.Parent = windowLevelBox;
- // -------- FOURTH ROW BUTTONS ----------
- Button button16 = new Button();
- button16.BackColor = Color.LightGray;
- button16.Text = "";
- button16.Location = new Point(6, 254);
- button16.Size = new Size(90, 80);
- button16.Parent = windowLevelBox;
- Button button17 = new Button();
- button17.BackColor = Color.LightGray;
- button17.Text = "";
- button17.Location = new Point(99, 254);
- button17.Size = new Size(90, 80);
- button17.Parent = windowLevelBox;
- Button button18 = new Button();
- button18.BackColor = Color.LightGray;
- button18.Text = "";
- button18.Location = new Point(192, 254);
- button18.Size = new Size(90, 80);
- button18.Parent = windowLevelBox;
- Button button19 = new Button();
- button19.BackColor = Color.LightGray;
- button19.Text = "";
- button19.Location = new Point(285, 254);
- button19.Size = new Size(90, 80);
- button19.Parent = windowLevelBox;
- Button button20 = new Button();
- button20.BackColor = Color.LightGray;
- button20.Text = "";
- button20.Location = new Point(378, 254);
- button20.Size = new Size(90, 80);
- button20.Parent = windowLevelBox;
- // -------- LAST ROW BUTTONS ----------
- Button button21 = new Button();
- button21.BackColor = Color.LightGray;
- button21.Text = "";
- button21.Location = new Point(6, 337);
- button21.Size = new Size(90, 80);
- button21.Parent = windowLevelBox;
- Button button22 = new Button();
- button22.BackColor = Color.LightGray;
- button22.Text = "";
- button22.Location = new Point(99, 337);
- button22.Size = new Size(90, 80);
- button22.Parent = windowLevelBox;
- Button button23 = new Button();
- button23.BackColor = Color.LightGray;
- button23.Text = "";
- button23.Location = new Point(192, 337);
- button23.Size = new Size(90, 80);
- button23.Parent = windowLevelBox;
- Button button24 = new Button();
- button24.BackColor = Color.LightGray;
- button24.Text = "";
- button24.Location = new Point(285, 337);
- button24.Size = new Size(90, 80);
- button24.Parent = windowLevelBox;
- Button button25 = new Button();
- button25.BackColor = Color.LightGray;
- button25.Text = "";
- button25.Location = new Point(378, 337);
- button25.Size = new Size(90, 80);
- button25.Parent = windowLevelBox;
- windowLevelBox.WindowState = FormWindowState.Normal;
- windowLevelBox.StartPosition = FormStartPosition.CenterScreen;
- windowLevelBox.AutoSize = true;
- windowLevelBox.Text = "Average Level";
- windowLevelBox.ShowDialog();
- }
- public void AverageLevelBoxButtonClick(object sender, EventArgs e)
- {
- windowLevelBox.Close();
- }
- public void DisplayDifficultLevel()
- {
- // -------- FIRST ROW BUTTONS ----------
- Button button1 = new Button();
- button1.BackColor = Color.LightGray;
- button1.Text = "";
- button1.Location = new Point(5, 5);
- button1.Size = new Size(80, 80);
- button1.Parent = windowLevelBox;
- Button button2 = new Button();
- button2.BackColor = Color.LightGray;
- button2.Text = "";
- button2.Location = new Point(88, 5);
- button2.Size = new Size(80, 80);
- button2.Parent = windowLevelBox;
- Button button3 = new Button();
- button3.BackColor = Color.LightGray;
- button3.Text = "";
- button3.Location = new Point(171, 5);
- button3.Size = new Size(80, 80);
- button3.Parent = windowLevelBox;
- Button button4 = new Button();
- button4.BackColor = Color.LightGray;
- button4.Text = "";
- button4.Location = new Point(254, 5);
- button4.Size = new Size(80, 80);
- button4.Parent = windowLevelBox;
- Button button5 = new Button();
- button5.BackColor = Color.LightGray;
- button5.Text = "";
- button5.Location = new Point(337, 5);
- button5.Size = new Size(80, 80);
- button5.Parent = windowLevelBox;
- Button button6 = new Button();
- button6.BackColor = Color.LightGray;
- button6.Text = "";
- button6.Location = new Point(420, 5);
- button6.Size = new Size(80, 80);
- button6.Parent = windowLevelBox;
- Button button7 = new Button();
- button7.BackColor = Color.LightGray;
- button7.Text = "";
- button7.Location = new Point(503, 5);
- button7.Size = new Size(80, 80);
- button7.Parent = windowLevelBox;
- Button button8 = new Button();
- button8.BackColor = Color.LightGray;
- button8.Text = "";
- button8.Location = new Point(586, 5);
- button8.Size = new Size(80, 80);
- button8.Parent = windowLevelBox;
- // -------- SECOND ROW BUTTONS ----------
- Button button9 = new Button();
- button9.BackColor = Color.LightGray;
- button9.Text = "";
- button9.Location = new Point(5, 88);
- button9.Size = new Size(80, 80);
- button9.Parent = windowLevelBox;
- Button button10 = new Button();
- button10.BackColor = Color.LightGray;
- button10.Text = "";
- button10.Location = new Point(88, 88);
- button10.Size = new Size(80, 80);
- button10.Parent = windowLevelBox;
- Button button11 = new Button();
- button11.BackColor = Color.LightGray;
- button11.Text = "";
- button11.Location = new Point(171, 88);
- button11.Size = new Size(80, 80);
- button11.Parent = windowLevelBox;
- Button button12 = new Button();
- button12.BackColor = Color.LightGray;
- button12.Text = "";
- button12.Location = new Point(254, 88);
- button12.Size = new Size(80, 80);
- button12.Parent = windowLevelBox;
- Button button13 = new Button();
- button13.BackColor = Color.LightGray;
- button13.Text = "";
- button13.Location = new Point(337, 88);
- button13.Size = new Size(80, 80);
- button13.Parent = windowLevelBox;
- Button button14 = new Button();
- button14.BackColor = Color.LightGray;
- button14.Text = "";
- button14.Location = new Point(420, 88);
- button14.Size = new Size(80, 80);
- button14.Parent = windowLevelBox;
- Button button15 = new Button();
- button15.BackColor = Color.LightGray;
- button15.Text = "";
- button15.Location = new Point(503, 88);
- button15.Size = new Size(80, 80);
- button15.Parent = windowLevelBox;
- Button button16 = new Button();
- button16.BackColor = Color.LightGray;
- button16.Text = "";
- button16.Location = new Point(586, 88);
- button16.Size = new Size(80, 80);
- button16.Parent = windowLevelBox;
- // -------- THIRD ROW BUTTONS ----------
- Button button17 = new Button();
- button17.BackColor = Color.LightGray;
- button17.Text = "";
- button17.Location = new Point(5, 171);
- button17.Size = new Size(80, 80);
- button17.Parent = windowLevelBox;
- Button button18 = new Button();
- button18.BackColor = Color.LightGray;
- button18.Text = "";
- button18.Location = new Point(88, 171);
- button18.Size = new Size(80, 80);
- button18.Parent = windowLevelBox;
- Button button19 = new Button();
- button19.BackColor = Color.LightGray;
- button19.Text = "";
- button19.Location = new Point(171, 171);
- button19.Size = new Size(80, 80);
- button19.Parent = windowLevelBox;
- Button button20 = new Button();
- button20.BackColor = Color.LightGray;
- button20.Text = "";
- button20.Location = new Point(254, 171);
- button20.Size = new Size(80, 80);
- button20.Parent = windowLevelBox;
- Button button21 = new Button();
- button21.BackColor = Color.LightGray;
- button21.Text = "";
- button21.Location = new Point(337, 171);
- button21.Size = new Size(80, 80);
- button21.Parent = windowLevelBox;
- Button button22 = new Button();
- button22.BackColor = Color.LightGray;
- button22.Text = "";
- button22.Location = new Point(420, 171);
- button22.Size = new Size(80, 80);
- button22.Parent = windowLevelBox;
- Button button23 = new Button();
- button23.BackColor = Color.LightGray;
- button23.Text = "";
- button23.Location = new Point(503, 171);
- button23.Size = new Size(80, 80);
- button23.Parent = windowLevelBox;
- Button button24 = new Button();
- button24.BackColor = Color.LightGray;
- button24.Text = "";
- button24.Location = new Point(586, 171);
- button24.Size = new Size(80, 80);
- button24.Parent = windowLevelBox;
- // -------- FOURTH ROW BUTTONS ----------
- Button button25 = new Button();
- button25.BackColor = Color.LightGray;
- button25.Text = "";
- button25.Location = new Point(5, 254);
- button25.Size = new Size(80, 80);
- button25.Parent = windowLevelBox;
- Button button26 = new Button();
- button26.BackColor = Color.LightGray;
- button26.Text = "";
- button26.Location = new Point(88, 254);
- button26.Size = new Size(80, 80);
- button26.Parent = windowLevelBox;
- Button button27 = new Button();
- button27.BackColor = Color.LightGray;
- button27.Text = "";
- button27.Location = new Point(171, 254);
- button27.Size = new Size(80, 80);
- button27.Parent = windowLevelBox;
- Button button28 = new Button();
- button28.BackColor = Color.LightGray;
- button28.Text = "";
- button28.Location = new Point(254, 254);
- button28.Size = new Size(80, 80);
- button28.Parent = windowLevelBox;
- Button button29 = new Button();
- button29.BackColor = Color.LightGray;
- button29.Text = "";
- button29.Location = new Point(337, 254);
- button29.Size = new Size(80, 80);
- button29.Parent = windowLevelBox;
- Button button30 = new Button();
- button30.BackColor = Color.LightGray;
- button30.Text = "";
- button30.Location = new Point(420, 254);
- button30.Size = new Size(80, 80);
- button30.Parent = windowLevelBox;
- Button button31 = new Button();
- button31.BackColor = Color.LightGray;
- button31.Text = "";
- button31.Location = new Point(503, 254);
- button31.Size = new Size(80, 80);
- button31.Parent = windowLevelBox;
- Button button32 = new Button();
- button32.BackColor = Color.LightGray;
- button32.Text = "";
- button32.Location = new Point(586, 254);
- button32.Size = new Size(80, 80);
- button32.Parent = windowLevelBox;
- // -------- FIFTH ROW BUTTONS ----------
- Button button33 = new Button();
- button33.BackColor = Color.LightGray;
- button33.Text = "";
- button33.Location = new Point(5, 337);
- button33.Size = new Size(80, 80);
- button33.Parent = windowLevelBox;
- Button button34 = new Button();
- button34.BackColor = Color.LightGray;
- button34.Text = "";
- button34.Location = new Point(88, 337);
- button34.Size = new Size(80, 80);
- button34.Parent = windowLevelBox;
- Button button35 = new Button();
- button35.BackColor = Color.LightGray;
- button35.Text = "";
- button35.Location = new Point(171, 337);
- button35.Size = new Size(80, 80);
- button35.Parent = windowLevelBox;
- Button button36 = new Button();
- button36.BackColor = Color.LightGray;
- button36.Text = "";
- button36.Location = new Point(254, 337);
- button36.Size = new Size(80, 80);
- button36.Parent = windowLevelBox;
- Button button37 = new Button();
- button37.BackColor = Color.LightGray;
- button37.Text = "";
- button37.Location = new Point(337, 337);
- button37.Size = new Size(80, 80);
- button37.Parent = windowLevelBox;
- Button button38 = new Button();
- button38.BackColor = Color.LightGray;
- button38.Text = "";
- button38.Location = new Point(420, 337);
- button38.Size = new Size(80, 80);
- button38.Parent = windowLevelBox;
- Button button39 = new Button();
- button39.BackColor = Color.LightGray;
- button39.Text = "";
- button39.Location = new Point(503, 337);
- button39.Size = new Size(80, 80);
- button39.Parent = windowLevelBox;
- Button button40 = new Button();
- button40.BackColor = Color.LightGray;
- button40.Text = "";
- button40.Location = new Point(586, 337);
- button40.Size = new Size(80, 80);
- button40.Parent = windowLevelBox;
- // -------- SIXTH ROW BUTTONS ----------
- Button button41 = new Button();
- button41.BackColor = Color.LightGray;
- button41.Text = "";
- button41.Location = new Point(5, 420);
- button41.Size = new Size(80, 80);
- button41.Parent = windowLevelBox;
- Button button42 = new Button();
- button42.BackColor = Color.LightGray;
- button42.Text = "";
- button42.Location = new Point(88, 420);
- button42.Size = new Size(80, 80);
- button42.Parent = windowLevelBox;
- Button button43 = new Button();
- button43.BackColor = Color.LightGray;
- button43.Text = "";
- button43.Location = new Point(171, 420);
- button43.Size = new Size(80, 80);
- button43.Parent = windowLevelBox;
- Button button44 = new Button();
- button44.BackColor = Color.LightGray;
- button44.Text = "";
- button44.Location = new Point(254, 420);
- button44.Size = new Size(80, 80);
- button44.Parent = windowLevelBox;
- Button button45 = new Button();
- button45.BackColor = Color.LightGray;
- button45.Text = "";
- button45.Location = new Point(337, 420);
- button45.Size = new Size(80, 80);
- button45.Parent = windowLevelBox;
- Button button46 = new Button();
- button46.BackColor = Color.LightGray;
- button46.Text = "";
- button46.Location = new Point(420, 420);
- button46.Size = new Size(80, 80);
- button46.Parent = windowLevelBox;
- Button button47 = new Button();
- button47.BackColor = Color.LightGray;
- button47.Text = "";
- button47.Location = new Point(503, 420);
- button47.Size = new Size(80, 80);
- button47.Parent = windowLevelBox;
- Button button48 = new Button();
- button48.BackColor = Color.LightGray;
- button48.Text = "";
- button48.Location = new Point(586, 420);
- button48.Size = new Size(80, 80);
- button48.Parent = windowLevelBox;
- // -------- SEVENTH ROW BUTTONS ----------
- Button button49 = new Button();
- button49.BackColor = Color.LightGray;
- button49.Text = "";
- button49.Location = new Point(5, 503);
- button49.Size = new Size(80, 80);
- button49.Parent = windowLevelBox;
- Button button50 = new Button();
- button50.BackColor = Color.LightGray;
- button50.Text = "";
- button50.Location = new Point(88, 503);
- button50.Size = new Size(80, 80);
- button50.Parent = windowLevelBox;
- Button button51 = new Button();
- button51.BackColor = Color.LightGray;
- button51.Text = "";
- button51.Location = new Point(171, 503);
- button51.Size = new Size(80, 80);
- button51.Parent = windowLevelBox;
- Button button52 = new Button();
- button52.BackColor = Color.LightGray;
- button52.Text = "";
- button52.Location = new Point(254, 503);
- button52.Size = new Size(80, 80);
- button52.Parent = windowLevelBox;
- Button button53 = new Button();
- button53.BackColor = Color.LightGray;
- button53.Text = "";
- button53.Location = new Point(337, 503);
- button53.Size = new Size(80, 80);
- button53.Parent = windowLevelBox;
- Button button54 = new Button();
- button54.BackColor = Color.LightGray;
- button54.Text = "";
- button54.Location = new Point(420, 503);
- button54.Size = new Size(80, 80);
- button54.Parent = windowLevelBox;
- Button button55 = new Button();
- button55.BackColor = Color.LightGray;
- button55.Text = "";
- button55.Location = new Point(503, 503);
- button55.Size = new Size(80, 80);
- button55.Parent = windowLevelBox;
- Button button56 = new Button();
- button56.BackColor = Color.LightGray;
- button56.Text = "";
- button56.Location = new Point(586, 503);
- button56.Size = new Size(80, 80);
- button56.Parent = windowLevelBox;
- // -------- LAST ROW BUTTONS ----------
- Button button57 = new Button();
- button57.BackColor = Color.LightGray;
- button57.Text = "";
- button57.Location = new Point(5, 586);
- button57.Size = new Size(80, 80);
- button57.Parent = windowLevelBox;
- Button button58 = new Button();
- button58.BackColor = Color.LightGray;
- button58.Text = "";
- button58.Location = new Point(88, 586);
- button58.Size = new Size(80, 80);
- button58.Parent = windowLevelBox;
- Button button59 = new Button();
- button59.BackColor = Color.LightGray;
- button59.Text = "";
- button59.Location = new Point(171, 586);
- button59.Size = new Size(80, 80);
- button59.Parent = windowLevelBox;
- Button button60 = new Button();
- button60.BackColor = Color.LightGray;
- button60.Text = "";
- button60.Location = new Point(254, 586);
- button60.Size = new Size(80, 80);
- button60.Parent = windowLevelBox;
- Button button61 = new Button();
- button61.BackColor = Color.LightGray;
- button61.Text = "";
- button61.Location = new Point(337, 586);
- button61.Size = new Size(80, 80);
- button61.Parent = windowLevelBox;
- Button button62 = new Button();
- button62.BackColor = Color.LightGray;
- button62.Text = "";
- button62.Location = new Point(420, 586);
- button62.Size = new Size(80, 80);
- button62.Parent = windowLevelBox;
- Button button63 = new Button();
- button63.BackColor = Color.LightGray;
- button63.Text = "";
- button63.Location = new Point(503, 586);
- button63.Size = new Size(80, 80);
- button63.Parent = windowLevelBox;
- Button button64 = new Button();
- button64.BackColor = Color.LightGray;
- button64.Text = "";
- button64.Location = new Point(586, 586);
- button64.Size = new Size(80, 80);
- button64.Parent = windowLevelBox;
- windowLevelBox.WindowState = FormWindowState.Normal;
- windowLevelBox.StartPosition = FormStartPosition.CenterScreen;
- windowLevelBox.AutoSize = true;
- windowLevelBox.Text = "Difficult Level";
- windowLevelBox.ShowDialog();
- }
- public void DifficultLevelBoxButtonClick(object sender, EventArgs e)
- {
- windowLevelBox.Close();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment