Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
QuestionTone generation on the fly Pin
Klazen12-Jun-08 13:00
Klazen12-Jun-08 13:00 
AnswerRe: Tone generation on the fly Pin
PIEBALDconsult12-Jun-08 13:11
mvePIEBALDconsult12-Jun-08 13:11 
GeneralRe: Tone generation on the fly Pin
Klazen12-Jun-08 13:13
Klazen12-Jun-08 13:13 
GeneralRe: Tone generation on the fly Pin
PIEBALDconsult12-Jun-08 13:36
mvePIEBALDconsult12-Jun-08 13:36 
AnswerRe: Tone generation on the fly Pin
Anthony Mushrow12-Jun-08 13:56
professionalAnthony Mushrow12-Jun-08 13:56 
GeneralRe: Tone generation on the fly Pin
Klazen12-Jun-08 14:00
Klazen12-Jun-08 14:00 
GeneralRe: Tone generation on the fly Pin
PIEBALDconsult12-Jun-08 17:06
mvePIEBALDconsult12-Jun-08 17:06 
QuestionC# and the Icon Class Pin
Lea Hayes12-Jun-08 12:09
Lea Hayes12-Jun-08 12:09 
Hi,

I am currently developing a toolstrip extension which will provide a feature to switch between several different icon sizes. I cannot assume that a provided Icon object will contain the required size, and so in such circumstances the next available size down must be enlarged at runtime. My only issue is in determining whether or not the Icon object contains the requested size.

The following pseudo-code demonstrates what I am trying to achieve:

public bool IconContainsSize(Icon icon, Size size)
{
   foreach (subicon in icon)
       if (subicon.Size == size)
           return true;
   return false;
}
Once I have finished my extension I plan to upload an article here at CodeProject so that others can benefit from having a toolstrip which provides a facility to switch between the multiple button sizes provided within the programmer specified icon resources.

This is literally the only part of my solution that I am struggling with! I am sure that there must be a .NET approach to this. Unsure | :~

Thanks,
Lea Hayes
QuestionHow to Exract embedded files from RTF file? Pin
Anshuls12-Jun-08 10:50
Anshuls12-Jun-08 10:50 
AnswerRe: How to Exract embedded files from RTF file? Pin
Simon P Stevens12-Jun-08 23:10
Simon P Stevens12-Jun-08 23:10 
QuestionIdentity Column Problem(in TableAdapter.Update()) Pin
hdv21212-Jun-08 10:30
hdv21212-Jun-08 10:30 
QuestionConnecting C#.net with AS400 database Pin
Verghese12-Jun-08 8:44
Verghese12-Jun-08 8:44 
AnswerRe: Connecting C#.net with AS400 database Pin
Christian Graus12-Jun-08 8:46
protectorChristian Graus12-Jun-08 8:46 
GeneralRe: Connecting C#.net with AS400 database Pin
Verghese12-Jun-08 10:38
Verghese12-Jun-08 10:38 
QuestionPreview Panel Pin
tjschilling12-Jun-08 7:50
tjschilling12-Jun-08 7:50 
AnswerRe: Preview Panel Pin
Christian Graus12-Jun-08 8:08
protectorChristian Graus12-Jun-08 8:08 
GeneralRe: Preview Panel Pin
tjschilling12-Jun-08 8:19
tjschilling12-Jun-08 8:19 
GeneralRe: Preview Panel Pin
Christian Graus12-Jun-08 8:36
protectorChristian Graus12-Jun-08 8:36 
Question[C# 2.0]Rename file on FTP Pin
mcaos12-Jun-08 7:35
professionalmcaos12-Jun-08 7:35 
AnswerRe: [C# 2.0]Rename file on FTP Pin
Anthony Mushrow12-Jun-08 7:38
professionalAnthony Mushrow12-Jun-08 7:38 
AnswerRe: [C# 2.0]Rename file on FTP Pin
Giorgi Dalakishvili12-Jun-08 8:11
mentorGiorgi Dalakishvili12-Jun-08 8:11 
GeneralRe: [C# 2.0]Rename file on FTP Pin
mcaos12-Jun-08 10:50
professionalmcaos12-Jun-08 10:50 
QuestionEnter Valued in Combobox from database Pin
sam1287412-Jun-08 7:34
sam1287412-Jun-08 7:34 
AnswerRe: Enter Valued in Combobox from database Pin
Christian Graus12-Jun-08 7:40
protectorChristian Graus12-Jun-08 7:40 
GeneralRe: Enter Valued in Combobox from database Pin
sam1287412-Jun-08 8:18
sam1287412-Jun-08 8:18 

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.