csharp

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.

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.

Rock-Paper Scissor Game in C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a game program called Rock-Paper Scissor Game in C#. A rock-paper-scissor game is one of the most popular kiddie games here in Philippines. It is a simple game played around the world with many names and variations. It's a good way to decide whose turn it is to do something, and it's also played competitively. And today we will make this game and compete with a computer player. Now, let's start this tutorial! 1.