Esempio n. 1
0
 private void novoskladistebtn_Click(object sender, EventArgs e)
 {
     Storage.AddSkladiste novif = new Storage.AddSkladiste();
     if (novif.ShowDialog() == DialogResult.OK)
     {
         BindGrid();
     }
 }
Esempio n. 2
0
        private void skladistedatagrid_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int skladisteID = Convert.ToInt32(skladistedatagrid.SelectedRows[0].Cells[0].Value);

            Storage.AddSkladiste novif = new Storage.AddSkladiste(skladisteID);
            if (novif.ShowDialog() == DialogResult.OK)
            {
                BindGrid();
            }
        }