1,623,620 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
33
views
Set correct default value for color properties
I have created a user control which is designed to allow the user to select a color. The code relating to a few properties in the control is as follows:
[Browsable(false)]
[...
Advice
0
votes
0
replies
42
views
Recreate real software animation (Lingo)
I'm creating the Lingo game from TV (Holland). Just the last details are the animations. The balls are build up as as grid, Border, Label and 2 Polygons for top and down. The Background and "...
1
vote
2
answers
107
views
Need help creating a custom ListBox in C# WinForms (Visual Studio 2022) [closed]
I am making a music player in C# WinForms using Visual Studio 2022.
The songs (.mp3 files) get populated into a ListBox, however I want to customize it but got no idea how beyond just changing the ...
0
votes
0
answers
45
views
BootstrapBlazor: Validation error inside a Table always appears on the first row
I am using BootstrapBlazor with a Table component inside a ValidateForm. I am binding the form directly to a List<T>.
Problem: my custom validation logic (IsValid in C#) works correctly and ...
0
votes
0
answers
55
views
Add header parameter to endpoint OpenAPI definition
I have an IBindableFromHttpContext<CurrentLanguage> endpoint parameter that I am parsing from language header.
Problem is that it does not show up on OpenAPI/Swagger as a header parameter field.
...
0
votes
0
answers
19
views
ESSL/device communication SDK not triggering face camera for enrollment on AI FaceMars device
I'm trying to automate face enrollment using ESSL SDK with an AI FaceMars attendance device, but the SDK isn't triggering the device's camera for face capture.
What I'm Trying to Achieve:
...
0
votes
0
answers
64
views
Creating an FPS controller based on Rigidbody
I am trying to make my own FPS controller based on Rigidbody, with "isKinematic" enabled. I am also trying to replicate the same controller mechanics found in games such as Amnesia, Penumbra, Portal, ...
1
vote
1
answer
40
views
Unity 2022 HDRP – Code inside #if GS_ENABLE_HDRP is grayed out in Visual Studio 2022
I’m using Unity 2022 (HDRP project) with Visual Studio 2022.
Visual Studio has Game Development with Unity installed and everything works correctly at runtime, the scene renders fine and I can play ...
1
vote
1
answer
61
views
CollectionView using C# MAUI for Android Not Showing Anything
I am attempting to learn C# MAUI (specifically for Android) however I am currently struggling to get a basic search & collection view working. The goal is to have a page with a search bar where ...
0
votes
0
answers
40
views
Avalonia : problem loading/showing image bindings with observable & dialogs
I'm currently learning the Avalonia framework and getting back into software development after doing game development over the years.
I'm trying to make my Images which is of type ObservableCollection&...
3
votes
0
answers
80
views
Statically generated XML parsing code using `Microsoft.XmlSerializer.Generator` and `sgen` is not called breaking AOT compatibility
I am converting a .NET 9 project to .NET 10 and making it AOT compatible.
One of the things I need to do is make XML parsing AOT compatible, and I am using Microsoft.XmlSerializer.Generator to create ...
0
votes
0
answers
48
views
Unity2D bulletmovement [closed]
I'm new to Unity and C# and tried coding a bullet.
I want to know why this doenst work (all the floats have values and all the GameObjects are assigned to things)
I also feel like this code is very ...
0
votes
0
answers
39
views
FileSystemWatcher fire event randomly [duplicate]
This unit test fails or passes randomly.
[Test]
public void CreateFile_ShouldUpdateTree_Simple()
{
// Arrange
_watcher = new DirectoryTreeWatcher(_testRootPath);
int eventTriggered = 0;
...
0
votes
0
answers
93
views
Custom in-app print queue stops sending data to ESC/POS thermal printer after app is idle [closed]
I have a C# WPF desktop application that uses its own internal print queue (database-backed) to send raw ESC/POS commands directly to a thermal printer.
I do not rely on Windows PrintQueue for job ...
0
votes
1
answer
115
views
Is it possible to display the parameters from the JSON before I use JsonSerializer.Deserialize?
How can I display the function parameters (SessionTicket, Deviceid, Loginemail, Language) in Azure portal when I call my Azure function? I just want to find out if the function parameters are correct ...