Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            WindowOfPlayerSettings wops = new WindowOfPlayerSettings(this);

            wops.Show();
            this.Hide();
        }
Пример #2
0
        public WindowOfGame(Player[] playersF, Game hra2, WindowOfPlayerSettings wops2)
        {
            f           = this;
            playersForm = playersF;
            wops        = wops2;

            InitializeComponent();

            enterMsg = label1;
            panel    = pictureBox1;

            this.WindowState = FormWindowState.Maximized;

            panel.Width     = this.Width;
            panel.Height    = this.Height;
            panel.BackColor = bcColor;

            bmp             = new Bitmap(10000, 10000);
            g               = Graphics.FromImage(bmp);
            g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
            CreatingHeads();
            CreatingPlayers(playersF);

            hra = hra2;
            hra.ResetGame();
        }
Пример #3
0
 public WindowOfResults(Player[] playersF, Game hra2, WindowOfPlayerSettings wops2, MapAPC mapApc)
 {
     InitializeComponent();
     playersForm = playersF;
     hra         = hra2;
     wops        = wops2;
     CreateRP();
     SortResults();
 }