public Image GetNoteImage(string noteatt, double unitlength) { double notelength = Statics.GetNoteLength(noteatt, unitlength); Image im = null; NotesImages.Instance().images.TryGetValue(notelength, out im); return(im); }
static public NotesImages Instance() { lock (_lock_this) { if (instance == null) { instance = new NotesImages(); } } return(instance); }