protected override void UltraTextEditor_EditorPickButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e) { string pickName = ""; try { if ((sender as UltraTextEditor).ReadOnly == true) { return; } if (e.Button.Key != null && e.Button.Key.ToLower() == "pick") { if (e.Button.Tag != null) { pickName = e.Button.Tag.ToString(); if (WfPickClickOnEditMode(sender, pickName, DrMaster) == true) { DrMaster.EndEdit(); } } } } catch (Exception ex) { WfShowErrorMsg(ex.ToString()); } }
protected override void UltraTextEditor_EditorPickButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e) { string pickName = ""; try { if (e.Button.Key != null && e.Button.Key.ToLower() == "pick") { pickName = e.Button.Tag.ToString(); WfPickClickOnEditMode(sender, pickName); } } catch (Exception ex) { WfShowErrorMsg(ex.ToString()); } }
private void IsagConnectionManager_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e) { IDtsConnectionService connectionService = (IDtsConnectionService)ServiceProvider.GetService(typeof(IDtsConnectionService)); ArrayList newConnections = connectionService.CreateConnection("ADO.NET"); foreach (ConnectionManager connMgr in newConnections) { if (connMgr.CreationName.StartsWith("ADO.NET")) { _connectionManagerList.Add(connMgr); this.DataBind(); this.Text = connMgr.Name; } } }