Questions tagged as 'winforms'

2
answers

Printing windows forms with direct reportviewer on the printer

I have an application made in windows forms and reportviewer , my problem is in printing:    I need to print directly to the printer without having to open the check box to select the printer How to do this in c# ?...
asked by 12.01.2017 / 20:07
1
answer

Populate graph with mysql data

I am developing a C # application and need to fill in a graph with the amount of data registered in 3 MySql tables. It is as follows: The graph should inform the user in different columns how much data are registered in the product tables, logse...
asked by 20.12.2016 / 15:00
1
answer

Hide form using F1 key C #

I have form more precisely a menu of options and wanted to hide this form when I pressed the F1 key and showed when I pressed F1 again. I tried following this tutorial from the link using hook keyboard . However, when I press F1...
asked by 27.02.2017 / 03:52
1
answer

Displaying Bitmap in C # application

I have the following code in my application: Bitmap original = new Bitmap("C:/Projeto/Imagens/antialiasing.jpg"); Graphics g = Graphics.FromImage(original); g.DrawImage(original, 100, 100, 390, 390); However, the original image is no...
asked by 20.11.2016 / 17:00
2
answers

Passing information between C #

Hello, I have a problem with passing information between forms in windows forms with C #, the problem is the following. I have a MAIN FORM, from this, I call the one SUB FORM, which happens to be the child's principal. The point is, I want th...
asked by 19.11.2016 / 22:20
1
answer

Convert a winform to webform

I have an application in a winForms I need to turn this project into a WebForm for web application, I am looking to know if it is possible and there is some way to do this.     
asked by 15.02.2017 / 17:47
1
answer

Generating a new file with a template in Excel when saving

Good morning, my software works with bar code reading for generating printed labels. It has several Texbox, each one receiving from the reader a different code. When I click on Save it sends these codes to an Excel worksheet where I can print an...
asked by 18.11.2016 / 16:47
1
answer

Growing Counter in a Texbox [duplicate]

I'm developing software that every time the user clicks the save button, he needs to add +1 to a TextBox . Ex: Box = 1 - > Save - > Box = 2. Every time the user clicks save , he has to change the box number, always addin...
asked by 16.11.2016 / 14:16
2
answers

WinForms C # - Display upload form

I have a main WinForms and would like it to appear as long as the asynchronous task is processing, a new form (with GIF ) would only close when processing is finished. frmProcessor _frmProcessor = new frmProcessor();...
asked by 13.10.2016 / 18:39
1
answer

How to count how many instances of a program are running from a shared folder?

I'm developing an application that runs from a shared folder. In the same folder is the Access database. To avoid conflicts in Access, it will only be allowed to be run by only one user at a time, so two users on different machines are not allow...
asked by 22.09.2016 / 15:14