Пример #1
0
        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);
        }
Пример #2
0
 static public NotesImages Instance()
 {
     lock (_lock_this)
     {
         if (instance == null)
         {
             instance = new NotesImages();
         }
     }
     return(instance);
 }