Category Archives: Visual Programming using C Sharp

Designing Digital Clock in Visual Programming

Designing Digital Clock in Visual Programming – Create a Windows forms application to design a digital clock using C# in visual Studio. Timer Control Timer control is used to executes a code block repeatedly at a specified interval. For example, to display time every second or backing up a folder every 10 minutes or writing… Read More »

Loading

Blinking Text in Visual Programming C Sharp

Blinking Text in Visual Programming C Sharp – This is a windows forms application using a label control and timer control. This app will blink a text of label control. We will use timer control for this purpose. Source code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using… Read More »

Loading

Use Color From Color Dialog Box C Sharp

This windows forms application will display windows common dialog box for selection of color. The user will select a color. The click event handler for button will set the back ground color of the form according to the color selected by the user. Source Code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing;… Read More »

Loading

Programming Mouse Buttons in C Sharp

Programming Mouse Buttons in C Sharp – This is a windows forms application that will check whether the user has clicked a left mouse button or a right mouse button. It will response accordingly. Let us suppose that we will change the form’s back color to RED when user clicks left button and GREEN when… Read More »

Loading

Employee Database Save Find Record

Employee Database Save Find Record – C Sharp Database Application – Windows Forms Application in C Sharp / Visual Studio. Source Code using System; using System.Windows.Forms; using System.Data.OleDb; namespace EmployeeSaveFind { public partial class Employee : Form { OleDbConnection connection; public Employee() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { string constring =… Read More »

Loading

Insert Phone Record into Table Visual Programming

Insert Phone Record into Table Visual Programming – Consider a table Phone in database named Mobile. Write C Sharp Code to INSERT data INTO database after creating appropriate form using this table and database connection. Source Code using System; using System.Data.OleDb; using System.Windows.Forms; namespace MobileDB { public partial class Form1 : Form { OleDbConnection connection;… Read More »

Loading

Temperature Conversion Visual Programming C Sharp

Temperature Conversion Visual Programming C Sharp – Design a Windows Forms Application in visual studio using C Sharp. Add a label for program header in a label control. Use a text box to input temperature to be converted. When we click on any one of the radio buttons with option To Celsius or To Fahrenheit,… Read More »

Loading