public override bool ShowConnectionDialog(IConnectionInfo cxInfo, bool isNewConnection) { // Populate the default URI with a demo value: if (isNewConnection) { new ConnectionProperties(cxInfo).ProcessName = "ConnectionName"; } var result = new ConnectionDialog(cxInfo).ShowDialog(); return(result == true); }
public override bool ShowConnectionDialog(IConnectionInfo cxInfo, bool isNewConnection) { // Populate the default URI with a demo value: if (isNewConnection) new AstoriaProperties (cxInfo).Uri = "http://ogdi.cloudapp.net/v1/dc"; bool? result = new ConnectionDialog (cxInfo).ShowDialog (); return result == true; }