private void dodajStavkeRačunaToolStripMenuItem_Click(object sender, EventArgs e) { StavkeRacuna stavkeRacuna = new StavkeRacuna(); stavkeRacuna.MdiParent = this; stavkeRacuna.Show(); }
private void btnDodajStavke_Click(object sender, EventArgs e) { StavkeRacuna stavkeRacuna = new StavkeRacuna(); stavkeRacuna.MdiParent = (GlavnaForma)this.ParentForm; stavkeRacuna.Show(); this.Close(); }