Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Leugatahall x = new Leugatahall();

            this.Hide();
            Menu y = new Menu();

            y.addLeague(x);
            y.ShowDialog();
        }
Exemple #2
0
 public void addLeague(Leugatahall x)
 {
     MyLeague = x;
 }
Exemple #3
0
 public Menu()
 {
     InitializeComponent();
     MyLeague = new Leugatahall();
 }