Beispiel #1
0
        public FFudbalskaIgra(FInfoZaMec test,Reprezentacija domacin,Reprezentacija gost)
        {
            this.domacin = domacin;
            this.gost = gost;
            InitializeComponent();

            this.DomacinSkracenica.Text = domacin.Skracenica;
            this.GostSkracenica.Text = gost.Skracenica;

            test.Dispose();
        }
 private void BtnStartGame_Click(object sender, EventArgs e)
 {
     if (!String.IsNullOrWhiteSpace(TbDomacin.Text) && !String.IsNullOrWhiteSpace(TbGost.Text))
     {
         FInfoZaMec info = new FInfoZaMec(this, TbDomacin.Text, TbGost.Text);
         info.ShowDialog();
        // this.Dispose();
     }
     else
     {
         MessageBox.Show("Izaberite reprezentacije!");
     }
 }
Beispiel #3
0
        public FFudbalskaIgra(FInfoZaMec test, Reprezentacija domacin, Reprezentacija gost)
        {
            this.domacin = domacin;
            this.gost    = gost;
            InitializeComponent();

            this.DomacinSkracenica.Text = domacin.Skracenica;
            this.GostSkracenica.Text    = gost.Skracenica;



            test.Dispose();
        }
 private void BtnStartGame_Click(object sender, EventArgs e)
 {
     if (!String.IsNullOrWhiteSpace(TbDomacin.Text) && !String.IsNullOrWhiteSpace(TbGost.Text))
     {
         FInfoZaMec info = new FInfoZaMec(this, TbDomacin.Text, TbGost.Text);
         info.ShowDialog();
         // this.Dispose();
     }
     else
     {
         MessageBox.Show("Izaberite reprezentacije!");
     }
 }
Beispiel #5
0
        private void infoFormaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Reprezentacija r1 = new Reprezentacija();

            r1.Ime = "Srbija";
            Reprezentacija r2 = new Reprezentacija();

            r2.Ime = "Nemacka";
            Stadion s1 = new Stadion();

            s1.Ime = "Test";
            FInfoZaMec test = new FInfoZaMec(r1, r2, s1);

            test.ShowDialog();
        }
Beispiel #6
0
 private void infoFormaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Reprezentacija r1 = new Reprezentacija();
     r1.Ime = "Srbija";           
     Reprezentacija r2 = new Reprezentacija();
     r2.Ime = "Nemacka";           
     Stadion s1 = new Stadion();
     s1.Ime = "Test";
     FInfoZaMec test = new FInfoZaMec(r1,r2,s1);
     test.ShowDialog();
 }