public GameOverForm(AgCubio_View view, int mass, string player_name) { InitializeComponent(); name_label.Text = "Name: " + player_name; mass_label.Text = "Mass: " + mass.ToString(); master_view = view; }
public Form1(AgCubio_View view, bool restart) { InitializeComponent(); view.GameHost = game_host_box.Text; if (restart) connection_error_label.Visible = true; else connection_error_label.Visible = false; this.view = view; }
public Form1(AgCubio_View view, bool restart) { InitializeComponent(); view.GameHost = game_host_box.Text; if (restart) { connection_error_label.Visible = true; } else { connection_error_label.Visible = false; } this.view = view; }