Questions tagged as 'winforms'

1
answer

Check character in Text Box to mark in a radioButton

I would like to know how to check if the filled-in letter in a textBox is A or B to as the result gives Checked to a RadioButton .     
asked by 15.03.2017 / 15:22
3
answers

How to keep the default look of the TextBox changing the value of the ReadOnly property?

If the value of the ReadOnly property of a TextBox is false it means that I can change the content. However, when the value is true the content can no longer be changed, but when we change the value of ReadOnly...
asked by 14.02.2016 / 02:19
1
answer

Mark / Uncheck button check box

In my program there is a button to mark and the same button to uncheck a checkbox. Example: If I click once, it marks the checkbox, if I click the button again it unchecks the check box. However, clicking again no longer marks the checkbox, a...
asked by 12.07.2018 / 20:03
2
answers

How to display field values of two classes in a DataGridView? [duplicate]

I'm populating a DataGridView object with a list of classes of type List<Curso> , and the way that I populate DataGridView is as follows: meuDataGridView.DataSource = cursos; However, one of the fields in my class C...
asked by 13.07.2018 / 17:02
2
answers

Move buttons and text box with tab [closed]

Good afternoon everyone, inside windows form I put several text boxes and buttons, but when I navigate through the tab they are cluttered, I know that if I do one by one it will be in order, but it has already been done. Can you change in a simp...
asked by 11.12.2017 / 23:04
1
answer

Force user to select the Radio Button inside the GroupBox

How do I force user to select a Radio Button within the GroupBox. Image example below     
asked by 05.10.2017 / 18:07
1
answer

As time passes and progresses, the label text changes

Before you start it's just a game not a virus. My goal is when when progressbar reaches 1% put the text as downloading virus and when it reaches 50% put the text as installing virus but instead it changes immediately to installing...
asked by 25.07.2016 / 17:45
2
answers

Capture file name

I have a form that I look for the path of a file in .mdb (Access database), however I wanted to know how I can limit and exactly get the string of the file between the last bar of OpenFileDialog and the point of .mdb . S...
asked by 01.08.2016 / 15:26
2
answers

Visual Studio Installer Projects with PostgreSQL

I'm starting a Windows Form C # project, a business application that the user downloads, installs, and uses without any complications. Is it possible to configure Visual Studio Installer Projects to install with PostgreSQL without the user reali...
asked by 10.08.2017 / 05:38
2
answers

2 DataGridView when clicking on the first play record in 2?

I'm using WinForms , I already have a Gridview populated, now I need to double-click on a particular line, this record of the first grid and throw the same record on the second grid. If it were possible could you do this with more than 1 r...
asked by 21.07.2016 / 21:41