Skip to main content
0 votes
0 answers
42 views

Consider a small Winforms application that has a list of custom objects bound to a DataGridView. The data class: public class MyAwesomeClass : IDataErrorInfo, INotifyPropertyChanged { string _Name;...
lhiapgpeonk's user avatar
0 votes
0 answers
98 views

I'm working on a VB.NET WinForms app (.NET Framework 4.8) and seeing inconsistent scaling between forms. I develop on my work laptop using a Remote Desktop Connection. This problem began when I ...
Joel S.'s user avatar
  • 91
0 votes
2 answers
126 views
+50

I have a DataGridView control on a Windows form, and I am using the CellPainting event to apply custom styling. This here is my styling code: private void dgv_CellPainting(object sender, ...
Jake Doe's user avatar
2 votes
1 answer
103 views

We have a Winforms project: <PropertyGroup> <TargetFramework>net8.0-windows</TargetFramework> </PropertyGroup> We noticed that in Visual Studio 2017 and above, any ...
GuidoG's user avatar
  • 12.4k
-1 votes
0 answers
52 views

Using Winforms, I have a UserControl with a few nested LayoutPanels (Table, Flow,etc.) to arrange the controls so that they align and stretch correctly when the control is resized. I have set the ...
John's user avatar
  • 43
0 votes
2 answers
141 views

What I'm aiming to do, is to open external applications within my own WinForms application, then lock their size and position to whatever I've set it to in my program. I've been able to get them to ...
CraftyMaelyss's user avatar
3 votes
2 answers
181 views

Inherited code that has a method for showing the System.Windows.Forms.OpenFileDialog control which works fine when called from the main form. But when called from any child form, the folder panel is ...
BlueGI's user avatar
  • 231
0 votes
1 answer
79 views

I am integrating a modern web interface into a legacy Delphi 7 desktop application by hosting a C# WinForms executable that uses WebView2. The C# application works correctly when run standalone. ...
Roberto Vieira's user avatar
0 votes
1 answer
160 views

public Button() { this.Size = new Size(100, 100); this.ForeColor = foreColor; this.BackColor = BackColor; this.Text = "Hello"; } I created this constructor class to ...
user32189599's user avatar
Best practices
1 vote
3 replies
171 views

I'm new C# dev and already got some problems with binary files, long paths, sometimes corrupting files and also GitHub versioning. Do you know some good practices with .gitignore and versioning that ...
PEDRO HENRIQUE VALERIO DE SOUZ's user avatar
0 votes
0 answers
59 views

I need to solve passing value with dynamic form, below is the explanation MainForm with menu and status bar on bottom side of windows. The status bar (lbBulkForm) indicate active form and (...
JanSuki's user avatar
0 votes
0 answers
80 views

I have a checkbox filter for my datagrid table - a pretty simple one: [Account] IS NULL. It works off checkbox "unassigned" that when pressed filters to show only unassigned rows. The ...
Rekcah's user avatar
  • 35
-1 votes
1 answer
121 views

I'm creating a custom circular button in WinForms. I can successfully draw the circle using DrawEllipse. However, I don't know how to calculate the correct proportional coordinates to draw a scalable ...
user32189599's user avatar
0 votes
0 answers
62 views

In a VB.NET WinForms application (.NET Framework 4.0) running on Windows 11, a specific icon switching behavior occurs when the taskbar becomes crowded. Here is my code snippet: Public Class Form1 ...
gpt researcher's user avatar
1 vote
1 answer
193 views

I want to control whether there is a border line between the cells in a TableLayoutPanel, much like I can do in an Excel table. To begin with, I set my CellBorderStyle to None as suggested in Draw ...
Tom Getzinger's user avatar

15 30 50 per page
1
2 3 4 5
6612