Exemplo n.º 1
0
        private void lbPoule_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            int index = this.lbPoule.IndexFromPoint(e.Location);

            if (index != ListBox.NoMatches)
            {
                Poule currentPoule;
                foreach (Poule p in pouleList)
                {
                    if (p.getName() == lbPoule.SelectedItem.ToString())
                    {
                        currentPoule  = new Poule();
                        currentPoule  = p;
                        pouleOverview = new PouleOverview(this, currentPoule);
                        break;
                    }
                }
                if (pouleOverview != null)
                {
                    pouleOverview.Show();
                }
            }
        }
Exemplo n.º 2
0
 public void closePouleOverview()
 {
     pouleOverview.Close();
     pouleOverview = null;
 }
Exemplo n.º 3
0
 public CreateJudoka(PouleOverview pouleOverview)
 {
     InitializeComponent();
     this.pouleOverview = pouleOverview;
     cbBelt.Items.AddRange(belt);
 }