In C#, how can I create a TextReader object from a string (without writing to disk)?

I'm using A Fast CSV Reader to parse some pasted text into a webpage. The Fast CSV reader requires a TextReader obje...

Writing to output window of Visual Studio?

I am trying to write a message to the output window for debugging purposes. I searched for a function like Java's sy...

Create a layered window on Linux X11/Gtk?

My question is generally how can I create and position layered windows on Linux using X11 or some toolkit such as Gt...

How to draw chess board pattern with Brush on Canvas??

I got Canvas and some Rectangles of different width but same height. I draw Rectangles on Canvas pragramticaly, wid...

c# Balloon Tip Text: Remove Project text from notification?

I am using Balloon tip text in C# and everything is working as expected. However whenever my notifications appear, ...

Reading an integer from user input?

What I am looking for is how to read an integer that was given by the user from the command line (console project). ...

Heatmap style gradients in .NET?

I am trying to create a heat map with gradients that look similar to this: This image shows three points and the g...

Trying to insert a digital signature line in a docx file?

I'm trying to insert a digital signature line in an openxml (docx) version of a word document. I don't get any error...

Alternative way to check if CTRL+ALT+DEL screen is visible?

Currently I'm using the below code to test if the CTRL+ALT+DEL screen is visible and it is working as expected. The ...

Convert List into Comma-Separated String?

My code is as below: public void ReadListItem() { List<uint> lst = new List<uint>() { 1, 2, 3, 4, ...

How can I make black color to transparent color??

I have image: Image<Bgr,Byte> someImage = new Image<Bgr,Byte>(someImage.jpg); How can I make all...

Change the checkbox in UWP/XAML to show a cross when false?

Thank you in advance for your help. I want to change the style of a checkbox in my C#/UWP/XAML application to show a...

Pop off array in C#?

I've got a string array in C# and I want to pop the top element off the array (ie. remove the first element, and mov...

How do I create a dashed border with rounded corners in WPF??

The Rectangle element has StrokeDashArray which allows it to be drawn with dashes, but it doesn't support rounded co...