private void MainPage_PageClosing(object sender, RoutedEventArgs e)
{
try
{
SessionsCTRL.Close();
if (m_masterPage == null)
{
m_application.Stop();
}
}
catch (Exception exception)
{
GuiUtils.HandleException(String.Empty, GuiUtils.CallerName(), exception);
}
}