Questions tagged as 'windows-forms'

0
answers

can I use some of these elements in windows form?

Hello, I'm trying to pass a metro framework form to windows form and what happens to me is that I want to do something similar to what I did in Metro Framework or look for something similar. what I had was the following: The theme of the b...
asked by 31.10.2017 / 16:47
1
answer

How to display the selected data in a Datagridview in Windows Form c #?

I have this Datagridview at the moment of clicking on send I want the items I select with the checkbox to appear on a messagebox and show me (code), (full name) I'm trying with this method string text = string.Empty;...
asked by 16.10.2017 / 16:41
1
answer

Validate a textBox in C # Visual Studio WindowsForms

I have a textBox called txtSSID and I want to validate that only letters (not all), numbers and some special characters are entered: Do not allow letters like the ones I detail below (Uppercase or lowercase):    'é', 'ý', 'ú', 'í'...
asked by 07.10.2017 / 22:09
2
answers

How to Enumerate rows in DataGridView in c #

I have a question about how to fill the rows in a datagridView in c #, I did this but I want it to be shown automatically without having to add a column private void dataGridViewCatalogoPartesTotal_CellValueNeeded(object sender, DataGridViewCe...
asked by 03.10.2017 / 16:40
1
answer

Error calling a stored procedure in c #

I have a problem wanting to call a stored procedure in c #, the stored procedure is to look for a name of a client, I already try it with the select which works for me but wanting to use a stored procedure does not work for me someone could help...
asked by 23.09.2017 / 16:42
1
answer

Call form only once

I have two forms, form1 and form2. The user must enter certain data in the form1, in textboxes, and the entered data must be confirmed, but I do it with another form (form2), which has 1 textbox and 2 buttons (confirm and cancel), and "appears"...
asked by 19.09.2017 / 14:17
1
answer

Fill a treeview with a datatable c #

I have this datatable defined: DataTable datos = new DataTable("Coordenadas"); datos.Columns.Add("ID", typeof(int)); datos.Columns.Add("Ciudad", typeof(string)); datos.Columns.Add("Latitud", typeof(double)); dat...
asked by 31.08.2017 / 00:00
0
answers

Error entering data to a Datagridview in C #

I have a DataGridView that has two functions depending on whether you select the Agregar or Modificar button: This is the DataGridView : If I do Click to the button Agregar of the first image...
asked by 11.08.2017 / 21:00
0
answers

How to display a GIF in a PictureBox using threads in C #?

I have two Windows Form , the main one has in the middle of the screen a PictureBox which in turn contains a GIF of an animation "loading". The idea is that when the second Form is activated the event load first...
asked by 09.08.2017 / 14:48
0
answers

StatusLabel in StatusStrip that shows a countdown of how much is needed to start the next month

I am trying to make my main form of my project, which is an MDI Container, show me in a StatusLabel, which is contained in its StatusStrip, a countdown of what is needed to start the next month. I have tried to do it but I can not find the resul...
asked by 21.08.2017 / 13:24