Questions tagged as 'windows-forms'

1
answer

Detect changes made in WindowsForms controls, C #

I need to detect the changes that were made to the form, either in TextBox , Datagridview or other controls.    Here is a small example as a test code (GoogleDrive Link ) IdentificarCambios.zip       This works Perfect...
asked by 05.01.2018 / 22:50
2
answers

ComboBox in DataGridView

I work in a Windows Forms app in which I have a DataGridView control in which one of its columns is of the Combobox type, I can populate the ComboBox without any problem. The problem I have is that I need the first element that contains the C...
asked by 20.07.2018 / 03:17
1
answer

Error serialize Json abstract class

I'm trying to send a list of abstract objects to% of signalr Server structure (where all values are generated); public abstract class Comida : Objeto { public int valorNutricional; public abstract void Comido(Cola jugador); }...
asked by 24.08.2018 / 10:54
1
answer

How to trigger an event from one form in another

I am working with 2 forms, of which the first one acts as a floating box to collect data that is entered by the user. Once the data is entered, the user presses the Aplicar button to send the collected data to the second form, I want an e...
asked by 23.04.2018 / 07:30
1
answer

Pass variables and perform actions between classes in C #

I am learning the C # language, also using the VisualStudio tool, and I can not pass a variable (BtnColor in the code) from one class to another, and then perform an action from the value of that variable. This is the form I try to create in Vis...
asked by 25.08.2018 / 22:52
6
answers

How to create a process that runs daily using C #?

What happens is that I have to generate a report daily from some data obtained from the BD. I generate the report and send it by mail from a button, now the application will be hosted on a server, then it is required that once it is executed and...
asked by 05.10.2016 / 18:57
2
answers

Disable refresh screen until end of operation

Currently I have a code that refreshes me MdiCildren screens, the fact is that by doing this visually it is a bit ugly until it ends, so I need to know if it is possible and how to do not paint anything on the screen until you arrive a point and...
asked by 23.02.2017 / 09:24
3
answers

Change Source to several Labels at the same Time, C #

I want to change the font to labels (Label1 to Label10) at the same time, I explain: I have a Form WindowsForms in which I have a panel within that panel I have added 2 user controls UserControls , within both UserContr...
asked by 19.01.2018 / 21:07
3
answers

Detect status of Caps Lock in c #

I have a password field in a Windows Form of C# and I need to show the user an alert if the CapsLock function is enabled. How can I detect if the CapsLock function is activated?     
asked by 27.07.2017 / 13:36
1
answer

Is it possible to rotate a "Chart" control on vb.net by 90 degrees?

I have a small graph in a form and I would like to know if it is possible to rotate it 90 degrees, if so, could you show me how you can do it? With this little code I can draw the graph. Dim s As New Series s.Name = "Ganancia" '...
asked by 01.10.2018 / 03:33