private void addPIC24r2ChipsToolStripMenuItem_Click_1(object sender, EventArgs e) { var fm = new fmPatcher(); fm.UpdateDescription(Patcher24r2.description); fm.UpdateDeviceList(Patcher24r2.devices.Select(d => d.partName)); if (fm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { // Patch in chips Patcher24r2.PatchDeviceFile(DevFile); // Reload GUI DeviceFileLoaded(); } }