So I have made a GUI which I compiled as EXE. The GUI has several textboxes and UpDown controls. I am starting the GUI from different class and all works fine - I can change/update the controls, I receive proper events and so on. There is 1 very strange problem - the GUI does not accept andy Keyboard input.... nowhere - not in the upDown controls, not in the text boxes... nowhere. If I start the EXE separately from prompt, it DOES accept keyboard input, but when I start it from my other class/programm it does not.
in my other class what I do is this :
myGui form;
...
form = new myGui();
form.Show();
Form is shown normally, I can interact with it and all is good, except I cannot enter anything with the keyboard. All controls are unlocked. (anyways when the GUI is started directly from prompt it works normally and accepts keyboard)
What could be the problem?