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

C#

 
GeneralRe: Message Qeueing Advice Pin
Richard Andrew x647-Oct-09 16:23
professionalRichard Andrew x647-Oct-09 16:23 
GeneralRe: Message Qeueing Advice Pin
Luc Pattyn7-Oct-09 17:25
sitebuilderLuc Pattyn7-Oct-09 17:25 
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 
I instantiate the form in a proprietary language, using a "bridge" to the .net world. So this is not a 'normal' way of doing things. I will: "F_1098 = New ERUtil.assetinq();" to create the form in our application software (which is NOT C#), and this bridge makes it happen. "assetinq" is a 'normal' form created in Visual Studio, and so when I'm adding C# code to events associated with controls on this form, I'm finding the need to know what the form name is I've given it (F_1098 in this example), keeping in mind that the form was not instantiated in the C# code, so I don't know in the C# code what the form name is. So in the example below, of code supporting the keydown event of a control "list" on this form:

private void list_KeyDown(object source, KeyEventArgs e)
{
MessageBox.Show(this.ToString());
}

Shows me: "ERUtil.assetinq, Text: Asset Inquiry". Forgive my inability to comprehend your response Luc, as I'm getting my feet wet with C#, and am still far more used to procedural coding than object-oriented code, and C# as a whole. In my example, is there anyway I get "F_1098" into a string in this method, and if so, what specific commands would give me this? (I will assume this is not possible, and thank you for your responses anyway).
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 
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 

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.