Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. xcduan

    How to display a control outside of a form?

    Thanks! It works well:)
  2. xcduan

    What happens when loading the same assembly multiple times

    Thanks a lot! it is very helpful!
  3. xcduan

    How to display a control outside of a form?

    I would like to display a picturebox to user, but don't like to use the common form due to its title bar and border. Is there any way I can display a control to user without using a form? Or can I set some properties of the form to hide its title bar and border? How? Thanks a lot! Neo
  4. xcduan

    What happens when loading the same assembly multiple times

    I have a question for you guys. I would like to load a bunch of controls dynamically from assemblies. Some controls may be defined in the same assembly. What happen if I load the same assembly more than one time? If Windows just maintain at most one instance of any assembly in memory, how is the...
  5. xcduan

    Does C# support CallByName?

    Thanks for your advice. It's done. Sorry I posted it twice by mistake:)
  6. xcduan

    How C# support CallByName?

    VB supports CallByName. Does C# support that? How? The answer to the first question is YES. Suppose we have a class called ClassA that contains three methods: Function1(), Function2() and Caller(). We want Caller() to call either Function1() or Function2() at running time. By using...
  7. xcduan

    Does C# support CallByName?

    Bingo! Thanks, man. I would like to attach my code here to share with other C# dudes. //Assume we have a function Test() to call by name. string FunctionName="Test"; Type t=this.GetType(); MethodInfo mi=t.GetMethod(FunctionName); if (mi!=null) mi.Invoke(this, null)...
  8. xcduan

    Does C# support CallByName?

    Thanks a lot:) What if I don't want to use assembly? I mean if the caller is in the same program as the function to be called. For example, there is a function called F1() in the same class as the function Main(). What I want do is to let Main() get a function name ("F1") from the...
  9. xcduan

    Does C# support CallByName?

    Hi there, VB supports CallByName. Does C# support that? How? Please help me out, or I have to write a bunch of ugly switch--case sentences. Thanks. Neo

Part and Inventory Search

Back
Top