private void FirmwareUpdaterMenuItem_Click(object sender, EventArgs e) { using (var firmwareUpdaterWindow = new FirmwareUpdaterWindow(m_loader)) { firmwareUpdaterWindow.ShowDialog(); } }
private void FirmwareUpdaterMenuItem_Click(object sender, EventArgs e) { using (var sync = new CrossApplicationSynchronizer(CrossApplicationIndentifiers.FirmwareUpdater)) { if (!sync.IsLockObtained) { InfoBox.Show("\"NFE Toolbox - Firmware Updater\" is already running.\n\nTo continue you need to close it first."); return; } using (var firmwareUpdaterWindow = new FirmwareUpdaterWindow(m_firmware, m_loader)) { firmwareUpdaterWindow.ShowDialog(); } } }
private void FirmwareUpdaterMenuItem_Click(object sender, EventArgs e) { using (var firmwareUpdaterWindow = new FirmwareUpdaterWindow(m_firmware, m_loader)) { firmwareUpdaterWindow.ShowDialog(); } }