Questions tagged as 'winforms'

1
answer

Mount Grid according to XML tags

I have a headache in my project here ... I have to consume data from a webservice that sends them in xml format. Currently, I can get this xml from webservice , but I can not scan all the xml and mount my grid according to all tags wh...
asked by 09.06.2015 / 14:49
1
answer

Searching Data with DataGridView

I'm working with WinForms and I'm trying to implement a DataGridView(dgv) in a search form that I have in my project. What happens is: I have two dgvs that form the kind of master-detail. I did this by following this tutorial . The wa...
asked by 01.05.2015 / 20:48
1
answer

Process does not close in the task manager

I have the following code snippet to close my winform application: private void frmAgent_FormClosing(object sender, FormClosingEventArgs e){ if (MessageBox.Show("Deseja realmente fechar o sistema?", "Atenção!", MessageBoxB...
asked by 28.01.2015 / 13:17
1
answer

On-screen touch recognition, such as MouseDown

I'm developing a game (Puzzle) in C # WinForms, to run on a touch screen. The mapping of ring events to the mouse events already occurs by default, and I did not have to do anything to make that happen. However, the mouse_down only occurs...
asked by 29.05.2014 / 20:29
1
answer

Disable checkbox checked in listview

I added in my ListView the default% of it "ListView Checkboxes", when it is checkbox I need to disable it so that it can no longer be "checked", I tried to make checked checkbox , but I could not access it, it is tryi...
asked by 28.08.2014 / 23:38
1
answer

Filter DataGridView by Interval Between Dates in VB.NET

I'm new to programming and I'm finishing a job, but I have a problem that I've been experiencing for weeks and I have not been able to solve it. I created a simple system that registers the OSs (work orders), and in a form I put a datagrid...
asked by 03.10.2014 / 20:25
2
answers

How to deform a button? [closed]

How do I deform a button by using the button's Paint event to take the shape of the Enter key or even the shape of a circle?     
asked by 22.08.2016 / 15:27
3
answers

Setting the Focus () on the UserControl's TextBox

I have the following UserControl: public partial class SliderChrome : UserControl { private int _min; public int Min { get { return _min; } set { txtmin.Text = _min.ToString(); } } }...
asked by 20.03.2017 / 16:09
2
answers

How to move form on screen programmatically with animated effect?

How can I make my form go from location 0.0 to location 100,100 on the screen without user interaction, ie through programming, this movement needs to be animated, ie it can not disappear from a point and going to another, needs to look like it...
asked by 03.10.2016 / 16:06
1
answer

Calculate age from date of birth [closed]

Create a program where you can enter your name and date of birth. You should then click on a button that should display a message containing your age.     
asked by 08.10.2016 / 16:14