C#

C-Sharp

Bouncing Ball in C#

Submitted by donbermoy on
In this tutorial, I will teach you how to create a program that has the animation of a bouncing ball in C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only a timer named Timer1. You must design your interface like this: design 3.

Simple Calculator using a Class in C#

Submitted by donbermoy on
In this C# tutorial, I will teach you how to create a program that will compute sum, difference, quotient, and product as just a simple calculator that uses a class. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

screenshot tool

Submitted by Paul Young on
A simple window capture software, it is quite simple to understand so I don't feel there's a need for a tutorial. All it does is take a screenshot of an active window to a Bitmap (similar to Alt+Print Screen) and displays it in a PictureBox, I guess the only interesting function is CreateBitmap().

Record Voice and Play Recorded Sound in C#

Submitted by donbermoy on
Today in C#, i will teach you how to create a program that records voice and plays it (microphone) using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your program as microphone. 2. Next, add three

Display Directory Structure using TreeView in C#

Submitted by donbermoy on
Today in C#, i will teach you on how to create a program that loads and displays the directory structure of C using the TreeView control in C#. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and named your project as TreeViewDirectory. 2. Next, add only one TreeView1 named TreeView11 to display the contents of C directory structure.

How to Encrypt a File in C#

Submitted by donbermoy on
In this tutorial, I will teach you how to encrypt a file using C#. This is different in encrypting just only a textbox, but here we will encrypt the content of a file. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Encrypt and Decrypt. 2.

Printer settings: Display the list of valid paper sizes

Submitted by donbermoy on
This tutorial will teach you on how to get and display the list of valid paper sizes of the printer. I already have this tutorial on how to display the list of printers installed in the computer. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Printer Settings. 2.

Marquee Text with NumericUpDown Control in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that has the marquee text functionality and has a NumericUpDown control to control the speed of the marquee text. We all know that in HTML, a marquee is a small section of the browser window that displays text that rolls across the screen. You use the MARQUEE element to create scrolling section. Now, let's start this tutorial! 1.