コード例 #1
0
 public ChemEntity GetNearestTo(ChemEntity entity)
 {
     throw new Exception("The method or operation is not implemented.");
 }
コード例 #2
0
 public ChemEntity[] QueryConnectedEntities(ChemEntity entity)
 {
     throw new Exception("The method or operation is not implemented.");
 }
コード例 #3
0
 public ChemEntity[] GetAllNearby(ChemEntity entity, float radius)
 {
     throw new Exception("The method or operation is not implemented.");
 }
コード例 #4
0
 void control_OnEntitySelected(ChemEntity entity)
 {
     object obj = null;
     if (entity.CdkObject is IAtom)
     {
         AtomWrapper atom = new AtomWrapper((IAtom)entity.CdkObject);
         obj = atom;
         ListViewItem[] connectedItems = atom.GetConnectedItemsForListView(currentSelected.ChemControl, uiConnectedList.Groups[0], uiConnectedList.Groups[1]);
         uiConnectedList.Items.Clear();
         if (connectedItems != null)
             uiConnectedList.Items.AddRange(connectedItems);
     }
     propertyGrid1.SelectedObject = obj;
 }