Questions tagged as 'winforms'

2
answers

NumericUpDown Block Down

How to block or control the "Down" state of the Windows Forms NumericUpDown component? Ex: First time the user makes a "registration", he can Add or Remove the Quantity, in the second possibility the user can "edit" add or remove the added am...
asked by 17.10.2018 / 17:24
2
answers

Capture mouse event

Hello, friends! I'm developing a side menu that contains submenus in C #, but I can not find an effective method for displaying the submenus that are inside a panel. I tried with MouseMove event, however I did not get the expected result, becaus...
asked by 14.10.2018 / 18:35
1
answer

CheckBox inverted c # [closed]

I have this code. I'm reading the top-down checkboxes when they have all been selected. But what I needed was, when he started to read, I wanted him to start reading from 2.9.15 up. And not from 2.9.16 down. foreach (UltraListViewItem...
asked by 16.05.2017 / 13:17
3
answers

Difference in screen Windows Forms C #

I have a problem with Visual Studio > Windows Forms. When I enable the classic Windows theme and create a project in C # the screen stays within what I want, but when I enable Aero mode, the right side of the screen is misaligned. Just below...
asked by 16.10.2017 / 18:00
1
answer

Naval battle program C # [closed]

I have to do a naval battle game for college using windows forms in visual studio, the problem and I could not understand the logic to generate naval battle maps, I can not think of a way to do that. What should be done is to place custom boa...
asked by 30.10.2017 / 12:11
1
answer

VB - Too many arguments

Well, I have the following error: Error: Too many arguments to 'Friend Sub LerClientes1()'. In the following code: Imports MySql.Data.MySqlClient 'importar as classes do MySQL Imports MySql.Data.MySqlClient.MySqlConnection 'importar...
asked by 08.06.2017 / 10:19
1
answer

How to leave a responsive background in C #?

How do I relate background_image to window size? Example:     It defines my background image, but by changing the size of the window (minimizing) the image gets "incomplete", and does not follow the edges acting as much as independent.     
asked by 28.05.2017 / 14:38
1
answer

Get list of items from a listbox [closed]

I am creating a windows form in C # with a listbox and would like the information saved inside that listbox to be saved in a list to be able to use in another class.     
asked by 21.02.2017 / 19:54
1
answer

Data does not appear in the datagridview, even when setting a populated datasource, Why?

I'm trying to capture some information from the database, filter it, and then do validation tests on each of the returned rows. Then I try to get the rows that failed the test and insert into a new datatable. However, after having the datatable...
asked by 16.04.2014 / 15:18
1
answer

Opening a minimized browser in Windows Forms

I'm doing an application in Windows Forms and I have the following problem, when the user clicks on a form button, he will have to maximize a minimized internet page, that is, bring the browser window to the foreground and maximize it....
asked by 15.10.2018 / 14:33