I’ve run into a performance obstacle and I’m uncertain of the cause, all of this is running under VS2022 & Net6.0. As this is my 1st time using
My data is coming from a real time source that provides a number of milliseconds from start and the value. I want a real time plot, i.e. the old values fall of
Is there a way to fill the DataSource of a DataGridView using the existing Columns? I'm trying to set a DataSource to my DataGridView; every time I set my DataS
So essentially, I have a button, when I press the button, the button should delete the most recent row of text embedded into the rich text box. Press it again,
I am working on C# winform application and I had setup .env files with this package https://github.com/tonerdo/dotnet-env, the problem is I can't access my data
I have several comboboxes, all similar code and only one, CustomerSelector.SelectedValue, is not working. I have even tried setting the value like this: Custom
Bitmap image; private void button4_Click(object sender, EventArgs e) { pictureBox1.Image = image; Color co; for
I have a datagridview in windows form. It looks like this. In this, have one Checkbox column, two textbox column. My requirement is need to set readonly true a
How to support snap layout in WinForms for windows 11. I'm using c# 10. My application's custom maximize button shows only tooltip. MainForm's WndProc code: pr
Currently I'm trying to databind object properties to a datagridview. The thing is that the datagridview should have a combobox column, where the user has to ch
I have a List<Car> objects that have a bool property named Marked. I want to check / uncheck the Cell corresponding to this property, in a way that only o
I have a RichTextBox(RTB) that obtains text from two sources a txt file and data from a SQLite DB. The RTB has ReadOnly property set to False. I am trying to NO
I have created a windows form application using vb.net 2019, and everything seems fine until I found out that an .xml document which contains confidential files
I would like to make pages for UserControl but I don't know how I can do this. How can I implement this as in the picture in WinForms? I would like to display a
I'm using MouseMove, MouseUp, MouseDown events to move a borderless form (as found here as an example). It works great, but for a ListView, it only works if I c
i have a funcion 'button1_click' in the header 'MyForm1.h'. I want to use this function in another header 'MyForm.h'. How can i do this? i already included 'MyF
I am building a two column custom context menu layout using Forms. I named the class of the form of the custom context menu as ContextMenu. I created a flag fun
I have a TabControl and I'm adding Tabpages to it programmatically. Each TabPage loads a UserControl in it, and each user control contains a few controls. For e
I'm building a WinForms project in C# using a PostgreSQL database and the Npgsql framework. For inserting a record, I need to return the ID of the new record.
I use this simple code to set the position of two Scrollbars of different RichTextBox Controls, at same time. The trouble comes when the text of a RichTextBox i