Пример #1
0
 private void dgvStavke_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         FormaStavka frmStavka = new FormaStavka();
         frmStavka.NapuniFormuStavkom(dgvStavke.Rows[e.RowIndex].DataBoundItem);
         frmStavka.ShowDialog();
     }
 }
Пример #2
0
        private void btnDodajStavku_Click(object sender, EventArgs e)
        {
            FormaStavka fs = new FormaStavka();

            fs.ShowDialog();
        }