Exemple #1
0
        private void buttonSacuvaj_Click(object sender, EventArgs e)
        {
            SoftwareForm f = new SoftwareForm(null);

            f.ShowDialog();
            f.Dispose();
        }
Exemple #2
0
 private void buttonIzmena_Click(object sender, EventArgs e)
 {
     try
     {
         int             index       = dataGridView1.CurrentCell.RowIndex;
         DataGridViewRow selectedRow = dataGridView1.Rows[index];
         string          id          = selectedRow.Cells[0].Value.ToString();
         System.Diagnostics.Debug.WriteLine(id);
         Software     software = DataManger.GetSoftverID(id);
         SoftwareForm f        = new SoftwareForm(software);
         f.ShowDialog();
         f.Dispose();
     }
     catch
     {
     }
 }