Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
QuestionWant to display a hidden form Pin
devesh_code29-May-07 22:25
devesh_code29-May-07 22:25 
AnswerHello???? This can not be true! Pin
Martin#29-May-07 22:41
Martin#29-May-07 22:41 
AnswerRe: Want to display a hidden form Pin
Christian Graus29-May-07 22:59
protectorChristian Graus29-May-07 22:59 
GeneralRe: Want to display a hidden form Pin
devesh_code29-May-07 23:04
devesh_code29-May-07 23:04 
QuestionThis is a very strange behavioue from ComboBox. Pin
Khoramdin29-May-07 21:14
Khoramdin29-May-07 21:14 
AnswerRe: This is a very strange behavioue from ComboBox. Pin
Christian Graus29-May-07 21:23
protectorChristian Graus29-May-07 21:23 
AnswerRe: This is a very strange behavioue from ComboBox. Pin
Martin#29-May-07 21:45
Martin#29-May-07 21:45 
QuestionInline context menu Pin
jozsurf29-May-07 21:06
jozsurf29-May-07 21:06 
Hi All,

I have been using C# for a couple of months now and am reasonably comfortable with it. Now, I have come across the need for an (for lack of a better name for it...) inline context menu. Perhaps some code would help describe my problem:

<br />
objects = DoSomeStuff();<br />
response = contextMenu1.Show(); // clearly not possible as Show does not return anything but to     illustrate my point<br />
DoSomeOtherStuff(response, objects);<br />


Basically, I need to get some input from a user via a standard context menu and then go back and resume execution of the routine which instantiated the said context menu. I could implement this using the standard event-based model, but the problem would be that I would lose local routine-level data (objects in the example above) unless I save 'em in private data members (which I want to avoid doing especially when it is used only in one place).

Anyone have any ideas?

Thanks!
QuestionCustomize Color Dialog Pin
nizwiz.198529-May-07 20:46
nizwiz.198529-May-07 20:46 
AnswerRe: Customize Color Dialog Pin
Giorgi Dalakishvili29-May-07 21:07
mentorGiorgi Dalakishvili29-May-07 21:07 
GeneralRe: Customize Color Dialog Pin
niting8529-May-07 21:26
niting8529-May-07 21:26 
AnswerRe: Customize Color Dialog Pin
Christian Graus29-May-07 21:19
protectorChristian Graus29-May-07 21:19 
QuestionI/O error in c#? Pin
Mir_As29-May-07 20:44
Mir_As29-May-07 20:44 
AnswerRe: I/O error in c#? Pin
Christian Graus29-May-07 21:20
protectorChristian Graus29-May-07 21:20 
AnswerRe: I/O error in c#? Pin
Mir_As30-May-07 22:07
Mir_As30-May-07 22:07 
Questionhow to develope like JADE in .net Pin
Joe Rozario29-May-07 19:55
Joe Rozario29-May-07 19:55 
AnswerRe: how to develope like JADE in .net Pin
Guffa29-May-07 21:06
Guffa29-May-07 21:06 
GeneralRe: how to develope like JADE in .net Pin
Joe Rozario30-May-07 2:50
Joe Rozario30-May-07 2:50 
AnswerRe: how to develope like JADE in .net Pin
J4amieC29-May-07 22:18
J4amieC29-May-07 22:18 
GeneralRe: how to develope like JADE in .net Pin
Joe Rozario30-May-07 2:55
Joe Rozario30-May-07 2:55 
QuestionHow to truncate the Decimal/integer value Pin
jeya krishnan.v29-May-07 19:52
jeya krishnan.v29-May-07 19:52 
AnswerRe: How to truncate the Decimal/integer value Pin
blackjack215029-May-07 22:04
blackjack215029-May-07 22:04 
Questioncommunicate with SNMP devices Pin
manoj75329-May-07 19:46
manoj75329-May-07 19:46 
AnswerRe: communicate with SNMP devices Pin
Wlink1-Jun-07 1:09
Wlink1-Jun-07 1:09 
QuestionHow to activate a form through another form Pin
devesh_code29-May-07 19:39
devesh_code29-May-07 19:39 

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.