Questions tagged as 'windows-forms'

2
answers

Why does the panel autoscroll erase the lines?

I am occupying generating lines that link the vertices of a tree, but it does not generate the lines that are outside the range of the panel, even though I have the autoscroll in "true", and when I go down to review the vertices, the lines that...
asked by 07.02.2017 / 10:42
1
answer

Show Listing in a DatagridVieW vb

Well I tell you that I'm making a file listing in a datagridView for them I am using the tools of: Sql server Visual Basic Window Form If you show me, but when I click on it, it generates and opens several forms like the image. How could I...
asked by 15.02.2017 / 22:19
1
answer

Access to form in another library of the same solution (cross-reference error)

I am working on a project inherited from other programmers in .NET The solution has several projects in theory separated by functionality, with references between them. The problem I have is accessing a form from another library, which is not...
asked by 14.12.2016 / 10:26
1
answer

Database with sql server and c # win forms

Hello friends, I have a database like the one in the figure and I manage it from an application in c # windows forms The problem I have is with the intermediate tables (testsQuests and questionsOptions). When creating an entry from anot...
asked by 25.01.2017 / 16:12
0
answers

Printing with printdocument and printpreviewdialog c #

Good day I'm printing the contents of a richtextbox, this in a printdocument and it shows a preview with a printpreview dialog, the problem is that I printed all the contents of the richtextbox in a single line, I would like to know if there is...
asked by 16.11.2016 / 20:39
1
answer

Determine sort column in a datagridview c #

DataGridViewColumn sortcolum = data.SortedColumn; ListSortDirection dir; data.DataSource = ""; /* Cargar datos */ data.DataSource = CCarsData.ConexionDB.CargarTable(); /* Set Grid */ if (s...
asked by 11.11.2016 / 19:00
0
answers

how to make a windows form project work in windows CE

I have my project developed and functional in Windows Form but my project must work in .Net Compact (Windows CE or windows embedded) when I make the executable this throws me the error I would like to know how to solve this problem    ...
asked by 12.09.2016 / 21:59
0
answers

In a Modal form, how can I make the process follow, without having to close the form?

I have a Modal Form, which shows a reportviewer, I use .ShowDialog, but I want to open n_veces that same form, but I have not been able to do it, someone knows how to continue the process using "ShowDdialog". public void mostrarFactura() {...
asked by 26.07.2016 / 00:30
1
answer

How to perform Binding to a ComboBox in Windows Forms

I need to bind to Combobox to automatically save the data in the database. * I fill Combobox when starting Form : lPropositosInmueble = BOPropositoInmueble.PropositoInmuebleCollection With Me.cboProposito .Di...
asked by 14.04.2016 / 10:45
1
answer

Installer of winform project of vs2008 does not work correctly on w7

I'm in a dilemma that a vs2008 installer does not work properly on the machines where I installed it ( Winform project installer in vs 2008 does not recognize the app.config ), the issue is that the development is in a WXP machine with VS2008, a...
asked by 24.05.2016 / 16:25