private void button1_Click(object sender, EventArgs e) { Leugatahall x = new Leugatahall(); this.Hide(); Menu y = new Menu(); y.addLeague(x); y.ShowDialog(); }
public void addLeague(Leugatahall x) { MyLeague = x; }
public Menu() { InitializeComponent(); MyLeague = new Leugatahall(); }