Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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;
        }