Пример #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     Global.UlazIDHLP = 0;
     Supply.NabavkaAdd novif = new Supply.NabavkaAdd();
     if (novif.ShowDialog() == DialogResult.OK)
     {
         BindGrid();
     }
 }
Пример #2
0
        private void ulazidatagrid_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int ulazId = Convert.ToInt32(ulazidatagrid.SelectedRows[0].Cells[0].Value);

            Supply.NabavkaAdd novif = new Supply.NabavkaAdd(ulazId);
            if (novif.ShowDialog() == DialogResult.OK)
            {
                BindGrid();
            }
        }