Relative Content

Tag Archive for c#.netwindowswinforms

How to create a shadow with rounded corners

I’m making a borderless form based on WinForms with rounded corners on Windows 7. To make its edges are visible, I used the following code to drop a shadow on it. This does work, but I’m finding that there’s an almost transparent thing around the form that makes the rounded corners less noticeable.

How may I list network shares from a NAS, akin to those shown by File Explorer?

I am trying to create an accessible (hands-free – neither mouse nor keyboard) replacement for (file) Explorer; NET 7.0; Windows 10 & 11. I am stuck trying to get the list of partitions, folders and files from a NAS. As an example, my NAS has this address: \169.254.8.92; if I put that into the address bar of File Explorer and press enter the NAS with all of its partition shows up. Thereafter, I can double-click any of the visible partitions to drill down with File Explorer.

.net from application Thread Broken error

İ have been trying to make application to reed data from serial(baudrate 9600) and write to a text box than write the same data to graph but it wont work. it either doesn’t do anything or the application froze until my RAM runs out and from what i can see moment i connect to my arduino(i checked with arduino İDE it sends the data correctly) my ram usage goes from 32-50 to 1gb and internet doesn’t have any solution i couldn’t even find the same problem