Questions tagged as 'windows-forms'

3
answers

How to remove the focus from a Windows Forms control

I'm working on a Windows Forms app in which I have a form with a button and a TextBox what I want is that when I press the button to do a process when I finish giving the focus to a TextBox. The code I use is the following: private void OnA...
asked by 29.09.2018 / 16:29
1
answer

Using Object in another Form [closed]

How can I use an object declared on my form 1 to use it on my form2. In my form 1 the user enters some data that is stored in an object declared in the form1.cs and I want to operate that object on my form 2. Thanks     
asked by 17.09.2018 / 01:22
1
answer

how you could make a text appear by hovering over a picturebox [closed]

could someone please help me I think the picturebox event mouse hover is used, but I do not know how to use it, please help     
asked by 11.06.2017 / 00:11
3
answers

How to solve this problem of report viewer, not encotrado in a Windows Form application?

I have a problem. I just compiled a windows form c # project, and from the project's debug folder I copied and pasted the content into a client's machine, but the problem is that when I open the reports it tells me this error. It is possib...
asked by 16.05.2018 / 23:00
2
answers

How to select an internal file randomly from a folder and then save it? C # [closed]

Hi, I'm here I'm a new user in Stack, I've arrived here because of this questionnaire I have, I'm doing a project in C # Personal in regard to this program I want to randomly select a file from an internal folder of the project (Any type of file...
asked by 10.09.2018 / 16:51
1
answer

Close form in c #

Open form button: frmCatalogos formulario = new frmCatalogos(); this.Hide(); formulario.ShowDialog(); this.Show(); All right up there. The problem arises when I click on a button in the following form. performs all...
asked by 29.01.2018 / 04:45
2
answers

Define DataGridView column width when loading from a DataSet? [duplicate]

This works well for me List mascota = new List(); dataGridView1.DataSource = mascota; getEncabezado(); private void getEncabezado() { dataGridView1.Columns["idmascota"].Visible = false; dataGridView...
asked by 12.10.2017 / 15:20
1
answer

Gestures multitouch in windows forms

Hello I am developing an application in Visual Studio it is a windowos form application in C # , the application makes use of a monitor multitouch in win10 and I wanted to know if someone can give me some guidance to see if it is possib...
asked by 09.12.2016 / 19:54
1
answer

vb.net buttons editable by the end user of the application

Title Hello community, I need your help, it is possible to create a window where the user can add buttons, redimension them, etc. something like what we do in visual studio, but as an end user where you save the changes and when you open the...
asked by 07.04.2016 / 22:35
1
answer

Shutdown PC using the CMD command in Visual Studio C #

I have a textbox called txtMinuto and a button called btnApagar . I want to use the command SHUTDOWN -s -t that is used to turn off the PC at a predetermined time but when I run my line of code to turn off the PC according to...
asked by 19.09.2017 / 22:47