Questions tagged as 'winforms'

0
answers

C # windows appication Event: CLR20r3 when starting the application

I created a windows forms application c # .net 4.5, in my development environment it works perfectly, but when I put the release in the client environment, it gives the following error when starting: Descrição Stopped working Assinatura d...
asked by 04.09.2015 / 14:01
0
answers

Change the container of a custom form

I made a custom form, with the style of Windows 10, but there is a problem, it is considering the caption bar as part of the form's client panel. Thisistheform.Theproblemisthattheposition0,0oftheformisinsidetheCaption,whereitcouldnotstay,its...
asked by 24.10.2015 / 22:09
0
answers

Modularize WinForms

I have the following scenario, 1 System Containing several features of these features, there are some that are similar (Changes According to User Profile). But I'm having trouble organizing this in the project. I'm creating a base sy...
asked by 10.08.2015 / 21:14
1
answer

C # - MouseLeave Event Does Not Work on Different Label

I created two Label's with different names and created two methods for each Label responsible for making a Hover event similar to that in CSS / p> //Evento responsável por fechar a aplicação através do Label "X". private void closeApplicati...
asked by 24.06.2015 / 00:00
1
answer

Help - C # how to update comboBox? autocomplete type

Firstly I'm developing a system in C # and using Sql Server as a database. I would like to perform the following task: When something is typed in the comboBox I update myself, through a search in the database, example: I type A in the comb...
asked by 17.01.2015 / 10:22
0
answers

Inserting value of type double in the mysql database

I have a WindowsForm with a value field and I need to enter the value of it in the database. Do I need some examples of how to do this? Query file //Cadastrar Gastos public void cadastroGasto(Gasto gasto) { tr...
asked by 08.01.2015 / 01:25
0
answers

Substitute DataRepeater

I've always used DataRepeater to put my data and put buttons. Only in visual studio 2013 it disappeared. How do I use it without downloading PowerPack? Or do you have something similar to your ease? To do something like this here; l...
asked by 16.01.2015 / 19:28
0
answers

Move Picture in PictureBox C # Windows Forms

I looked for some examples on the internet, but those I tried did not work. I load an image at runtime, this is working normally, but I am not able to move the image that is loaded inside a picturebox, Follow the code: public partial class...
asked by 14.01.2015 / 01:08
1
answer

How to validate a date in a DataGridViewTextBoxColumn?

I'm creating a form where the user will enter data through a DataGridView , one of the columns of that DataGridView is of type DataGridViewTextBoxColumn and it will receive a date, I would like to validate that date after the...
asked by 23.01.2015 / 14:31
1
answer

How can I allow insertion directly into a DataGridView?

I'm setting DataSource of a DataGridView to List<T> . I enabled by the designer "enable addition". But that line is not appearing with an asterisk to add new elements. My code looks like this: public IEnumerable...
asked by 24.12.2013 / 19:51