Exemplo n.º 1
0
 private void DgExisting_CellValueChanged(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 4)
     {
         DataGridViewCheckBoxCell checkCell = (DataGridViewCheckBoxCell)dgExisting.Rows[e.RowIndex].Cells[4];
         var addonName = dgExisting.Rows[e.RowIndex].Cells[0].Value.ToString();
         Addons.MarkForUpdate(addonName, (bool)checkCell.Value);
     }
 }
Exemplo n.º 2
0
 private void cmdUpdate_Click(object sender, EventArgs e)
 {
     Addons.UpdateChecked();
 }
Exemplo n.º 3
0
 private void FrmMain_Shown(object sender, EventArgs e)
 {
     Addons.PopulateMyAddons(dgExisting);
 }