public static dynamic GetTSObject(PartAttributes dynObject)
 {
     if (dynObject is null)
     {
         return(null);
     }
     return(dynObject.teklaObject);
 }
示例#2
0
        public void LoadPartsPtr(ref PartsObject PartsObj, bool isCurrentEditing = true)
        {
            PartsBinder.ReAlloc(PartsObj);

            PartAttributes pa = new PartAttributes(PartsBinder.IntPtr, ProjectBinder.IntPtr);

            pa.setIsCurrent(isCurrentEditing);

            pa.setSingerDataFinder(SingerDataFinder);

            this.PropertyViewer.Tag = pa;

            this.PropertyViewer.SelectedObject = this.PropertyViewer.Tag;
        }