/// <summary> /// Initializes a new instance of the <see cref="ConnectionDialog"/> class. /// </summary> /// <param name="cxInfo">The cx info.</param> /// <param name="isNewConnection">if set to <c>true</c> [is new connection].</param> public ConnectionDialog(IConnectionInfo cxInfo, bool isNewConnection) { _cxInfo = cxInfo; _isNewConnection = isNewConnection; InitializeComponent(); CxInfoHelper.CreateDriverDataElements(_cxInfo); }