This commit is contained in:
Бондарев Иван 2019-04-10 20:27:32 +02:00
parent 40be3ccb30
commit b4ee219266

View file

@ -1476,11 +1476,17 @@ namespace VisualPascalABC
__showhelpinqueue();
}
private void miCheckUpdates_Click(object sender, EventArgs e)
private void __checkforupdate(object state)
{
WorkbenchServiceFactory.UpdateService.CheckForUpdates();
}
private void miCheckUpdates_Click(object sender, EventArgs e)
{
if (!ThreadPool.QueueUserWorkItem(__checkforupdate))
__checkforupdate(null);
}
private void cmCollapseRegions_Click(object sender, EventArgs e)
{
WorkbenchServiceFactory.EditorService.CollapseRegions();