call the value from the console and paste it to windows froms.
-
hi, i got a problem here that is i have a program where is console. i want to call the value from the console and display into windows forms. for example in console have int i; ...... i = ..... then i want to get the value for i and display into text box in windows forms. like textbox1.text = ??????????? may i know how to make it. thanks.
-
hi, i got a problem here that is i have a program where is console. i want to call the value from the console and display into windows forms. for example in console have int i; ...... i = ..... then i want to get the value for i and display into text box in windows forms. like textbox1.text = ??????????? may i know how to make it. thanks.
tyrone0109 wrote:
then i want to get the value for i
How is the value for i put into the console?
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
hi, i got a problem here that is i have a program where is console. i want to call the value from the console and display into windows forms. for example in console have int i; ...... i = ..... then i want to get the value for i and display into text box in windows forms. like textbox1.text = ??????????? may i know how to make it. thanks.
In
public static void Main(string[] args)
, use the parameter (args
) Example:textbox.Text = args[0];