예제 #1
0
 public void Draw(Point location, NoteShape shape)
 {
     Picture           = new PictureBox();
     Picture.Image     = _noteShapes[(int)shape];
     Picture.Location  = location;
     Picture.BackColor = Color.Transparent;
     Picture.SizeMode  = PictureBoxSizeMode.AutoSize;
 }
예제 #2
0
 public Note(string pitch, NoteAccidental accidental, Point location, NoteShape shape)
     : this(pitch, accidental)
 {
     Draw(location, shape);
 }