Questions tagged as 'winforms'

2
answers

How to access next and previous record with C # using Entity Framework

I'm developing a Windows Form application, with Entity Framework 6 + MySQL. As is common in systems, I have in each form navigation buttons (First Record, Previous Record, Next Record, Last Record) The question: Is there any definite synta...
asked by 02.08.2015 / 02:54
2
answers

Error trying to update table using C #

I created a form to change a table, but my update is not working. cnxCli.sel =/*"set dateformat dmy \n"+ */ "update Cliente" + "set Nome = '" + txtNome.Text +"'," + "Rg = '" + mskRg.Text +...
asked by 16.12.2015 / 02:32
3
answers

How to get the unmasked value of a MaskedTextBox?

I'm using a MaskedTextBox for document formatting. It is working perfectly, but how do I get the value typed in the field without the mask being present?     
asked by 22.04.2014 / 21:54
3
answers

How to download an image from the internet with C #?

For example, I need to download a sequence of images: http://www.simepar.br/site/fragmentos/radar/simepar_24.gif http://www.simepar.br/site/fragmentos/radar/simepar_23.gif http://www.simepar.br/site/fragmentos/radar/simepar_22.gif How would...
asked by 05.03.2014 / 18:29
3
answers

Keep application (Windows Form) open in the icon tray with C #

When you close the application (either close button, ALT F4 , or any method other than the process manager), continue running in the Windows Icon Tray: And is it too complicated to make a menu when you click the context button (usual...
asked by 07.10.2015 / 12:43
2
answers

ListView or GridView in Windows Forms

I am studying about Windows Forms Application . I did a tutorial where the ListView is used to display the data of a search according to the parameters passed. But I noticed that there is also GridView to use in the toolbox. And in this o...
asked by 29.04.2015 / 22:05
2
answers

How to use Windows Forms components in a WPF application?

Is there any way to use Windows Forms components in WPF? For example, do I need to use the control Chart or MaskedTextBox of Windows Forms, which does not exist in WPF applications, how could I use it in my WPF application? I le...
asked by 24.09.2016 / 03:47
1
answer

Filling aggregate class from dataTable using a Dataset with LINQ C #

I'm having trouble filling an aggregate class in C #. Is it possible using LINQ? Does anyone have any examples of how to work around this problem using the return of a DataTable or DataSet ? public class OrderDetails { . . ....
asked by 20.05.2015 / 05:43
1
answer

ProgressDialog in C #

I'm trying to create a form similar to ProgressDialog in android, in C # .. The idea would be for this to happen: //criar o controle na thread principal frmWaitingProgress fl = new frmWaitingProgress(this); fl.Show(this); //fazer todo o p...
asked by 08.12.2016 / 13:04
1
answer

C # WinForms - ComboBox that autocompletes (filters) as you type

I have a ComboBox (cmbBairro) with the names of the neighborhoods of my city, which loads the values of a List (_ListBairros). When the user tries to search for a neighborhood by typing, I would like the ComboBox values to be filtered, regardles...
asked by 09.03.2015 / 02:20