
Learn C# quickly and deeply with Windows Forms, starting from scratch to build your own database application and real-world projects like calculator, date-time clock, weather forecasting, and Excel file handling.
Download and install Visual Studio 2022 on Windows, then review system requirements including supported operating systems, CPU, memory, and disk space to prepare for Windows app development.
Download and install Visual Studio 2022 on Windows 10 from the official site, choose the Community edition, and configure workloads like asp.net and dotnet desktop development.
Learn to use the legacy resource editor in Visual Studio to add images to a Windows Forms project by switching from the new editor to the older version.
Learn how to install and use Visual Studio to create your first C# windows form desktop project using dotnet core or dotnet framework, configure the solution, and run it.
Explore common form properties in Windows Forms, including text, start position, show in taskbar, icon, border style, colors, fonts, background image, layout, and auto scale mode.
design a student registration form in Windows Forms using Visual Studio and C sharp; learn to add controls, group boxes, labels, text boxes, buttons, and resources.
Create your first C# code in Visual Studio by building a Windows Forms app with a show message button, a click event, and a simple message box.
Learn to use comments in C# to describe code and to skip execution, using single-line and multi-line comments, and apply quick commenting and uncommenting techniques.
Learn to write C# code to change the form and control back colors and text colors in Windows Forms, using color selections and understanding parent‑child color inheritance.
Learn to change button and form text in a Windows Forms app using C# code, including using this and this.form to access properties, colors, and events.
Learn how to write C# code to enable and disable controls in Windows Forms with two buttons, using the Enabled property and group box inheritance.
Learn to show and hide controls in Windows Forms by toggling the visible property in C# with true or false, including buttons and group boxes.
Learn to work with date and time in C# by retrieving now, converting to string, and formatting date and time for display in a Windows Forms app.
Create a digital clock in a Windows Forms app using a label to display time, and a timer with a 1000 ms interval to refresh, showing a 24-hour clock.
Learn how to define and use string variables in C# windows forms, including creating a string named msg, concatenating text and values, and displaying messages with a message box.
Learn to work with int32 and int64 in C#, parsing and summing inputs. Know int32 limits (-2 billion to 2 billion) and when to use int64.
Learn how to work with the float, double, and decimal types in C#, explore their precision and range, and assign decimal values to int32 and int64 using practical examples.
Explore using the boolean variable to set true or false, controlling the enabled and visible properties of controls such as the result text box and show button.
Learn how the scope of variables controls accessibility from a button click to other parts of the class, converting a local msg into a publicly accessible field.
Learn to use the if statement, including if, else if, and else, in c# windows forms, and build an age calculator using date of birth, current year, and message boxes.
Learn how to implement multiple if statements in c# to map a month number to its name, validate input, and display results with message boxes.
Learn how to implement the switch case in C# to map month numbers to names, use default and break, and display results with a message box.
Master configuring a Windows Forms combo box, managing items with add and remove actions, and updating a count label while handling selection via the selected index.
Learn to implement the for loop structure to repeat actions, start at zero, continue while i < 100, increment by one, and populate a combobox with items.
Discover using the color dialog in a Windows Forms app: add the dialog, show it, and apply selected colors to label back color and text color, via allow full open.
Learn to use the folder browser dialog to let users select a folder, retrieve the selected path, and display it in a textbox.
Demonstrates using the Windows Forms font dialog: show the dialog, select a font, apply it to a label, and update a font text box with the chosen font.
Learn to use the open file dialog in a Windows Forms app, load images into a picture box, and configure filters for jpg, png, and all image files.
Learn to use the save file dialog in Windows Forms by configuring file name, filter, and extension, then save an image with the chosen format to a target location.
Design a simple calculator in a windows form app using visual studio, including creating the calculator frame, startup project setup, text box display, buttons, and basic user interface styling.
Show how to implement the clear and numeric buttons for a calculator GUI in C#, updating the main textbox from zero and building numbers with if logic.
Learn to reduce code repetition in C# by creating reusable methods with proper visibility and void return types. Call them from button events in a Windows Forms calculator.
Write and wire the operator button logic in C# for a Windows Forms calculator, handling plus, minus, multiply, and division with label updates and clear functionality.
Learn to implement a decimal button in a C# Windows Forms calculator, including preventing multiple decimals by checking the main text box for a dot and handling return flows.
Learn to implement the equals button in a C# calculator by parsing input as doubles and performing plus, minus, multiply, and divide with if or switch, then display the result.
Learn how to add a try structure to a C# calculator app to guard against unexpected errors, using try-catch and showing error messages with a message box.
Publish the calculator to end-user computers by configuring the project's executable name, icon, and dotnet core runtime, then package and transfer the published files for deployment.
Discover how to build a database application in Visual Studio by creating the database, crafting the app, and connecting via ado.net to display data from sql server in a datagridview.
Design and create a SQL server database for a student management app, building the database, tables, and sample data with primary keys, identity columns, and appropriate data types.
launch a new c# windows forms project in visual studio, configure startup form as student registration, and set up an in-memory data set with the designer.
Learn to add a data table to a dataset with a table adapter, create a SQL server connection, and generate insert, update, and delete methods to load and preview data.
Demonstrates loading data into a data table via a table adapter and connection, then configuring insert, update, and delete queries, and setting up binding with a binding source.
Design a student registration form in Windows Forms by setting up a dataset, table adapter, and data table, including a data entry interface with buttons and DataGridView.
Design and configure the top toolstrip by adding add, edit, delete, save, and cancel buttons. Assign images and text, adjust layout, and manage resources for reuse.
Add form items in Windows Forms, including labels, text boxes, a date time picker, and combo boxes, while configuring IDs, read-only fields, and auto-generated keys.
Learn to populate a datagridview by using a bindingsource connected to a dataset and its students data table, and load data with the table adapter from the database.
Bind the form's ID, first name, last name, and date of birth to the data table via a binding source, using data binding to connect text properties and datetime picker.
Customize the datagridview by editing columns, adding data bound columns linked to the bindingsource, adjusting header text, width, visibility, and data property names.
Learn to enable and disable form controls in a windows forms app by managing the save, cancel, group box, and datagridview states across add, edit, and delete workflows.
Learn to implement add, edit, and delete actions in C# using a binding source to modify the data table and save changes with a table adapter.
Implement the save button in a Windows Forms app using C#, BindingSource, and TableAdapter to apply insert, update, and delete changes to SQL Server.
Learn how to implement a cancel button in Windows Forms by using bindingSource.CancelEdit and dataSet.RejectChanges to rollback edits in the students data table.
Fix two bugs in a Windows Forms app. Adjust save logic and enable save and cancel, and prevent date of birth null errors by using current date-time from the picker.
Learn to add a varbinary max photo column to SQL Server, update the table adapter and data set, and bind the photo to the form background image using binding source.
Learn to implement a browse button using an open file dialog to select a jpg photo, load it into a picture box, and save it as binary in SQL Server.
Design a student search form in Windows Forms by configuring a data grid view, binding source, and search controls to filter by ID, last name, or date of birth.
Learn to search numeric columns like id and grade in SQL Server and a WinForms app using parameterized queries and data grid results.
Discover how to search sql server text columns using equals and like operators on varchar, nvarchar, and text data, including unicode with the n prefix and wildcards.
Learn to search last names in a C# Windows Forms app using a table adapter and SQL server, with where clauses, like and exact searches, and parameters.
Search date columns in SQL Server using where and equals for dates, then use between to filter a date range while handling date formats.
Learn to search a date column in a C# WinForms app using a table adapter, building queries with equals or between, and formatting date values for the data set.
Load all database records into a DataGridView by using the table adapter’s fill method on the dataset’s student data table, then click show all data to display everything.
Design the main form with a toolstrip and panel, set startup position, add icon resources, and create a top toolbar, bottom panel, and a date and user footer.
wire a close button in a Windows Forms app, show a confirmation message box, and handle dialog results to exit or cancel the application.
Learn to create and display student and search forms in Windows Forms, choose between simple show and show dialog, and manage MDI parent relationships for seamless navigation.
Learn to display live date and time in a Windows Forms app with a timer that updates a date time label every second, using short and long date/time formats.
Learn to load a background image in a Windows Forms app with C#, using a combo box to switch images and handle missing files with try-catch.
Add a minimize button to the form in a Windows Forms app by converting the close button to a drop down button, wiring events, and setting the form to minimize.
Save the selected background image index at exit and load it on startup. Use C# Windows Forms, the combobox selected index, and application settings.
Design a users table in SQL Server, including id, username, user password, user photo, and comment, with auto increment, and connect it to the dataset via a table adapter.
Design the users form by binding a SQL data set to a binding source and datagridview, then customize columns like id, user photo, username, password, and comments.
Copy and paste button handlers for new, edit, delete, save, cancel, and browse into the user form. Wire up the form load, bindingsource, and users table adapter.
Mask passwords with a password char, enforce a max length, validate non-empty and matching passwords, and guard the admin user against deletion using a boolean flag.
design a Windows Forms login form with a user list combobox, username and password fields, and ok and cancel buttons, binding to a SQL data source via a binding source.
Create a Windows Forms login dialog with data binding, load users from SQL RDS via a table adapter, validate passwords, and display the user name and image.
Save the login username in the application settings and display it on the main form and student registration form. Load and update the username from settings.
Design the settings form in a Windows Forms app by adding text boxes and labels for school name, manager name, landline, and address, plus save and exit buttons.
Learn to write C# code to save and load application settings in a Windows Forms app, including creating a settings form, defining string properties, and persisting user input.
Design the about us form in Visual Studio, adding labels for company name, software name, version, and copyright, center it on screen with a fixed single border.
Learn how to assign keyboard shortcuts to main form buttons using key preview and the key down event, mapping keys like F2–F6 and escape.
Write C# code to run the Windows Calculator from a menu item by locating calc.exe via the system folder using Environment.SpecialFolder and starting the process.
Explore how to use the OpenWeatherMap API to fetch weather data, obtain an API key, and build city-based JSON queries for use in C# projects.
Create a weather forecasting app in Visual Studio using a Windows Forms .NET 7 project, integrate the OpenWeatherMap API, set startup to the weather form, and prepare for NuGet packages.
Install the json package from NuGet to enable json support in your project. Use the NuGet package manager or console to install either Newtonsoft.Json or System.Text.Json for your weather application.
Build a Windows Forms app that fetches weather data from OpenWeatherMap using C#. Parse JSON with Newtonsoft.Json and display city, country, coordinates, temp, humidity, wind, and description.
Learn to write c# code that reads a city name from a textbox and searches weather using an API key, returning the results.
Design a weather loader method to load data using a json token from Newtonsoft.Json and map fields to labels, including city name, latitude, and longitude.
Learn to assign and switch units of measurement using the units API, choosing metric, imperial, or standard (Kelvin by default) and formatting queries with ampersands for weather data.
Load the weather icon by extracting the icon name from the weather data and composing an openweathermap image URL, then display the icon in a picture box.
Learn to use the try statement to protect C# code from unexpected errors, including remote server failures and city not found, with message boxes and controlled return.
learn to fetch weather data by latitude and longitude to avoid city-name ambiguities, using google maps to obtain coordinates and implement the api call with lat and lon.
Add multilingual support to weather API return values using a lang parameter and language codes to translate city names and descriptions.
Explore how to use the forecast weather API to retrieve five days of three-hour forecasts, customize with latitude, longitude, city name, units, and count, and format the JSON results.
Design a forecast form in Windows Forms by configuring a data grid view and up to 40 rows of weather data, including temperature, humidity, and location information.
Learn to forecast weather in C# with two methods: by city name and by latitude and longitude, using Windows Forms and a DataGridView.
Learn to write c# code to limit api results with a count parameter, use a for loop across forecast data, and display it in a datagridview.
Hi There!
Do you want to learn the programing deeply and easily?
Have you ever thought to learn C# via projects?
Are you students or C# lover and you want to learn C# by windows forms?
Here i am to show you how to learn easily an quickly the C# by many projects.
In this course you're going to learn :
4 Courses in One + 22 Hours + 8 live Projects
Create Windows Apps by C#
Basics of C# like: variables
for loop structure
If statement
Controls and events
Resources in C#
Debugging the codes
Create calculator application
Design Student info application
Build Weather forecasting application for windows
Creating multi-form projects
Controls like : Button, TextBox, ComboBox, Datetime picker
Create digital clock
Working with date and time
Create a calendar
Advance using of Combobox
Working with images
Dialogs in C#:
Creating method in C#
Design the windows app in C# and SQL Server
Export data to Excel file
Create weather forecasting app
Create report by PDF file
and...
Don't hesitate to start learning C# by up to 7 different projects with many tips and tricks!
In this course you are going to learn the C# deeply and easily with the best method.
Let's get started !!!