Questions tagged as 'winforms'

1
answer

How to validate ComboBox?

I have a Form of register that has some fields TextBox and ComboBox , I want my code to allow the user to register only when all fields are filled, but only validating the TextBox thus allowing the registration to be c...
asked by 15.04.2018 / 02:09
1
answer

Default Event Exit on the ESC key

Currently on my system I use the KeyPress event to identify the key Esc and thus close my form, however I have a large system with more than 50 forms and even more being developed: / p> My question is: Is there any standard way to set...
asked by 10.04.2017 / 15:17
1
answer

WebBrowser in C # using Chrome

I have a browser application that I created using the class WebBrowser of System.Windows.Forms , this class uses the IE browser engine. Now I need to create a browser application using chrome. What's the best library for me to do...
asked by 13.05.2017 / 08:06
1
answer

Path access error was denied

I am using a program created in Visual Studio / Windows Forms. In it, access the following file to get some information: 1st Code (works normal) StreamReader file = new StreamReader(@ "E:\OneDrive\VisualStudio\codigosAIH\codigosAIH\bin\Debu...
asked by 19.01.2017 / 17:23
1
answer

How to project an image on the big screen?

I've searched the internet and I do not think so. How do I project an image on the big screen? Example: On the main screen (notebook) show executable (windows forms), and on the second screen show an image (do not show windows form). It's...
asked by 12.10.2017 / 01:25
1
answer

Manipulate page with WebBrowser

I'm having trouble sending values to a form via Web Browser . My goal is to make a post, that is, send the values to the inputs of the form and make the submit of it, after that open the page generated in my browser. Form...
asked by 23.01.2016 / 19:08
1
answer

How to reset the DataSource property of a DataGridView and not delete the columns of the Header?

I'm filling my DataGridView with a list of objects, however, when I fill in the grid for the first time everything is fine. When I remove the DataSource property as null, the grid columns are deleted. Is it possible to reset the DataSource pr...
asked by 24.02.2017 / 15:45
2
answers

Get partial name of a process

Is there any way I can get a process that is running by a partial name, like what happens with like in a SQL search? Why I ask this: I have a team viewer custom here for the company. The problem is that if I happen to h...
asked by 07.01.2016 / 20:40
3
answers

Close the panel when the mouse comes out

I have Panel in a Form any where Panel is less than Form . I need to do the following: when the mouse leaves the top of Panel it should be closed how could I do this? Note: I'm trying to do this in Windows...
asked by 08.12.2015 / 13:29
1
answer

Working with Windows Forms with designer on Linux?

In Linux (Ubuntu) can you create applications with Windows Forms in Mono or similar using a designer such as Visual Studio ? I'm having trouble because I need to develop with Windows Forms in a Linux environment with a designer simil...
asked by 05.08.2016 / 05:26