Questions tagged as 'winforms'

1
answer

For the movement of a picturebox c # windows

I have a picturebox and I only move it to the right and left, but I would like it when the end of the image reaches the edge of the form and the start, it is no longer possible to move it. This is how it works: I would like it to look lik...
asked by 02.02.2015 / 11:45
1
answer

How to fill a web form through C #

Is there any way to populate a web form through C #? I have a system developed in WPF and when the user clicks a button open a certain page in the browser and that their fields are filled automatically with the system information. I was ab...
asked by 09.04.2015 / 21:56
2
answers

Pass data between forms

I'm developing my CBT and I needed to make the data collected in the register serve as a login, because we do not have a server yet to save this data, so they are being made with ArrayList . Follow the code: public partial class Frm...
asked by 24.04.2014 / 02:04
1
answer

Move TextBox created by code

I'm trying to move a TextBox that was created via code, down. Here is the code where I create and add the button: private DVJPetControles.TextBox txtHorarioCheckin; this.txtHorarioCheckin.TituloLabel = "Horário de Check-in"; this....
asked by 22.11.2018 / 12:22
1
answer

Call Form2 with Circular Progress Bar while another action is executed C #

I am having a question about calling a Windows Form. In this application, through the click event of the button located on Form1, call a second Form, where on this form2 I present an animated Progress Bar Circular running until another method lo...
asked by 18.06.2018 / 17:14
1
answer

How to replace the CheckBox with a String

I need to display "Active" or "Idle" in the Status column of the DataGridView , how do? This"Situation" column is Boolean type: This is the Code where I populate the DataGridView : private void PreencherDataGridView() {...
asked by 15.06.2018 / 23:10
1
answer

Coloring Datagridview with C # Comparison

I would like to know if you have any way to color the row in the datagridview without using a loop. I have a minimum stock and when available is below the minimum I would paint the red line. Ididitthatway,butitgotreallyslow.for(inti=0;i&l...
asked by 20.06.2018 / 20:34
1
answer

How to inherit a form in C #?

I have an application with the FormFuncionario form. I want to inherit all the characteristics of this form for a second class, called ControlFuncionario , where it will be responsible for performing several events, and even accessi...
asked by 03.05.2018 / 21:08
1
answer

Display Form in a TableLayoutPanel C #

How do I open a form named frmOrcamentos within a TableLayoutPanel named tlpPrincipal . Remember that the frmOcamentos form will open in the TableLayoutPanel that is inside the form frmPrincipal after cli...
asked by 15.04.2018 / 15:49
1
answer

Progress Bar - How do you assume decimal values?

By learning, I'm creating a good beast in C # and I make a progress bar the life bar, but I need to decrease a decimal value and apparently progress only assumes int values. How can I make it display decimal values such as 99.2%? The Progress...
asked by 07.05.2018 / 23:56