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

ListBox Add Remove Move Items Visual Programming

ListBox Add Remove Move Items Visual Programming – C Sharp Windows Forms Application with: Buttons to Add item, Remove selected item, View Selected Item, Move selcted item of listbox 1 to list box 2, Move all items of listbox 1 to list box 2 using System; //using System.Collections.Generic; //using System.ComponentModel; //using System.Data; //using System.Drawing; //using… Read More »

Loading

Simple Calculator in Visual Programming C Sharp

Simple Calculator in Visual Programming C Sharp using System; //using System.Collections.Generic; //using System.ComponentModel; //using System.Data; //using System.Drawing; //using System.Linq; //using System.Text; //using System.Threading.Tasks; using System.Windows.Forms; namespace SimpleCalculator { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void textBox1_TextChanged(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) {… Read More »

Loading