Questions tagged as 'windows-forms'

1
answer

How to put in resize mode a PictureBox created dynamically in C #?

Good morning. I am creating an application in C # under VisualStudio 2013. In it when the user clicks on an option in the context menu of the right mouse button on a Panel, I add a PictureBox to the Panel. So far everything is perfect b...
asked by 31.07.2017 / 19:46
2
answers

Fill combobox with database, but start with white

I have a combobox that I filled with this database query: select ' ' as usr_entrada, null as no_servicio union select usr_entrada, No_Servicio from Telemarketing where Id_Sucursal='cordoba' The idea of the union is to add a blank row to th...
asked by 31.07.2017 / 16:58
1
answer

Help with windows forms tool

What happens is that I must do a minesweeper of 300 squares, but I do not know with which tool to create the frame, could someone please tell me which tool will be useful to put the random code and that the game works for me? ? Thanks     
asked by 14.04.2017 / 18:33
1
answer

Make DataGridView Auto-Height according to the Rows

I need to be able to accommodate the height of FORM or DataGridView based on the amount of data / rows that were filled in DataGrid . This taking into account what cases there are four rows, and others that there are o...
asked by 16.05.2017 / 17:49
1
answer

TabControl DevComponents

I am working on a Windows Forms app, at the moment of selecting the tab by means of a If I want it to fulfill a condition, but I have not achieved it I have tried with this code: private void tabControlCategoriaSubCategoria_Selec...
asked by 22.05.2016 / 16:48
1
answer

Using Ninjet to do the injection

I am working on a windows forms app, in which I work with EF, ninject. With ninject injecto Interface and class. Bind(typeof(ISaProveedor)).To(typeof(SaProveedor)); My problem is not that, I am illustrating how my app works The problem c...
asked by 28.05.2016 / 15:42
0
answers

Help with datagridview formats

I'm trying to make a drop-down in a datagridview. I almost finished it. but I have some things that I do not know how to solve, for example in my datagridview, I have counters in the gray strip, this counts the quantity of products that there ar...
asked by 06.11.2018 / 17:48
0
answers

Read text file and order text in datagridview vb.net win-forms

I'm working with a text file that looks like this: ---------------------------------------- Récord por alumno Version: 4 'Tue Feb 06 14:09:12 2018' ---------------------------------------- 5%Carrera 100 mts Subprueba: 50 mts Measured: 15.2...
asked by 15.10.2018 / 05:18
1
answer

Pass data between forms

Language: C Sharp In the MainForm I have a datagridview whose datasource is a dataset with a datatable . With a botón the form2 is opened and in this a row number is chosen. When accep...
asked by 09.07.2016 / 03:01
0
answers

Custom FlowLayoutPanel: Get inside elements posotion and / or Rectangle

I have created a customized user control from the FlowLayoutPanel control that contains customized Panels inside, added dynamically. I want to get the position of the controls within this FlowLayoutPanel to complete the isPointOverPanel method....
asked by 15.03.2018 / 22:52