private void showDialog(String name)
{
try
{
Form dlg = Context.AppPanelManager.CreatePanel(name);
if (dlg != null)
{
Context.AppPanelManager.ShowDialog((IPanel)dlg);
}
}
catch (Exception e)
{
Log.Debug("Error creating dialog of type " + name + ". Exception: " + e);
}
}
}