Click here to Skip to main content
15,921,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problems with ToolStrip control - ToolStripButtons flickering Pin
Gopal.S22-Apr-08 0:30
Gopal.S22-Apr-08 0:30 
GeneralRe: Problems with ToolStrip control - ToolStripButtons flickering Pin
Yoav Ben Zvi22-Apr-08 19:30
Yoav Ben Zvi22-Apr-08 19:30 
GeneralReg Invoking Method of dll in Vb6 using C# Pin
Member 400849221-Apr-08 19:13
Member 400849221-Apr-08 19:13 
GeneralRe: Reg Invoking Method of dll in Vb6 using C# Pin
Christian Graus21-Apr-08 19:21
protectorChristian Graus21-Apr-08 19:21 
GeneralAJAX Dropdownlist Pin
Dev Motiramani21-Apr-08 18:57
Dev Motiramani21-Apr-08 18:57 
GeneralRe: AJAX Dropdownlist Pin
Christian Graus21-Apr-08 19:20
protectorChristian Graus21-Apr-08 19:20 
GeneralPerformance issue on Image load Pin
NarVish21-Apr-08 18:35
NarVish21-Apr-08 18:35 
GeneralRe: Performance issue on Image load Pin
Christian Graus21-Apr-08 19:23
protectorChristian Graus21-Apr-08 19:23 
GeneralRe: Performance issue on Image load Pin
NarVish21-Apr-08 20:24
NarVish21-Apr-08 20:24 
GeneralRe: Performance issue on Image load Pin
Thomas Stockwell22-Apr-08 4:33
professionalThomas Stockwell22-Apr-08 4:33 
QuestionPNG transparency over Transparent forms? Pin
lovnin21-Apr-08 17:41
lovnin21-Apr-08 17:41 
GeneralRe: PNG transparency over Transparent forms? Pin
Reelix21-Apr-08 20:36
Reelix21-Apr-08 20:36 
Generalc# service accounts Pin
shwaguy21-Apr-08 17:10
shwaguy21-Apr-08 17:10 
GeneralRe: c# service accounts Pin
shwaguy28-Apr-08 4:46
shwaguy28-Apr-08 4:46 
GeneralGDI+ DrawImage( Image i, Point[] p) NotImplementedException Pin
Riot_starter21-Apr-08 16:24
Riot_starter21-Apr-08 16:24 
GeneralRe: GDI+ DrawImage( Image i, Point[] p) NotImplementedException Pin
Christian Graus21-Apr-08 17:29
protectorChristian Graus21-Apr-08 17:29 
GeneralRe: GDI+ DrawImage( Image i, Point[] p) NotImplementedException Pin
Riot_starter22-Apr-08 3:49
Riot_starter22-Apr-08 3:49 
GeneralHandling a paste into a textbox. Pin
msx2321-Apr-08 13:26
msx2321-Apr-08 13:26 
AnswerRe: Handling a paste into a textbox. Pin
Christian Wikander21-Apr-08 20:37
Christian Wikander21-Apr-08 20:37 
GeneralConditional comparaison Pin
baranils21-Apr-08 12:03
baranils21-Apr-08 12:03 
GeneralRe: Conditional comparaison Pin
Luc Pattyn21-Apr-08 12:08
sitebuilderLuc Pattyn21-Apr-08 12:08 
GeneralRe: Conditional comparaison Pin
baranils21-Apr-08 12:16
baranils21-Apr-08 12:16 
NewsRe: Conditional comparaison Pin
Spacix One21-Apr-08 12:29
Spacix One21-Apr-08 12:29 
GeneralRe: Conditional comparaison Pin
baranils21-Apr-08 12:53
baranils21-Apr-08 12:53 
GeneralRe: Conditional comparaison Pin
Spacix One21-Apr-08 13:41
Spacix One21-Apr-08 13:41 
There isn't anything to distinguish them. Your combo box most likely has a string value of what the user picked such as "==", "<", "<=", ect..

This means that all 6 delegates would have the signature of: <return value=""> <method name="">(string str);

If you need to loop though a method then a recursive function (one that calls itself) with a input parameter would solve the situations based off the value.

This is about the same as looping within a switch statement, just not as much similar code.


To put it bluntly, you are trying to minimize code that is almost at its minimum state Smile | :)
The above is going by your statements about said code, less examples of what you're doing this is about as far as we can go.


-Spacix
All your skynet questions[^] belong to solved

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.