private void testToolStripMenuItem_Click(object sender, EventArgs e) { SetActiveContainer(null); var schLib = new SchLib { new SchComponent { new SchRectangle { Corner = CoordPoint.FromMils(500, 1100) }, new SchPin { Location = CoordPoint.FromMils(500, 100) }, new SchPin { Location = CoordPoint.FromMils(500, 250) }, new SchPin { Location = CoordPoint.FromMils(500, 400) }, new SchPin { Location = CoordPoint.FromMils(500, 550) }, new SchPin { Location = CoordPoint.FromMils(500, 700) }, new SchPin { Location = CoordPoint.FromMils(500, 850) }, new SchPin { Location = CoordPoint.FromMils(500, 1000) }, new SchPin { Designator = "P8", Location = CoordPoint.FromMils(0, 1000), Orientation = TextOrientations.Flipped }, new SchPin { Location = CoordPoint.FromMils(0, 850), Orientation = TextOrientations.Flipped }, new SchPin { Location = CoordPoint.FromMils(0, 700), Orientation = TextOrientations.Flipped }, new SchPin { Location = CoordPoint.FromMils(0, 550), Orientation = TextOrientations.Flipped }, new SchPin { Location = CoordPoint.FromMils(0, 400), Orientation = TextOrientations.Flipped }, new SchPin { Location = CoordPoint.FromMils(0, 250), Orientation = TextOrientations.Flipped }, new SchPin { Location = CoordPoint.FromMils(0, 100), Orientation = TextOrientations.Flipped } } }; SetData(schLib); }
public SchLibRenderer(SchDocumentHeader header, SchLib assets) { _header = header ?? new SchSheetHeader(); _assets = assets; }