Home Forums WinForms controls Xceed Grid for WinForms Using Data Grids To Fire Events ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #15193 |

    Dear XcEED:

    You’ll either completely love or hate this one!

    The kind of event I wish to have fired is to have the mouse draw musical notes in specific areas on the grid:

    A. The grid is rectangular

    B. The grid is transparent

    C. The transparent grid is superimposed over a bitmap with the same dimensions as the transparent grid; the bitmap that is underneath the transparent grid (canvas?), is a graphical representation of 1 (one) bar of music staff paper.

    D. Inside the transparent grid, is “another grid” that is subdivided horizontally and vertically:

    1. Horizontal – 64 grid squares wide, representing the maximum possibilities of drawing a musical font based on 64th notes; 64th notes are rarely used in music, but for experimental purposes, I would like to use this as an example.

    2. Vertical- 23 grid squares tall, representing the specific lines and spaces within the transparent grid where the notes will be drawn over the music staff bitmap, from lowest “E” on the treble cleff to the highest “E” note that can be drawn on the treble cleff.

    I understand that this may be too specialized to get general help in understanding how to program using the XcEED .NET grids; at your convenience, please e-mail me and I will send you the resources to look at (music font and button control design to create button state to draw specific musical note durations) in an effort to help me with the conceptual issues I am facing in learning this software technology. Any and all help is most appreciated. Thanks again.

    Best Regards,

    New Programmer using C#

    Imported from legacy forums. Posted by Brian (had 1789 views)

    User (Old forums)
    Post count: 23064

    Hello again XcEED —

    *** Important note for this possible example ***

    In this unusual ( in my opinion) example, I should correct myself in expressing that the horizontal factor of the grid should be changed to “70 grid spaces wide” in the transparent grid that is superimposed over the music staff canvas bitmap, because I did not leave room for the fact that in traditional graphical representation of western based diatonic music theory, there are graphic ornamentations that serve to properly organize sets of musical representations on paper, for a better organized standard of musical readability.

    In a rare example of graphically representing 64th notes, continuously throughout 1 (one) bar of music in 4/4 beats per measure, having only 64 grid squares would look, for lack of a better word, goofy.

    By implementing “70 grid squares”, horizontally, there leaves room for graphical representation of using “musical ties” that would enable better readability of the graphically represented use of continuous 64th notes in one bar of, graphically represented music durations; one set of four 64th notes + graphical music tie + one set of four 64th notes = 1 beat of music in a 4/4 (four beats per measure) scenario; “16” 64th note durations X’s 4 = 64 + 6 grid spaces to draw musical ties = 70 grid spaces wide (horizontally) – to fully compensate for a more readable representation, based upon accepted standardization, of continuous use of 64th note durations throughout ONE 4/4 beat per measure scenario.


    New C# programming student

    Imported from legacy forums. Posted by Brian (had 2939 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.