예제 #1
0
 private void FirmwareUpdaterMenuItem_Click(object sender, EventArgs e)
 {
     using (var firmwareUpdaterWindow = new FirmwareUpdaterWindow(m_loader))
     {
         firmwareUpdaterWindow.ShowDialog();
     }
 }
예제 #2
0
 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();
         }
     }
 }
예제 #3
0
 private void FirmwareUpdaterMenuItem_Click(object sender, EventArgs e)
 {
     using (var firmwareUpdaterWindow = new FirmwareUpdaterWindow(m_firmware, m_loader))
     {
         firmwareUpdaterWindow.ShowDialog();
     }
 }