private void TrustAnotherApplicationBTN_Click(object sender, EventArgs e)
{
try
{
ManagedApplication application1 = ApplicationToManageCTRL.GetSelectedApplication(); ;
if (application1 == null)
{
return;
}
application1.Reload();
ManagedApplication application2 = new SelectApplicationDlg().ShowDialog();
if (application2 == null)
{
return;
}
SetupTrustRelationship(application1, application2);
}
catch (Exception exception)
{
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
}
}