// 1. Show Dialog, get configuration. true is continue, false is cancel. public override bool ShowConnectionDialog(IConnectionInfo cxInfo, bool isNewConnection) { // set to the cxInfo.DriverData var window = new ConnectionDialog(cxInfo); bool?result = window.ShowDialog(); if (result == true) { return(true); } else { return(false); } }
// 1. Show Dialog, get configuration. true is continue, false is cancel. public override bool ShowConnectionDialog(IConnectionInfo cxInfo, bool isNewConnection) { // set to the cxInfo.DriverData var window = new ConnectionDialog(cxInfo); bool? result = window.ShowDialog(); if (result == true) { return true; } else { return false; } }