Questions tagged as 'winforms'

2
answers

Help with textbox validation

Have a good afternoon. I'm having trouble completing a task, which is as follows: I have a customer registration, which when the user edits something from the register, when saving a screen is displayed, to indicate the reason for the chan...
asked by 21.07.2016 / 17:53
1
answer

Pass data from one form to another class [closed]

I have a very cute form1 with very good button and inside it I have a toggle button on-off. I have another class.cs and I have a condition in it, but will only execute if that button there on form1 is on. follows in Form1.cs: private v...
asked by 23.11.2016 / 17:31
2
answers

How to close splash screen?

I've developed a splash screen for my application. It is working perfectly, it opens and directs to Form2 . But I realized that when I close Form2 , I have to stop debugging through Visual Studio, as it looks like splash is active...
asked by 24.08.2015 / 14:26
1
answer

RDLC report in an internal project folder?

I created a system with C # and WinForms and to create my reports I created an internal folder in the project with the name of reports , in this folder I create the RDLC for display in ReportViewer and it works fine when I'm develop...
asked by 30.09.2016 / 08:50
1
answer

How do I set the size of a button in centimeters?

I need to put a button with height and width in centimeters, where the size is maintained if it is accessed at different screen resolutions. It is possible? If so, how?     
asked by 02.09.2015 / 18:42
1
answer

ProgressBar within a Task

How can I change the values of an interface control within a separate task from the main thread? Example: private void button1_Click(object sender, EventArgs e) { Task task = new Task(Processar); task.Start(); } pub...
asked by 29.04.2015 / 04:24
1
answer

Error opening SqlConnection

This is the following I have a gridviewer that is connected to a Query with a  Table named Server Table. When I want to add some things to the columns it gives the following error    Instance failure. In this part of the code connectio...
asked by 24.08.2016 / 16:42
2
answers

Circular reference between two projects

I'm working with two projects in a solution . To use a ProjectA form in ProjectB I referenced the ProjectA in ProjectB , from this I have access to the ProjectA forms. But what if I want to have access to the ProjectB forms in...
asked by 13.04.2016 / 15:41
1
answer

Formatting TextBox for thousands?

I'm trying to create a TextBox to enter values in thousands, the values will be for weights (kilos). I want to enter the values from right to left based on the 0,000 mask and as the user enters the weight the values are being overwritten...
asked by 06.04.2016 / 15:12
1
answer

DataGridView windows Forms

I have the following question: I have Grid that is composed of various information (id, city, zip code) and the user will select several lines in this Grid . I need to capture the selected codes, assign these IDs to a variable of ty...
asked by 24.02.2015 / 05:03