Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
61 views

I am working with Microsoft Visual Studio Professional 2022, C#. Using System.Windows.Forms I have a dialog with an instance of TableLayoutPanel, in the table I am creating a Label following by a ...
SPlatten's user avatar
  • 5,861
5 votes
4 answers
253 views

I have a Windows Forms application and a Form with many async void event handlers. This form can be closed by the user at any moment. After closing the form I want to delete a temporary file, and my ...
Theodor Zoulias's user avatar
1 vote
1 answer
92 views

I have a datagridview in my Winforms app with .NET 8. I want to highlight some rows based on the current user role and the request nextlevel. I write this function and call it in form load. But at the ...
Daryush's user avatar
  • 190
Best practices
0 votes
3 replies
111 views

Problem: the user control's size changes when placed on the tabpage What I tried: unset anchoring in the user control's children properties, but it didn't help. The user control designer class: ...
MaSta's user avatar
  • 19
0 votes
1 answer
75 views

I m facing a System.AccessViolationException issues during executing an SSIS package using C#. I have a parent windows form where i ask the user if he would like to proceed and if so, the parent form ...
Error 1004's user avatar
  • 8,288
-1 votes
0 answers
91 views

I am trying to show a modal dialog (ShowDialog) that was created as a WinForm. The dialog contains a WebView2 control that I want to fill using NavigateToString. I set the Source property of the ...
Tom Getzinger's user avatar
0 votes
2 answers
103 views

This problem is related to the creation and use of a user control in WinForms. At first, when I found online tutorials, I created a user control library. The first attempt was to modify a checkbox ...
MaSta's user avatar
  • 19
-2 votes
0 answers
44 views

I have a MDI parent with few types of childs, a RichTextBox in each. In one MDI child, when I Press Ctrl+Z, ALL the text I wrote in this session is deleted. But in the second MDI child, Ctrl+Z deletes ...
HaggayF's user avatar
  • 17
0 votes
1 answer
147 views

I am currently working on a .NET 9 WinForms program that contains an ImageViewer, which is a seperate window where you can scroll through a series of images. My problem is that even after closing the ...
Joelbu's user avatar
  • 144
0 votes
0 answers
134 views

I'm working with FastReport.NET in a WinForms project and I have a TableObject that spans across multiple pages. (No datatables, no report definitions) The table is generated correctly and page breaks ...
stef's user avatar
  • 41
1 vote
0 answers
54 views

I would like to know if there is a way to set the Header of form text to Bold. the property Form.Text is set but can i make it bold? I want the Form1 in the picture example to be in Bold. I tried to ...
Kostas L's user avatar
0 votes
2 answers
189 views

I'm trying to override the View property in a derived class from Listview: public class CustListview : System.Windows.Forms.ListView { private CustView mView = new CustView(); public enum ...
DennisV's user avatar
  • 11
1 vote
3 answers
477 views

The situation is that Microsoft.Ink.dll in Windows 11 24H2 has been recompiled with .NET Framework 4.5, overwriting the same 6.1.0.0 version tied to .NET Framework 2.0. As you can see in the image the ...
Manuel Castro's user avatar
0 votes
1 answer
81 views

I am currently using DesignSurface to create a custom designer. I want to enable dragging the column widths of a DataGridView on the designer page and record the changes, similar to how it works at ...
李晓航's user avatar
0 votes
2 answers
269 views

Can the TextBox portion of a ComboBox be made resizeable on all sides? I've done this with the TextBox (shown below). I thought the ComboBox was a composite control with a TextBox & ListBox, so I ...
spinjector's user avatar
  • 3,698
-1 votes
1 answer
127 views

I am trying to get data from Postgres table with a help of stored procedure and fill a Winforms DataGrid with it. This is the stored procedure: CREATE OR REPLACE PROCEDURE public.get_list() LANGUAGE ...
Yarr's user avatar
  • 9
4 votes
0 answers
199 views

We had a bug with a □ appearing instead of ⅓ in one of our applications when it was run on Windows 11 rather than Windows 10. This was because we were using a font (Verdana) which did not contain the ⅓...
Matthew Watson's user avatar
0 votes
0 answers
75 views

I have an issue with catching Invoke action. I created a simple WinForms app, with a single text field and a single button. I want to catch the Invoke_Invoked event in the Accessibility Insight ...
Roma's user avatar
  • 1
0 votes
1 answer
113 views

I have a problem with winform Graphics.DrawImage and I hope someone will be able to give me some insight. I have a bitmap of variable (and considerable) size that need to be displayed in a resizable ...
Khurt's user avatar
  • 13
5 votes
1 answer
164 views

After some advice from kind people over here, I managed to have my code working. However, an extra line, from the origin of the form to the first polygon point, is also drawn. I would like to learn ...
Florin Home's user avatar
0 votes
0 answers
156 views

I am developing a Winforms app using VS2022 in C# for .NET 4.8 to print accelerated reader labels for books. Some books do not have a barcode on the back so I added to may app the ability to take the ...
Charles Polson's user avatar
1 vote
0 answers
136 views

I need a custom DataGridView that always has a checkbox column as first column. I know how to achieve this at runtime. Any chance to display the column in the designer? When added in the constructor ...
Piglet's user avatar
  • 29.3k
4 votes
1 answer
104 views

We have an old (very old) WinForms application that depended on some 3rd party components that we are no longer allowed to use. One of those components was used to display tooltips on individual nodes ...
Boise's user avatar
  • 379
0 votes
1 answer
150 views

In C# Windows Forms application, I have problem as follows: I have tab control with 5 tabs On each tab, I have a DataGridView (control type is not important and you can consider a panel instead) ...
Hadi Mazareei's user avatar
0 votes
0 answers
89 views

I'm creating a custom UserControl in WinForms called SidebarControl, which has a MenuItems property of type List<SidebarMenuItem>. This property is editable in the Visual Studio Designer using a ...
Dino Thunder's user avatar

1
2 3 4 5
1985