void FillObject(ProjectObject source) { if (source == null) { return; } ProjectObject dest = ProjectObject; FillObject(ref dest, source); try { PartsObject po = dest.TrackerList[0].PartList[0]; for (int i = 0; i < dest.TrackerList.Count; i++) { for (int j = 0; j < dest.TrackerList[i].PartList.Count; j++) { if (dest.TrackerList[i].PartList[j].getGuid() == SelectingGUID) { po = dest.TrackerList[i].PartList[j]; break; i = dest.TrackerList.Count; } } } sw.LoadParts(ref po, true); tw.GuiRefresh(); aw.Refresh(); } catch {; } }
void tw_AfterTrackNormalize() { tw.GuiRefresh(); sw.GuiRefresh(); }