C# Corner

Resources  
  • ProgressBar in C#Feb 22, 2000. You need progress bars to display the progress of your application or background tasks.
  • Meal Scheduler in C#May 04, 2000. In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
  • New Modifiers in C#Jan 26, 2001. If you come from a C++ or Java background to C# then you will of course notice some strange keywords introduced to this new language, especially the "new" and "override" modifiers.
  • Making UI more responsive using ThreadingFeb 12, 2001. This example shows how threads can help us to make User interface more responsive when we have some background jobs.
  • Space Invaders in C# and .NETDec 23, 2001. Yes, the classic arcade game has returned and is appearing in C# Corner complete with sound and authentic aliens and source code. It's not quite as good as the real game, but with a few adjustments it can get there.
  • Another Tetris Game in C#Feb 22, 2002. Here is another version of Tetris. This program uses opaque background instead of real double buffering.
  • Owner Draw Menus in C#Apr 03, 2002. This article will explain to you how we can draw our own menu items with our own fonts , pictures , background color and other graphics objects.
  • Asteroids in C#Apr 04, 2002. As my first experiment in a game design, rather than using a DirectX wrapper, I decided to explore the functionality of GDI+. GDI+ has lot of nice features to offer but performance wise it is slow. So GDI+ may not be a good idea to develop practical fast paced games. This game also includes sounds.
  • Loading XML File in a TreeView Control using MultithreadingApr 19, 2002. There are many occasions when programmers need to develop multithreading applications, which can load big files in the background and let the user do data entry or other jobs without any interruption. In this article, I'll show you how to create multiple threads to load multiple files.
  • Pro Developer: Throwing Money Out the WindowDec 18, 2002. It's common knowledge among programmers that most of the ills of the software industry, and most particularly the companies where we work, could be solved by simply letting the technical people make the technical decisions. In fact, that sounds so obvious that you might be tempted to shake your head and wonder what planet I come from. Obviously, since this is so incredibly logical and sensible, it's a given that most companies leave management decisions to managers, and technical decisions to techies, right?
  • Real Life SQL and .NET: Part IIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : Using SQL with C#: Part IXJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IVJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part XIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : using SQL with C#: Part XJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part VIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : SQL Subqueries: Part VIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part VJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : using SQL with C#: Part XIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET :Using SQL with C#: Part VIIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Generic Web Service ProxyFeb 04, 2004. In this article I will explain how you can consume a web service without using the standard "Add Web Reference" in Visual Studio and how to do this without using SOAP.
  • Advanced Notepad in C#Apr 13, 2004. This is an advanced version of Notepad that allows you to search, replace, change background and foreground text color. It also provides registry editing options.
  • Coloring the Console in C# Oct 25, 2004. When working with console applications in C#, you always see a black and white screen. What if we want to change the background color of the console? We can change the foreground and background color of our console application by using win32 API SetConsoleTextAttribute().
  • ClickMania GameDec 21, 2004. This is an old game, first implemented in 1996 or so... It has a great addictive power. You will quickly find out the rules. I used the winmm.dll library for playing sounds, the picturebox.Paint event to draw bitmaps in a Picturebox and a recursive function to check the balls next to each other for the colors.
  • Microsoft patterns & practices: The Enterprise LibraryJul 06, 2005. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform.The following article covers details on the Data Access Application Block.
  • Enterprise Library Caching Application BlockJul 12, 2005. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform. The following article covers details on the Caching Application Block.
  • Microsoft patterns & practices: The Enterprise LibraryJul 12, 2005. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform.The following article covers details on the Data Access Application Block.
  • Security in ADO.NETJul 16, 2005. This article gives a sound idea how to write secure code for ADO.NET . Data Access Layer (DAL) is a common and very curtail for your application. Its very important know some of the basic security points while writing ADO.NET program.
  • The GrouperJan 25, 2006. The Grouper is a special groupbox control that is rounded and fully customizable. The control can paint borders, drop shadows, gradient and solid backgrounds, custom text and custom icons.
  • An Introduction to C# GenericsFeb 06, 2006. There is a reality; most of the developers confuse about C# Generics. Actually, there is no reason for that. If your background comes from C++ or Java you may understand more easily. What “Templates” tell you from your C++ knowledge or “Generics” from Java.
  • Playing Sounds in .NET 2.0 Using Sound PlayerFeb 13, 2006. If you have ever played sounds in your applications, you must be familiar with PlaySound() WIN32 function. Prior to .NET 2.0, there was no way to play sounds thorugh the managed API. The SoundPlayer class introduced in .NET 2.0 now allows developers to play sounds using managed API.
  • Multi Threaded File Reader and GeneratorMar 07, 2006. The attached source code with this article is a multithreaded application written using .NET 2.0 that shows how to use the background worker threads to read a text file, generate reports and show report progress and completed events.
  • Antialiased Analog ClockApr 04, 2006. This is an antialiased analog clock sample written in C# using GDI+. It has no flicker at run time because of using Double Buffering technique, and it has many properties that you can customize it such as tick and hand colors, gradient background color, custom date and hand styles.
  • Aural Alert Generator (Voice and Tones)Aug 25, 2006. This article describes an application used to generate and test aural alerts; I wrote the application originally to allow me to define and test aural alerts for use in a couple of cockpit simulators, however, you could use the application to generate aural alerts for any purpose. The application also may be used to define voice messages which may be optionally saved as wave files for subsequent use in other applications.
  • Gradient Background Tab Custom ControlDec 06, 2006. This article describes a quick and simple approach to creating a tabbed custom control with a gradient background.
  • Embedding and Playing WAV Audio Files in a Win Forms ApplicationJan 18, 2007. This article describes an approach to embedding WAV audio files into an application and playing them through the use of the System.Media class library.
  • Just for Fun - A Small Piano KeyboardFeb 02, 2007. This one was just for fun; the article describes a project used to build a simple piano keyboard that plays some not too terrific sounding notes courtesy of the Kernel32.dll's beep function.
  • XAML TextBoxApr 10, 2007. XAML <TextBox /> element represents the XAML TextBox control. This article discusses how to create a TextBox and set its various properties such as background and foreground colors, setting size and positions, fonts, wrapping, scrolling, and input validations.
  • Introduction to XNA: The Microsoft 2D and 3D Game Development PlatformApr 20, 2007. This article introduces you to the XNA Framework that makes game development easier than it ever was before. This sample features a star trek ship which you can move around the screen and shoot at the enemy Klingon Ship. The demo comes complete with authentic sound.
  • Star Trek -Part II: Adding moving 3D Objects to your XNA GameMay 06, 2007. This article describes how to work with 3D Objects in your XNA game. In the article you will learn how to add a rotating planet to Star Trek to enhance the background. It also talks about how to add text to your game.
  • Background worker simplifiedMar 03, 2008. This article looks at the Background Worker Technology and encapsulates it into a simple form that can be used over and over to run your background tasks.
  • Using the BackgroundWorker componentMar 12, 2008. This article discusses the BackgroundWorker component in .NET 2.0, it will show you how to use it to execute tasks in the background of your application
  • Making Transparent Control using GDI+ and C# (Updated to NET 3.5)Jun 10, 2008. This article provides an approach to a Transparent Control that draws an ellipse with real transparent background and a brush that supports transparent colors.
  • SoundPlayer in WPFJul 29, 2008. The code snippet in this article shows how to play sounds in WPF.
  • WPF LinearGradientBrush using XAMLFeb 25, 2009. This article and code snippet explains how to fill gradient color in the background of controls in WPF using XAML.
  • Tile Brush in Silverlight 3 Application in Blend 3Jul 28, 2009. Tile Brush In Silverlight 3 Application In Blend 3, How can we change the background of any control to an Image.
  • How to turn a mobile device into a mighty survey assistantJul 29, 2009. Marketing research and perfect customers’ knowledge are key factors for successful business. One of the best ways how to get to know your customers and their preferences is running surveys. Usually, the surveys are run by mobile workers using paper based forms. It might sound archaic, yet there are companies that use this manual approach. However, this outdated process can be easily replaced using mobile devices allowing data processing automation.
  • Developing a New Control Using VSM in Silverlight 3Jul 31, 2009. Silverlight provides a Visual State Manager (or VSM) that manages different states as users interact with controls. For example, you might want to change the background of the Button as the user mouses over it and make it look slightly bigger or smaller when a user clicks it. All of this can be done using the Visual State Manager. The discussion that follows will walk through show how custom templates and VSM states can be created visually.
  • BackgroundWorker and CrystalReportsSep 18, 2009. The code snippet in this article shows how to get reports data from a database and generate reports using Crystal Reports in a background worker thread.
  • Background Processes in ASP .Net Web ApplicationsOct 01, 2009. This article talks about various approaches of creating background processing in Web application using C#.
  • Genarate Images on fly in ASP.NetDec 13, 2009. In this article I am going to show how we can generate image of any type on fly by choosing our forecolor, background color, our text family, our font style.
  • Creating a Sound Recorder in C and C#Mar 23, 2010. In this article we will learn how to record audio and play sound files in C and C#.
  • Display an Image as Button Background in C#May 19, 2010. This code snippet shows how to set an image as background of a Button control using C#.
  • Multithreading in WPF: Part IIMay 31, 2010. In this article we will consider the safest approach to run background task in WPF.
  • Ellipse in WPFAug 12, 2010. This is a simple article to represent how to create Ellipse in WPF.
  • BackgroundWorker in C#Aug 20, 2010. A BackgroundWorker component executes code in a separate dedicated secondary thread. In this article, I will demonstrate how to use the BackgroundWorker component to execute a time consuming process while main thread is still available to the user interface.
  • How to change Web Page Background Image from FileUpload ControlAug 27, 2010. This article will guide you on how to change the background image of any asp.net web page by using a file upload control.
  • How to change the background color of rows in a GridView in ASP.NET 3.5Jan 20, 2011. In this article we will learn how to change the background color of the rows in a GridView control based on its row data using RowDataBound event.
  • What is Foreground or Background ThreadFeb 25, 2011. In this article you will learn what does Foreground and Background mean for Threads in .NET.
  • Some old school HTML and JavaScript goodiesMar 31, 2011. Most of the articles here are focusing on the C# code running on the server, but that’s of course natural, the site is called C# corner! But hey, we shouldn’t forget what we can do with some old school HTML, JavaScript and CSS. Here comes two, hopefully, useful tip celebrating the client side.
  • Change Rows Background color in GridView with selected Criteria Apr 07, 2011. In this article we change background color of the rows in a GridView with selected criteria on GridView1_RowDataBound event.
  • Simple Button Animation in JavaScriptJun 23, 2011. In this example, we learn how to change the color( background or fore color) on the mouse over event with the help of JavaScript.
  • Audio Tag in HTML5Jul 20, 2011. You can play audio sound using an audio tag. This is a new tag introduced in HTML5.
  • Scanners - C# GameJul 21, 2011. A simple to play C# game with collision detection and sound.
  • How to Change The Background Color of a Form in a Button Click in F#Jul 26, 2011. This article is a demonstration regarding a F# Windows Forms application of how to change a background color of a form in a Button click in F#. Have a quick review to learn.
  • Alarm and Reminder in Windows Phone 7 (Mango)Jul 27, 2011. One of the coolest features in the new Mango (7.1) update is the ability of applications to do background tasks (finally!). Two of the new features brought about by this are the Alarm and Reminder classes.
  • Periodic and ResourceIntensive Tasks in Windows Phone (Mango)Aug 03, 2011. In this article we're going to look at the entree: Background Tasks. More specifically, Periodic and ResouceIntensive Tasks (There is one for audio and transfers, we'll look at these in the next article(s).
  • Custom Background in Windows Phone 7Aug 10, 2011. This article describes how you can make your background customizable in Windows Phone 7.
  • SystemTray and Progressbar in Window Phone 7 Twitter Search ApplicationAug 20, 2011. In this post we’ll create an Window phone that will utilize the System Tray progress bar for waiting while the work is being done in background.
  • Process and Thread basicsNov 23, 2011. A process is a program that is running on your computer. This can be anything from a small background task, such as a spell-checker or system events handler to a full-blown application like Internet Explorer or Microsoft Word. Every process have at least one thread.
  • Themes in LightSwitch Application 2011Jan 29, 2012. In this article you will see how to change the theme of your LightSwitch application.
  • Audio and Video Tag in HTML 5Feb 05, 2012. Today, in this article let’s dig out one interesting concept in HTML5. This concept enables to embed some audio files or sound files onto our webpage to perform some operation. The Code is developed in Aptana Studio 3.
  • Color Sliding in WPFFeb 14, 2012. The Slider control is one of the controls in WPF. This control simplifies the process of coding for some UI design cases where you need to let your user choose a value and change it and you update your interface based on the user's choices.
  • Custom Error Reporting in ASP.NET Using C# .NETFeb 15, 2012. The title sounds interesting, right? So, in this article we are going to discuss custom error reporting in an ASP.Net application.
  • Working With JTextArea in SwingFeb 27, 2012. In this article we describe how you can set a textarea background color and change its Font style.
  • Highlighting Color of Form Controls When Validation Fails in ASP.Net Using JQueryFeb 29, 2012. In this article I will explain how to highlight or change the background and border color of form controls when validation fails in ASP.Net using JQuery.
  • Create Different Image Borders Using HTML5Mar 20, 2012. In this article we will learn how to create various rounded corner frames using HTML5 and CSS tools. Now we will also learn how to set an image background in a corner frame using CSS.
  • Create Interactive Round Button Menu Using HTML5Mar 21, 2012. In this article we will learn how to create a interactive round button menu using a HTML5 and CSS tools. Now we will also learn how to set a image background in a interactive round button menu page using a CSS.
  • Sound Effects in SilverLight 5 Via WCF ServiceMar 31, 2012. Today, in this article let’s concentrate on another SilverLight application, whereby communicating with a WCF Service to perform some operation.
  • Working With Panorama Control in Windows Phone 7Apr 13, 2012. In this article we will see how to use the Panorama Control and design a rich user interface by adding the items and changing the background to have a unique interface.
  • Disable SuperFetch in Windows 8Apr 17, 2012. SuperFetch is a technology of the Windows operating system which gives priorities to your applications over background services.
  • SharePoint 2010 Internals - Timer JobsMay 08, 2012. SharePoint Timer Jobs are the heartbeat of any SharePoint Farm. They perform many important background tasks and generally consume substantial amounts of memory.
  • Background Worker in WPFMay 22, 2012. The BackgroundWorker class is used to run time-consuming tasks in the background; it leaves the user interface responsive.
  • Change System Sounds For Events in Windows 8May 27, 2012. In this article I am going to explain how to change system sounds in Windows 8.
  • Restrict User From Changing Desktop Background in Windows 8Jun 13, 2012. This article explains how to restrict the user from changing the Desktop Background in Windows 8.
  • Customize Start Screen in Windows 8Jun 21, 2012. In this article we will discuss how to personalize your start screen settings such as change background patterns, change color schemes and set account picture.
  • Prevents Users From Changing the Sound Scheme in Windows 8Jun 24, 2012. In this article we are explaining how to prevent users from changing the sound scheme.
  • Prevent Users From Changing Start Screen in Windows 8Jun 26, 2012. In this article we are going to learn how to prevent aleration of the Start Menu background settings.
  • Disable Webpage Sounds in Internet Explorer Using Windows 8Jun 28, 2012. This article describes how to disable webpage sounds in Internet Explorer using Windows 8.
  • Restrict User From Changing the Start Menu Background in Windows 8Aug 01, 2012. This article describes how to prevent users from changing the Start Menu Background in Windows 8.
  • Turn Off Windows Startup Sound in Windows 8Aug 09, 2012. This article describes how to turn off the Windows Startup Sound in Windows 8.
  • Change Alarm Tone in Windows 8Aug 31, 2012. In this article we are explaining how to change the alarm tone in Windows 8.
  • Restrict User From Changing Lock Screen Image In Windows 8Sep 07, 2012. This article describes how to restrict a user from changing the lock screen image.
  • Enable User For Changing Desktop Background in Windows 8Sep 22, 2012. In this article I have described the way to enable the user to change Desktop the Background in Windows 8.
  • Enable the Windows Startup Sound in Windows 8Sep 22, 2012. This article describes how to enable the Windows Startup Sound in Windows 8.
  • Change Background Image of Lock Screen in Windows 8Sep 24, 2012. In this article I have described the way to change the lock screen background image in Windows 8.
  • Disable Start Menu Background in Windows 8Sep 25, 2012. This article describes how to disable the Start Menu background in Windows 8.
  • Download Content From Internet Location in Windows Store AppsSep 27, 2012. In this article we will learn how to download a file using the Background Transfer API from a network location.

About Background-Sound

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Download Free eBooks