public ContactView() { this.Visible = false; InitializeComponent(); repositoryItemComboBoxAuto = new RepositoryItemBVPopupContainerEdit(); //repositoryItemComboBoxAuto.Validating += new CancelEventHandler(repositoryItemComboBoxAuto_Validating); this.Visible = true; //gvContact.FocusedRowHandle = 1; instance = this; m_EventBus.GetEvent<DialogEditorEvents.OnContactDropdownChange>().Subscribe(SelectedDialogContactSetFocused); }
public ContactInformation(SelectionProperty.CallingEnvironment pCallingEnvironment) { m_CallingEnvironment = pCallingEnvironment; InitializeComponent(); repositoryItemComboBoxAuto = new RepositoryItemBVPopupContainerEdit() { BorderStyle = BorderStyles.NoBorder }; repositoryItemComboBoxAuto.Appearance.BorderColor = Color.Transparent; repositoryItemComboBoxAuto.Validating += new CancelEventHandler(repositoryItemComboBoxAuto_Validating); vgridContact.RepositoryItems.Add(repositoryItemComboBoxAuto); editorRowTitle.Properties.RowEdit = repositoryItemComboBoxAuto; btnCancel.Enabled = false; //m_EventBus.GetEvent<CampaignListChangedViewEventNotifier>().Subscribe(CampaignListChangedView); }
public ManageCompanyContact() { this.Visible = false; InitializeComponent(); #region Add Title Dropdown RepositoryItemBVPopupContainerEdit repositoryItemComboBoxAuto = new RepositoryItemBVPopupContainerEdit(); repositoryItemComboBoxAuto.BorderStyle = BorderStyles.NoBorder; repositoryItemComboBoxAuto.Appearance.BorderColor = Color.Transparent; repositoryItemComboBoxAuto.Validating += new CancelEventHandler(repositoryItemComboBoxAuto_Validating); gcContact.RepositoryItems.Add(repositoryItemComboBoxAuto); gvContact.Columns["title"].ColumnEdit = repositoryItemComboBoxAuto; #endregion this.lcManageCompanyContact.AllowCustomizationMenu = false; this.PopulateCompanyView(null, 1); this.SetCompanyViewContextMenu(); this.SetContactViewContextMenu(); this.Visible = true; }