B2017-114 Fixed issue where PROMS was trying to adjust the location of steps on the screen when shutting down, and sometimes hanging in the process.
This commit is contained in:
parent
036938d9d9
commit
7c615cf182
@ -2393,6 +2393,7 @@ namespace Volian.Controls.Library
|
||||
/// </summary>
|
||||
internal void AdjustLocation()
|
||||
{
|
||||
if (MyStepPanel.ShuttingDown) return;
|
||||
if (RNORight) MoveRNO(); // This is needed when an AER is Deleted that has an RNO.
|
||||
MoveSupInfo(); // If the current item has supplemental information, be sure its top location is that of the current item.
|
||||
if (RNOLevel > 0 && AEREditItem != null)
|
||||
|
@ -7,12 +7,20 @@ namespace Volian.Controls.Library
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
private bool _ShuttingDown = false;
|
||||
|
||||
public bool ShuttingDown
|
||||
{
|
||||
get { return _ShuttingDown; }
|
||||
set { _ShuttingDown = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
ShuttingDown = disposing;
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
SelectedEditItem = null; // Save Changes
|
||||
|
Loading…
x
Reference in New Issue
Block a user