private void PrikaziFormuRezervniDio(FormKreirajRezervniDio form, object sender)
 {
     form.FormUpravljanjeSkladistem = this;
     form.MdiParent     = this.MdiParent;
     form.StartPosition = FormStartPosition.CenterScreen;
     ActivateButton(sender);
     form.Show();
     form.Activate();
 }
 private void PrikaziFormuAzuriranjeRezervnogDijela(FormKreirajRezervniDio form, object sender, Sloj_pristupa_podacima.Artikl artikl)
 {
     form.proslijedeniArtikl        = artikl;
     form.FormUpravljanjeSkladistem = this;
     form.MdiParent     = this.MdiParent;
     form.StartPosition = FormStartPosition.CenterScreen;
     ActivateButton(sender);
     form.Show();
     form.Activate();
 }
Пример #3
0
 private void FormKreirajRezervniDio_FormClosed(object sender, FormClosedEventArgs e)
 {
     _instance          = null;
     proslijedeniArtikl = null;
 }