public RiadiaceOknoHokej(string pHostia, string pDomaci, UvodneMenuHokej pOkno, Databaza pDat, int pId, int pHos, int pDom) { this.hostia = pHostia; this.domaci = pDomaci; this.iDTimDomaci = pDom; this.idTimHostia = pHos; InitializeComponent(); dat = pDat; this.okno = pOkno; this.tabula = new HlavnaPlochaHokej(pHostia, pDomaci, this, dat, pId, pHos, pDom); this.tabula.Show(); bGolDomaci.Text = pDomaci; bGolHostia.Text = pHostia; bFaulDomaci.Text = pDomaci; bFaulHostia.Text = pHostia; }
public void Spusti() { UvodneMenuHokej menu = new UvodneMenuHokej(); menu.ShowDialog(); }