protected virtual void OnSelectedEntity(SelectEntityEventArgs e) { if (SelectedEntity != null) { SelectedEntity(this, e); } }
/// <summary> /// При выборе сущности в дереве сущностей. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void CompEntityTreeFBA1_SelectedEntity(object sender, SelectEntityEventArgs e) { ShowData(); }
private void EntityTree_SelectedEntity(object sender, SelectEntityEventArgs e) { this.DialogResult = System.Windows.Forms.DialogResult.OK; Close(); }