Is it possible to run a windows form application with the console application?
And if so, how would i use the Main() void?
And how could i pass strings over from the windows form to the console?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think that what you are saying is that you want to have a console application that can simply open a form. You can do this.
Create your console application as per normal but then add your form to your project (or a reference to a project that contains the form). Then you just want something like this.
If you want to add information to your form, you could add properties to the form or a add a custom constructor which takes string information you want sent to the form.