Questions tagged as 'windows-forms'

1
answer

Handling Threads in a DataGridView in VB .net

I am automatically and manually updating a datagridview with data every so often. For this, I delete all the rows and insert them again manually with programmed data. I do not use any database or table. The problem is that I'm with a thread t...
asked by 28.12.2016 / 20:50
2
answers

c # MonthCalendar paint the background of a color on several dates

Well I am starting with the C # and I have created an application of a calendar to practice with MySql database connection. In the calendar I want to show a monthCalendar with all the dates that have some annotation with the background of a diff...
asked by 23.10.2016 / 14:15
2
answers

Button border in c #

Good day, I have a button with flatstyle property set to flat, now what happens is that when this button is the active control of the form the edge changes in size, I would like to know if there is a way to avoid that, I am working in visual stu...
asked by 09.11.2016 / 17:15
1
answer

Different controls in the content of each node of the TreeView

I am creating this Search form that basically contains a TreeView with several nodes as I show you in the following image: The objective is that when clicking on each node, different controls appear in the panel on the right, that is, a...
asked by 03.08.2016 / 10:11
1
answer

Control webBrowser does not load

You will see I have a webBroser that I pass a URL such that: public Marcador() { InitializeComponent(); } public void playGol(String url) { webBrowser1.Navigate(url); } When I call the metho...
asked by 03.08.2016 / 09:28
1
answer

Drag and drop from TreeView to Textbox

I am pasting an element of a Treeview to a Textbox , but I would like to paste the element in the position indicated by the mouse as well as show the bar that indicates where the element to be pasted will go, as shown in the next im...
asked by 12.08.2016 / 00:45
1
answer

Have control of a StatusStrip that belongs to a Form1 from Form2 C #

I have a% main% co that contains a status bar Form with several StatusStrip . I must have control of StatusLabel from another form to change the StatusStrip message depending on what I'm doing. For example, if I put...
asked by 31.03.2016 / 16:07
1
answer

DataGridView placing the pointer in row created

At the moment of creating a row in a DataGridView I want the pointer to be in the new row created in the cell of the second column as I show in the imgagen. Every time you create a new row, the cursor should be displayed in this way, ready...
asked by 01.05.2016 / 18:07
1
answer

Hello, I have a slight problem

I write this code, but at the time of execution, it tells me an error, it says that this function is dedeclared but it is not used .... why is this error? private void Button1_Click(object sender, EventArgs e) { if...
asked by 28.11.2018 / 03:28
0
answers

When using TableLayoutPanels, Visual Studio locks

When I use TableLayoutPanels Visual Studio starts to lock every time I do a movement of controls in that form and it recovers about 20 seconds later. Is it common for this to happen? It can be fixed? I use the Community version 2017.     
asked by 18.12.2018 / 21:40