Skip to main content

All Questions

Tagged with
0 votes
1 answer
62 views

How can I create, duplicate, or copy paste a whole Border control as it is with all of its controls inside it

first of all, I just want to note that I might be not good at english, and i'm sorry about this. **Issue: ** I'm for now learning .net Maui and i want to learn how can i do this: i want to make a ...
TLDev's user avatar
  • 1
1 vote
1 answer
52 views

Creating a sketch where part of it could be moved at runtime using the arrow keys

I have a very old software for which the source code is not available and I am not even sure what language was used to develop it. I am trying to replicate it using windows forms (C#). I have stumbled ...
user20593243's user avatar
0 votes
0 answers
60 views

Winforms group box missing Click event

I have a WinForms C# project targeting .Net Framework 4.7.2 with a form which includes a group box. There is no Click event for this control visible from VS2022 when showing control properties via ...
SimonKravis's user avatar
0 votes
0 answers
23 views

Thread and function and listbox [duplicate]

I have just entered in topic of Threads and I'm beginner in this topic. I have a problem with my program in runtime like this: Cross-thread operation not valid: Control 'listBox1' accessed from a ...
AliRezaa RJ45's user avatar
0 votes
1 answer
57 views

WPF C# GroupBox Control

I currently need to get the content information within the textbox(s) with a groupbox, these textbox(s) have same first five characters. I'm pretty new at WPF C# and have read a few posts about the ...
cmgossettattnet's user avatar
1 vote
0 answers
43 views

How can I access controls of form in another form

I'm working in a windows form application. I have two forms; in form A I have two picture box and in form B, I have a button. I want form B to show a message when I click on picturebox2 in form A and ...
faranak's user avatar
  • 11
0 votes
0 answers
48 views

C# Winform Change the type of row for data grid view

There is a DataGridView component in C# Winform. It's easy to change the column type to checkbox or text. I wonder that how to change the row type like that? I tried to find on the internet but there ...
Hoàn Nguyễn Công's user avatar
0 votes
1 answer
81 views

Logging to a dynamically created WinForms control using the configuration file with log4net

The case is as follows: I have created a custom control that represents a camera connection and its properties in which there is a ListBox. I instantiate this custom control dynamically at runtime. ...
Pete Hilde's user avatar
0 votes
0 answers
46 views

C# UWP MediaPlayerElement customize TransportControls CCSelection with Choose Subtitle

In C# UWP i overrided the MediaPlayerElement's trasnportcontrol. I didn't find anything about how can i extend my code to add a button inside the CCSelectionButton's MenuFlyoutItem in order to be able ...
tAMBI99's user avatar
  • 15
0 votes
1 answer
65 views

'AutoSize=true' panel height not adjusting when labels become multiline

I'm currently facing an issue with a panel in my C# WinForms application. The panel is docked at the top of the form with AutoSize set to True. Within this panel, I have a TableLayoutPanel also with ...
Micra's user avatar
  • 1
1 vote
0 answers
170 views

Create a Windows Form Control out of WebView2

Trying to create a windows form control to open a URL in the Edge Browser. Wrote the below code and I am trying to debug the control with windows form app. Any help how to resolve this error?: ...
sampal Reddy's user avatar
1 vote
1 answer
89 views

How to change back color on focus tools by dynamically in c#.net desktop application

In my desktop form there are many control. I want to change back color of that active control on Focus & back to its Original color once it lost focus. Here is my code, public BillingMetal(Billing ...
s.k.Soni's user avatar
  • 1,220
2 votes
2 answers
2k views

How to use Windows 10/11's Dark Theme in C# WinForm controls?

I'm trying to make a C# WinForm App with Dark Mode ability. Windows already have 'dark themed controls' like this: (NOTE: This is made with AutoHotkey) And I also want to use this. I've searched some ...
tetratheta's user avatar
0 votes
1 answer
60 views

trying to find and use control using event without ASP

What I am trying to do is create a library of DataGridView functions that I can copy and paste AS IS into a program. For brevity all functions will reference that DataGridView as dgv. As things stand ...
Mike Sr's user avatar
  • 533
0 votes
1 answer
60 views

Combobox: How to populate Text property when SelectedItem changes

The SHORT Version: In a winForm, I'm using the .Text property of a combobox instead of a label. Ex: [pick car make]. The combobox is set to a datasource. On selecting a line item from a datagridview ...
CodeButcher's user avatar

15 30 50 per page
1
2 3 4 5
199