Questions tagged as 'winforms'

1
answer

Solver does not calculate solution for model

I have implemented a routine that makes calculation of the appropriate percentage of ingredients that is necessary to formulate a ration. To do this calculation I am using the Solver Foundation of MS . At first I hedge the decision...
asked by 23.08.2016 / 18:23
1
answer

Error while moving directory

I have folderBrowserDialog that when we select the folder it would move it to a certain directory. I'm having the following error:    Unable to create a file when this file already exists. but the folder does not exist. The c...
asked by 23.08.2016 / 14:22
0
answers

Change permission to modify files

I'm creating a Windows Forms application that will fetch an Excel worksheet and update some DBF files from a legacy system, but when I run the system I can not update the DBF files because of the permissions of the legacy system folder. How d...
asked by 23.08.2016 / 15:41
1
answer

How to identify which Tabpage is being closed

Have a good day, how are you? I'm working with XtraTabControl, and when I close a tab, I need to know which tab was closed. today in the xtraTabControl1_CloseButtonClick event, I'm doing it as follows: ' private void xtraTabControl1_Cl...
asked by 20.07.2016 / 14:04
1
answer

How to import data from DataGridView to textboxs

As I do for, when I click the Modify button bring the data from a row of the DataGridView to the fields above and also if I save as inactive leave the row as Enabled = false.     
asked by 02.07.2016 / 20:45
2
answers

Saving report to disk in PDF

I took a legacy code here and I have no WindowsForms experience. The case is, a report is generated and saved inside an object of type PrintDocument. Then it seems to populate another object, of type PrintPriviewDialog, and already calls t...
asked by 18.05.2016 / 15:44
1
answer

Customizing datagridview in C #

I'm doing a project and I'm having customization issues in my datagrid, as the information in the two textbox returns in the same datagrid I can not customize the header of the two, but rather just one, does anyone know how to sort it wit...
asked by 13.05.2016 / 01:36
4
answers

Validate TextBox content

I have the TextBox fields, for example: txtValorCompra would have to be typed by user 98,90 and can not be letters txtNumero entry with integers % with only letters. Would you like to do this on the form?...
asked by 03.11.2014 / 22:44
1
answer

Application sent twice the same message

I'm having a new problem with the skype library (skype4com) . In fact they are two problems. I'm doing my application in WindowsForm (C#) . I made an application to send auto-reply on skype. private Skype skypeId; private...
asked by 22.04.2016 / 22:41
0
answers

Problem with Return from Parallel.ForEach

Good evening everyone! I am making a system in C # WindowsForms for validation of FEBRABAN V2 model phone bills. The files usually have between 600Mb to 15Gb, so I opted for the use of Parallel.ForEach, and really turned the performance in...
asked by 12.05.2016 / 18:13