Questions tagged as 'winforms'

1
answer

Error opening a form inside another form [VB.NET]

I'm trying to open a form inside another form, but I'm having some difficulty. The idea is that when you click on the "btn_CadastroAlunos" button the form "F_Cadastro_Alunos.vb" opens in panel1 that is present in the main form "F_Principal.vb...
asked by 02.11.2018 / 03:03
1
answer

How to increase column width in ListBox C #

Hello, I'm a beginner in C # I'm having a question, I've already tried the forum and found the solution that did not work for me. Problem: I can not increase the ListBox column. COD: using System; using System.Collections.Generic; using...
asked by 09.10.2018 / 17:01
0
answers

How to block the application from minimizing C #

I have a windows form app that after opening a new screen it minimizes itself and I can not figure out why. All the screens I call as follows Home PagHome = new Home(); PagHome.Show(); this.Close(); And when I start the forms, I put in t...
asked by 06.10.2018 / 15:10
2
answers

Prevent the user from using the mainwindow window while another window is open

I have an application in WPF following the MVVM standard and in a certain part of the application I show a ProgressBar that I implemented in a separate view for the user and, while this progressBar is running, I would need the user to be unable...
asked by 08.10.2018 / 18:33
0
answers

C # (windows form) progress bar using mysql data

I currently have this code in one of the forms of a developing application and would like to create a progress bar which, by clicking on the View button (which takes a while to populate the datagrid) would show the progress of the data. namespa...
asked by 22.08.2018 / 18:57
2
answers

Compare and print comma-separated data

I can not seem to make the comparison with the data in the notebook. This data is entered all inline and separated by; In short, enter    value; description; day; month; year if (dia == "" || mes == "" || ano == "") { ERRO erro = new ER...
asked by 17.08.2018 / 19:30
1
answer

Is it possible to open a form with one common user and another as an administrator in the same application?

I have a program that in certain parts needs to be run as an administrator, while others need to be run as an ordinary user. Example: configuracoes.Show() 'Esse será executado como usuário comum' suporte.Show() 'Esse como administrador' The...
asked by 13.08.2018 / 22:58
0
answers

Problem with printer label printing Argox OS-214 Plus C #

The Argox OS-214 Plus printer is cutting barcodes of products with 9 or more digits, making it impossible to read these codes. What can I do to tag these bar codes with 9 or more digits? My template is this: [STX]L H16 D22 10110000059001...
asked by 16.08.2018 / 14:26
2
answers

Textbox multiline printing only last item [closed]

I'm using TextBoxt Multiline to "cast" the report on the system itself. When printing, however, the following message appears: "System.Windows.Forms.TextBox" and then the given. public Formulário() { InitializeComponent(); } privat...
asked by 03.08.2018 / 13:35
2
answers

Upload photo from Datagridview and switch to picturebox - Windows Forms C #

Speak Good Afternoon! I'm having a hard time passing my recorded photo to my PictureBox to update the registry. My scenario is as follows: I have Form of register that does the insertion of data and A Form that does...
asked by 08.08.2018 / 20:48