Questions tagged as 'winforms'

1
answer

Checking a batch DataTable (IDs) in the database

I have a small desktop application (Windows Forms - .NET 2.0 - C #) in which I only use it to perform a check on a particular hourly path and, if this check finds any .txt file in this path, it is an import of this file was performed. However...
asked by 31.03.2016 / 17:19
1
answer

How to execute a URL passing C #

Hello, I'm doing for study purposes, a way to fetch and bring vehicle information from the api's direct fipe table ( link ) . What I can not do at first is to execute the URL passing parameters. For example: I need to request the list of v...
asked by 12.04.2016 / 22:09
1
answer

Manipulating what will be displayed in the DisplayMember of a CheckListBox

I have a class Model: class pessoaModel { int id; DateTime data; TimeSpan hora; CliModel ID_Cliente = new CliModel (); public string Nome { get { return nome; } set { nome = value; } } pub...
asked by 24.02.2016 / 14:50
0
answers

Synchronize SQLServer Express 2014 with SQLServer LocalDB using C #

I am making a Windows Forms application using C# that will be attached to a% remote SqlServer Express 2014 bank, however, I need some functionality to be available offline due to poor quality of internet . How cou...
asked by 18.01.2016 / 17:20
1
answer

Copy files showing progressbar [duplicate]

Good morning. I have a small code where I copy files from one folder to another, but as some files take a while, I would like to show a progress bar, how can I do this with this code: string ArquivoOrigem = System.IO.Path.Combine(...
asked by 24.12.2015 / 13:00
1
answer

Error 500 when I try to give a JSON post to the web service C #

I have a WINDOWS FORM C # application, where I communicate with a web service, when I try to send a very large data from my application to the web service I get error 500. I can do a POST on any other object in JSON, but when it is this one t...
asked by 16.12.2015 / 22:24
0
answers

Remote desktop application with RDP protocol

I'm doing an example-based application Remote Desktop application with RDP protocol . But how to change the color of the transmission? That is, the colordepth property. I'm using the following: public static void Connect() { curr...
asked by 27.01.2016 / 22:04
0
answers

Firebird bug with Entity Framework and C #

I'm trying to use Firebird with Entity Framework in C #, but when I create relationships and try to give Update-Database in Migration it gives this error:    Type is not resolved for member 'FirebirdSql.Data.FirebirdClient.FbException, Firebi...
asked by 01.03.2016 / 20:42
1
answer

How to block form scrolling when I'm dragging a control?

I have a form where I design the supply network of a company. For this, I need to allow the user to move the controls that are in the form. This is working. However, when the user moves the control beyond the current position of the form,...
asked by 25.09.2015 / 16:20
0
answers

Error selecting text with mouse, Forms inside tabcontrol

I found an elegant solution on how to work with MDI Tabbed Interface, I'm creating at runtime a tabcontrol inside my MDI form, and I'm creating a new tab for each form. of the form quoted below! form.TopLevel = false; superTabControlPanel.Cont...
asked by 04.09.2015 / 16:57