void properties_Enter(object sender, EventArgs e) { _lookup = (LookUpGridEditEx)sender; var editButton = _lookup.Properties.Buttons[EditButtonIndex]; editButton.Enabled = _lookup.EditValue != null; InitializeDataSource(); }
void properties_Enter(object sender, EventArgs e) { _lookup = (LookUpGridEditEx)sender; var editButton = _lookup.Properties.Buttons[1]; UpdateButtonState(editButton, _lookup.Properties.Buttons[2]); InitializeDataSource(); }
protected override object CreateControlCore() { _lookup = new LookUpGridEditEx(); _lookup.QueryPopUp += Editor_QueryPopUp; _lookup.Closed += (sender, args) => UpdateButtons(); _lookup.EditValueChanged += (sender, args) => { if (!_lookup.IsPopupOpen) { UpdateButtons(); } }; return(_lookup); }
void properties_Enter(object sender, EventArgs e) { _lookup = (LookUpGridEditEx)sender; InitializeDataSource(); }
protected override object CreateControlCore() { _lookup = new LookUpGridEditEx(); _lookup.QueryPopUp += Editor_QueryPopUp; return _lookup; }
protected override object CreateControlCore() { _lookup = new LookUpGridEditEx(); _lookup.QueryPopUp += Editor_QueryPopUp; return(_lookup); }
protected override object CreateControlCore() { _lookup = new LookUpGridEditEx(); return _lookup; }