void LoadBinaries(IEnumerable <ushort> indices, bool isBinary) { using (var dialog = new BinaryValueDialog(isBinary, indices)) { if (dialog.ShowDialog() == DialogResult.OK) { this.AddChanges(dialog.SelectedChanges); } } }
void LoadBinaries(IEnumerable<ushort> indices, bool isBinary) { using (var dialog = new BinaryValueDialog(isBinary, indices)) { if (dialog.ShowDialog() == DialogResult.OK) { this.AddChanges(dialog.SelectedChanges); } } }