public Detalji(usp_Narudzbe_SelectAktivne_Result narudzba) { InitializeComponent(); if (narudzba != null) { this.narudzba = narudzba; } this.AutoValidate = AutoValidate.Disable; }
private void dgAktivneNarudzbe_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { //Detalji detailsForm = new Detalji(narudzbe[e.RowIndex]); //this.Close(); // detailsForm.Show(); if (narudzbe[e.RowIndex] != null) { narudzba = narudzbe[e.RowIndex]; } this.AutoValidate = AutoValidate.Disable; BindForm(); BindSkladista(); }