namespace Volian.Controls.Library { partial class StepTabPanel { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { // when a StepTabPanel is Disposed, if it was associated with the SelectedDisplayTabItem, set the SelectedDisplayTabItem to null // this was causing an error where a deleted Procedure was being referenced, since it was the last SelectedDisplayTabItem if (MyDisplayTabControl.SelectedDisplayTabItem != null && MyDisplayTabControl.SelectedDisplayTabItem.MyStepTabPanel == this) MyDisplayTabControl.SelectedDisplayTabItem = null; if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { components = new System.ComponentModel.Container(); } #endregion } }