All Questions
79,759
questions
0
votes
0
answers
17
views
Getting The Wrong Status Codes From HTTP Client Requests
I wrote a simple windows forms application that helps me test HTTP status codes. I've been having an issue where I'm getting bogus status codes from HTTPClient request though. Code below:
private ...
-1
votes
0
answers
66
views
UI freezes when trying to update toolStripStatusLabel.Text from async method using IProgress<T>
In my application, I pass processing parameters to an async method which loads a file from the disc. I use async method to be able to use the UI while the file is being loaded and to avoid UI to ...
2
votes
0
answers
60
views
Referencing WinForms Class Library from .NET 8 and .NET Framework 4.8
I'm trying to create a class library that contains WinForms (UI screens) that could be shared between multiple projects. Problem is that some projects are using .NET 8 and some are still using .NET ...
0
votes
0
answers
85
views
Problem scaling a grid of buttons in a C# Winforms app
I'm working on a WinForms application in C# that dynamically generates a grid of buttons at runtime. The application runs fine on a PC monitor with 100% scaling, but when I run it on my laptop's ...
0
votes
0
answers
46
views
Winform App to UWP App System.Data.SQLite error
Hi everyone. Hoping someone can help me and thank you to anyone that tries.
I have a WinForm app that I'm using in a Windows Application Packaging Project (Creates MSIX packages for distribution in ...
0
votes
0
answers
23
views
DockPanelSuite float Document area
Sample setup, I have 5 tabs in the DockState.Document view, and 1 tab in DockState.DockRight
I have these 2 methods. The first floats the current active tab. It works fine. The 2nd is supposed to ...
-1
votes
0
answers
34
views
Windows form buttons fail to launch resources [duplicate]
I created a windows form using C#, the form contains buttons and labels and a tab control.
Every button and label has different functionality. For example, some buttons open different browsers, and ...
-2
votes
0
answers
72
views
Dynamically generate Combobox, Textbox, NumericUpDown [closed]
I created a form in .NET 8 / C# / Winforms, but I'm stuck at implementation.
My form looks like this:
I need to be able to add / delete with the green and red buttons a product line with batch, batch ...
0
votes
1
answer
55
views
Why the MouseLeave event get trigger even if the mouse cursor is still inside the pictureBox control?
this is the part in the code:
pictureBox.MouseEnter += (s, e) =>
{
pictureBox.BackColor = Color.FromArgb(50, Color.Black);
pictureBox.Controls.Add(new Label
{
Text = tooltipText,...
0
votes
0
answers
29
views
MouseCursor does't hide using SetSystemCursor
i'm trying to hide cursor while shaking the mouse like the mac OS style
also editing AngryMouse repo to do that funcionality
AngryMouse
but the SetSystemCursor function dows't work after second shake.....
0
votes
0
answers
44
views
Dynamically generate Products and Batch: Combobox, Textbox, NumericUpDown [closed]
I created a form in .NET8 C#, but I'm stuck at implementation.
My form looks like this:
I need to be able to add / delete with the green and red buttons a product line with batch, batch number from, ...
1
vote
1
answer
45
views
Button is taking focus even when TabStop is set to false
On a Form I have 2 Labels and a Button.
In one of these Labels my game is played, but I am having an issue: the player plays this game using their 'WASD' and arrow keys; when the player uses their ...
0
votes
0
answers
24
views
Charts are not showing all the data
My charts are only displaying the first pair of values in the database when there are multiple students. I know that the sql query is correct and that the correct values are being stored in the ...
0
votes
0
answers
18
views
Issue in LibVlcSharp: resume play after invoking NextFrame multiple times is not smooth
I have a windows forms application based on .NET 8.0. I use LibVLCSharp 3.9.0 to display a video file saved in a samba shared folder.
This is my code to play the video file:
var libVLCOptions = new ...
0
votes
0
answers
37
views
Is there any ways to put photo on winform when making animation [closed]
I am totally new to C# and WinForm, and I want to learn how to make a simple 2D animation with winform.However, I am confused how to add my character into the form to let people could see it. The only ...