Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
QuestionHow to call a method which resides in a class file into my asp.net application Pin
Arun Hegde3-Jul-06 5:00
Arun Hegde3-Jul-06 5:00 
QuestionConverting MP3 to WAV Pin
Hengy3-Jul-06 4:45
Hengy3-Jul-06 4:45 
AnswerRe: Converting MP3 to WAV Pin
Judah Gabriel Himango3-Jul-06 5:30
sponsorJudah Gabriel Himango3-Jul-06 5:30 
QuestionEncription Pin
Nafiseh Salmani3-Jul-06 4:25
Nafiseh Salmani3-Jul-06 4:25 
AnswerRe: Encription Pin
Dave Kreskowiak3-Jul-06 5:22
mveDave Kreskowiak3-Jul-06 5:22 
QuestionRe: Encription Pin
Nafiseh Salmani3-Jul-06 20:01
Nafiseh Salmani3-Jul-06 20:01 
Questiondesigning 'piano roll' control [modified] Pin
davidgale3-Jul-06 4:21
davidgale3-Jul-06 4:21 
AnswerRe: designing 'piano roll' control Pin
Josh Smith3-Jul-06 4:43
Josh Smith3-Jul-06 4:43 
Drawing a grid should be pretty simple. If you haven't written drawing code in .NET before, search for articles on GDI+ and that should get you started. If I were you, I'd create a class which represents a "strip" on the piano roll. That class would contain the note(s) to be played during that time slice. Once you have that created, put the rendering logic for a "strip" within that class (or a class that is responsible for rendering a strip). Then create another class which manages the strips and tells them to render next to each other. That way, you are not drawing a master grid and then overlaying the notes onto it, but, rather, creating a grid that is a composite of individual smart pieces.

Just my 2 cents.

:josh:
My WPF Blog[^]
QuestionChanging Fontsizes in Controls Pin
MCSD-Gandalf3-Jul-06 2:33
MCSD-Gandalf3-Jul-06 2:33 
AnswerRe: Changing Fontsizes in Controls Pin
stancrm3-Jul-06 3:28
stancrm3-Jul-06 3:28 
GeneralRe: Changing Fontsizes in Controls Pin
MCSD-Gandalf5-Jul-06 0:52
MCSD-Gandalf5-Jul-06 0:52 
QuestionUsing drag and drop in c# Pin
Phanindra Kumar3-Jul-06 2:00
Phanindra Kumar3-Jul-06 2:00 
AnswerRe: Using drag and drop in c# [modified] Pin
jjansen3-Jul-06 2:06
jjansen3-Jul-06 2:06 
GeneralRe: Using drag and drop in c# Pin
Phanindra Kumar3-Jul-06 19:16
Phanindra Kumar3-Jul-06 19:16 
GeneralRe: Using drag and drop in c# Pin
jjansen3-Jul-06 19:53
jjansen3-Jul-06 19:53 
GeneralRe: Using drag and drop in c# Pin
Phanindra Kumar3-Jul-06 20:33
Phanindra Kumar3-Jul-06 20:33 
GeneralRe: Using drag and drop in c# Pin
jjansen3-Jul-06 21:04
jjansen3-Jul-06 21:04 
GeneralRe: Using drag and drop in c# Pin
Phanindra Kumar3-Jul-06 22:12
Phanindra Kumar3-Jul-06 22:12 
AnswerRe: Using drag and drop in c# Pin
jjansen3-Jul-06 22:39
jjansen3-Jul-06 22:39 
GeneralRe: Using drag and drop in c# Pin
Phanindra Kumar3-Jul-06 23:02
Phanindra Kumar3-Jul-06 23:02 
GeneralRe: Using drag and drop in c# Pin
jjansen4-Jul-06 1:17
jjansen4-Jul-06 1:17 
GeneralRe: Using drag and drop in c# Pin
Phanindra Kumar4-Jul-06 1:35
Phanindra Kumar4-Jul-06 1:35 
QuestionConverting Datagrid to Excel sheet in C# Pin
aaraaayen3-Jul-06 1:44
aaraaayen3-Jul-06 1:44 
AnswerRe: Converting Datagrid to Excel sheet in C# Pin
MCSD-Gandalf3-Jul-06 2:41
MCSD-Gandalf3-Jul-06 2:41 
QuestionGridview to Excel Sheet Pin
aaraaayen3-Jul-06 1:03
aaraaayen3-Jul-06 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.