/// <summary> /// Unregister a panel /// </summary> /// <param name="flowChartBase"></param> public void UnregisterFlowPanel(SMFlowChartCtlBase flowChartBase) { lock (_listFlowPanels) { if (_listFlowPanels.Contains(flowChartBase)) { _listFlowPanels.Remove(flowChartBase); } } }
/// <summary> /// Register a panel to display this flow chart /// </summary> /// <param name="flowChartBase"></param> public void RegisterFlowPanel(SMFlowChartCtlBase flowChartBase) { lock (_listFlowPanels) { if (!_listFlowPanels.Contains(flowChartBase)) { _listFlowPanels.Add(flowChartBase); flowChartBase.Rebuild(); } } }