Click here to Skip to main content
15,894,540 members
Home / Discussions / C#
   

C#

 
GeneralRe: Message Qeueing Advice Pin
Richard Andrew x647-Oct-09 18:08
professionalRichard Andrew x647-Oct-09 18:08 
QuestionRetrieve form variable name Pin
genisyssoftware7-Oct-09 11:44
genisyssoftware7-Oct-09 11:44 
AnswerRe: Retrieve form variable name Pin
Luc Pattyn7-Oct-09 11:49
sitebuilderLuc Pattyn7-Oct-09 11:49 
GeneralRe: Retrieve form variable name Pin
genisyssoftware7-Oct-09 12:00
genisyssoftware7-Oct-09 12:00 
GeneralRe: Retrieve form variable name Pin
Luc Pattyn7-Oct-09 12:31
sitebuilderLuc Pattyn7-Oct-09 12:31 
GeneralRe: Retrieve form variable name Pin
genisyssoftware8-Oct-09 3:47
genisyssoftware8-Oct-09 3:47 
GeneralRe: Retrieve form variable name Pin
Luc Pattyn8-Oct-09 4:42
sitebuilderLuc Pattyn8-Oct-09 4:42 
GeneralRe: Retrieve form variable name Pin
genisyssoftware9-Oct-09 3:59
genisyssoftware9-Oct-09 3:59 
Lots of helpful notes in your last reply Luc, so thank you. The tag value is giving me what I want. So I'm now setting the tag value to the name that I instantiated the form with, so I can retrieve this form "name" on the C# side. What I need to do in C# is send back to the server formatted commands that resemble what this gui "bridge" does. If I define a form name as F_938, I need to send back "3Click,F_938.SelectButton", for example, to the server. I started out a couple of years ago just creating forms in visual studio, and using this bridge (www.truegui.com) to give our character-based application a gui front-end. While this bridge allowed us to have a more appealing look to our application, there's a lot of I/O between the client and the server. I'm now adding more and more business logic on the C# side (the client side), which means less I/O communication needed between the client and the server (where our old legacy application is running). This is yielding an increase performance in our application, as we continue to migrate from a character-based application to a gui one. If you double-click a line in a listview, for example, the client sends "3DoubleClick,F_828.ListName" to the server, where I then have to ask for the index with "F_828.ListName.LastSelectedIndex?", and will get back the index value, and then I need to retrieve contents of that index with "F_828.ListName.Items[(index value)].Text?", and will get back "2Bob Johnson" for example." So in this simple example, there are 5 I/O elements. I can cut this down to 1 now by having the logic to retrieve the selected contents within the form. My initial question here was a result of me needing to know what "F_828" would be in some cases, so it can be used on the C# side, when the form was instantiated on the server side, through the bridge. I'm sure in this process, this forum will hear from me again Smile | :) Thanks again Luc.
GeneralRe: Retrieve form variable name Pin
Luc Pattyn9-Oct-09 4:22
sitebuilderLuc Pattyn9-Oct-09 4:22 
GeneralRe: Retrieve form variable name Pin
genisyssoftware19-Oct-09 9:59
genisyssoftware19-Oct-09 9:59 
GeneralRe: Retrieve form variable name Pin
Luc Pattyn19-Oct-09 10:08
sitebuilderLuc Pattyn19-Oct-09 10:08 
GeneralRe: Retrieve form variable name Pin
genisyssoftware19-Oct-09 12:19
genisyssoftware19-Oct-09 12:19 
GeneralRe: Retrieve form variable name Pin
Luc Pattyn19-Oct-09 12:33
sitebuilderLuc Pattyn19-Oct-09 12:33 
QuestionChecking Connection C# Pin
eawedat7-Oct-09 11:22
eawedat7-Oct-09 11:22 
AnswerRe: Checking Connection C# Pin
Luc Pattyn7-Oct-09 11:54
sitebuilderLuc Pattyn7-Oct-09 11:54 
QuestionSAConnection String Pin
MWRivera7-Oct-09 10:54
MWRivera7-Oct-09 10:54 
AnswerRe: SAConnection String Pin
Henry Minute7-Oct-09 11:02
Henry Minute7-Oct-09 11:02 
GeneralRe: SAConnection String Pin
MWRivera8-Oct-09 3:39
MWRivera8-Oct-09 3:39 
GeneralRe: SAConnection String Pin
Henry Minute8-Oct-09 3:47
Henry Minute8-Oct-09 3:47 
GeneralRe: SAConnection String Pin
MWRivera8-Oct-09 5:02
MWRivera8-Oct-09 5:02 
GeneralRe: SAConnection String Pin
Henry Minute8-Oct-09 5:28
Henry Minute8-Oct-09 5:28 
Questionautocad c# and robot Pin
kalidG7-Oct-09 9:32
kalidG7-Oct-09 9:32 
AnswerRe: autocad c# and robot Pin
Christian Graus7-Oct-09 9:59
protectorChristian Graus7-Oct-09 9:59 
QuestionProblem with using "out" in void methods Pin
AndyASPVB7-Oct-09 8:58
AndyASPVB7-Oct-09 8:58 
AnswerRe: Problem with using "out" in void methods Pin
Luc Pattyn7-Oct-09 9:08
sitebuilderLuc Pattyn7-Oct-09 9:08 

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.