private void button1_Click(object sender, EventArgs e) { WindowOfPlayerSettings wops = new WindowOfPlayerSettings(this); wops.Show(); this.Hide(); }
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(); }
public WindowOfResults(Player[] playersF, Game hra2, WindowOfPlayerSettings wops2, MapAPC mapApc) { InitializeComponent(); playersForm = playersF; hra = hra2; wops = wops2; CreateRP(); SortResults(); }