public PartProperties(PartTreeNode node, GuiCommandExecutor ex, NodeClick click) : base(click, ex) { part = node.getPart(); Name = part.SongInfo.SongName; Artist = part.SongInfo.ArtistName; Album = part.SongInfo.AlbumName; }
public InstrumentProperties(PartTreeNode n, GuiCommandExecutor ex, NodeClick cl) : base(cl, ex) { part = n.getPart(); Instrument = part.InstrumentInfo.Type.getStringFromInstrumentType(); Instruments = InstrumentTypeExtensions.getAllInstrumentTypeStrings(); Strings = part.InstrumentInfo.Strings.ToString(); }