focus console based form???
Tech-Archive recommends: Fix windows errors by optimizing your registry
Date: Tue, 2 Nov 2004 22:31:49 +0100
Hello
I' invoing a windows form from within a console application. I'm using:
Form1 frm = new Form1();
frm.ShowDialog;
The only problem I can't solve is how can I make the form to the top most
window of the screen. By now it's hidden behind the console and frm.Focus()
doesn't work. Does anyone have a hint or a link for me?
Thank you
Sincerely
Lore
Relevant Pages
- Re: Reading From Serial Port
... strange problem. ... The data parses correctly in a Console Application, ... In the windows form application I read data using the following code: ... private void serialPort1_DataReceived(object sender, ... (microsoft.public.dotnet.languages.csharp) - Re: standalone application to work dually as Windows and Console applications
... Slight adjustment -> Try setting your project output as a Windows ... Form) you do your command line arguments checks. ... Console Application when called from a command line with some arguments ... > windows form using the frmGUI.ShowDialogmethod. ... (microsoft.public.dotnet.framework.windowsforms) - Re: Updating Label Value and Recursing Through Directories
... You can use the same code within your Windows Form app with a couple of changes (e.g. add the results to a ListBox or ListView instead of writing to the Console) then call refresh each time and the results will build up as it runs. ... A "nicer" way might be to put the sample code into a class and fire an event each time a file/directory is found and fill the ListBox/ListView from the event. ... (microsoft.public.dotnet.framework.windowsforms) - Re: difference /u and &#
... Bart wrote: ... > I have not tried a console application yet. ... Right, if it's a windows form, that's fine. ... *submitted* the data to the database was XML-encoding it? ... (microsoft.public.dotnet.languages.csharp) - Re: How to getting console messages to Textbox
... A console application is an application that uses the console for a user ... user interface. ... Show me your certification without works, ... Now I want to convert it to Windows Form Application. ... (microsoft.public.dotnet.languages.csharp) |
|