private void btnBarkodiraj_Click(object sender, EventArgs e) { KRoba roba = new KRoba( dgvNalog.CurrentRow.Cells["colSifra"].Value.ToString(), dgvNalog.CurrentRow.Cells["colNaziv"].Value.ToString(), null); FormBarkodiranje form = new FormBarkodiranje(this.terminal, this.katalog, this.Location, this.Width, this.Height, this.WindowState, this.nalog, roba); form.Show(); this.Close(); }
private void mnubtnBarkodiranje_Click(object sender, EventArgs e) { FormBarkodiranje form = new FormBarkodiranje(this.terminal, this.katalog, new Point(this.Location.X, this.Location.Y), this.Width, this.Height, this.WindowState, null, null); form.Show(); this.Close(); }