private void btnSynchNow_Click(object sender, EventArgs e) { var batchId = Guid.NewGuid(); foreach (DataGridViewRow row in dataGridViewSynchronization.Rows) { if (row.Visible) { var selectedCell = row.Cells["SelectColumn"]; if ((bool)selectedCell.Value) { SynchRow(row, batchId); } } } CurrentSynchronization.Save(); OnSynchRebinded?.Invoke(this, e); }
private void saveToolStripMenuItem_Click(object sender, EventArgs e) { CurrentSynchronization.Save(); }
private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { CurrentSynchronization.Save(); dockPanel.SaveAsXml(AutoRenamerConfig.Instance.); }