You must Sign In to post a response.
  • Category: .NET

    I am using C#.NET (Windows Application). I want to execute code behind the form without

    I am using C#.NET (Windows Application). I want to execute code behind the form without showing that form.


    Pls assist me
  • #587947
    Please explain the scenario such that we can help you out .

  • #587988
    you can hide your form using this code put this code in formload event

    this.Hide()
    //then write your code


    it will execute the whole code of Formload event


    hope this will help you

  • #588031
    Instead of not showing the form and executing the code, why can't you write the code in class file and execute it.


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.