示例#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();
     }
 }