public PMASysAlertsUI() { InitializeComponent(); InitializeAllPanels(); ShowPanel(ENUMPanel.PANEL_HOME); configManager = PMAConfigManager.GetConfigManagerInstance; }
public void Dispose() { configManager.Logger.Debug(EnumMethod.START); try { if (connection != null) { connection.Close(); connection.Dispose(); connection = null; } configManager = null; } finally { GC.Collect(); } }