Gustavo

Gustavo

  • NA
  • 1.3k
  • 454.4k

How do I: Get the name of the rotuine I am in.

Mar 24 2010 4:27 AM

Hello:
 
I have the following code, uit does tell me the program that I am in. Is there a way to find out what is the routine that I am in? In the sample below, I would like to have it return: 'Enter'.
 
public void Enter(string FromProgram_ID)
{
Program_ID =
this.ToString();
MessageBox.Show("IN: " + Program_ID + " Called From: " + FromProgram_ID);
}

Answers (2)