C# Corner

Resources  
  • Adding Images to ToolBar ButtonJan 29, 2000. An article shows you how to add images and tooltips to the toolbar buttons.
  • Tutorial: Working with Toolbars in C#Jan 30, 2001. This tutorial explains you how to add toolbars to a form, load images to the toolbar buttons, and writing event handlers for toolbar buttons.
  • Interactive ButtonsFeb 26, 2001. By using control properties, you can give your program an interactive look as you see on web sites.
  • Buton Viewer: View ImagesFeb 27, 2001. Well, In .NET, the Image class is a wonderful class to view images. No matter what control you have, you just set the Image property of that control to an image and the control will display the image. Neat?
  • Drawing With no OnPaint MethodAug 09, 2001. In this sample example, I draw GDI+ objects on button click.
  • Mastermind Game in C#Aug 10, 2001. This is the game of Mastermind written in C#. The game is played by clicking on a set of 4 colors and then hitting the score button. Colors can repeat themselves in this game, so be wary!
  • Button Chaser ProgramAug 29, 2001. Here is a fun program which causes the user to chase a button around the screen.
  • Image Shuffler Game in C#Oct 01, 2001. This game asks for a Image file to be Opened When the file is opened and shuffle button is clicked the image will be Shuffled ie rotated clockwise the task is rearrange the image in the Correct order using the button provided.
  • Working with Windows Forms ControlsOct 12, 2001. This program shows you how to use Windows Forms controls such as Check Boxes, Radio Buttons, and Combo Box.
  • Adding Controls to Windows Forms at RuntimeNov 13, 2001. In this example I'll show how one can create and add controls to their Windows Forms at runtime.
  • How to create a "ComboBox button" in a toolbar in .NETNov 20, 2001. You can actually put a ComboBox in your toolbar by just dragging a ComboBox from the toolbox onto the toolbar but if you want the ComboBox to be one of the toolbar buttons, you are out of luck using the regular old ComboBox. One way around this is to use the DropDownMenu style of a ToolbarButton to create a pseudo-ComboBox.
  • Interactive Shaped FormsNov 29, 2001. This Demo show how to create shaped form and customized buttons using Region, GraphicsPath and picture control and using picture control to play animate pictures.
  • Developing a Record Navigation Form with Unbound ControlsDec 26, 2001. Developing a record navigation form with unbound controls. The form enables you to navigate through the records one at a time. In this application we have used a combo box, two text boxes and various command buttons.
  • Drawing Shapes using ThreadingOct 25, 2002. This is simple multi-threading program that draws circles and rectangles. Each shape is handle by individual thread that created every time you press start button. Using sleep method on each thread we can change the speed of each shape.
  • Consumer/Producer Multithreaded ProgramNov 04, 2002. This is simple multi-threading program that adds and removes elements in an ArrayList. Producer button will creates a producer thread that adds elements in to the ArrayList. The maximum number of elements can be added to this ArrayList are 100 elements and the producer thread has to wait until the consumer thread/threads (creates by pressing consumer button) removes elements from the ArrayList. Then Producer thread starts to add more elements to the ArrayList.
  • Enhanced XP Button ControlDec 12, 2003. The enhanced XP style button is very easy to use and it supports rectangle, circle or ellipse shape with image and different colors. This control also inherit most of the properties from the Forms.Button.
  • Implementing Security Access Rights in ASP.NET ButtonMar 24, 2004. In Web based Application, each of the users have different privileges and access rights based on their roles. Each of these roles can have read or write access for different Web pages.
  • How to Export Crystal Report in ASP.NETMay 06, 2004. When using Crystal Reports in ASP.NET, the CrystalReportViewer control does not have the export or the print buttons like the one in Windows Form. We can still achieve some degree of export and print functionality by writing our own code to handle exporting.
  • Short Cuts for Toolbar ButtonsJul 26, 2004. This tutorial tells the story about "How to create short cuts for toolbar buttons?".
  • Localizable Message Box ControlApr 02, 2005. This is localizable MessageBox control. Buttons on standard windows message box controls are always Yes, No, Abort, Cancel, OK, Ignore, Retry. I needed different text on my message boxes so I decided to develop custom message box control.
  • Using the AnyButton to Create Dynamic Image ButtonsJun 07, 2005. This article describes how to use the AnyButton server control and explains a few extra features.
  • Using the AnyButton to Create Dynamic Image ButtonsJun 07, 2005. This article describes how to use the AnyButton server control and explains a few extra features.
  • Adding Picture To Button On OutLook CommandBarAug 24, 2005. This article describes the process to add a picture on a button on an Outlook Commandbar while using Explorer or Inspector.
  • ColorReliefButtonDec 14, 2005. My idea was to create a button that can be used as a colourful decoration for any application. The look of the ColorReliefButton can be determined by changing property values. The main attraction should be a cool look (Relief) of the controls text. Like this almost any font (TrueTyp) can be used to decorate a button and there is no need to use bitmaps.
  • SpringButtonApr 04, 2006. This tutorial and the source code attached with it shows how to create nice looking buttons using C#.
  • Using static variable and Activated Event for Building "Home" Button of Windows applicationApr 10, 2006. In this tutorial I will share experience how , just with the help of a few clicks and a few lines of code , to build a windows application with "Home" button, that allows to return to "Home" form (in fact to close all opened forms by one click) . The examples are written using C#.
  • Introducing ASP.NET 2.0Jun 14, 2006. In this article, the author examines the fundamentals of ASP.NET 2.0 with the help of code snippets.
  • User Confirmation before Deleting Items in ASP.Net 2.0Oct 12, 2006. This article describes how ASP.Net 2.0 allows setting client-side functions for Button controls through the use of the OnClientClick property and additionally, the event can be handled on server-side depending on the user response.
  • Tip: How to Export a Crystal Report to a PDF file Programmatically in ASP.NET?Oct 23, 2006. You can export a Crystal Report to various formats using CrystalReportViewer’s Export option. However, there are occasions when you want your users to see the report direct in PDF format in the browser as soon they click the Report button in your application.
  • Simple MP3 PlayerNov 20, 2006. So many people are asking how to play MP3 and WAV files that I put together this simple player. One button and six lines of code. Thats all there is.
  • Extending the ASP.NET ImageButton ControlDec 18, 2006. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • C# ASP.NET Server Control: Rollover Image ButtonJan 16, 2007. This article demonstrates how to extend the ImageButton ASP.NET server control to provide rollover functionality.
  • Bulk Uploader in ASP.NET 2.0Mar 28, 2007. The FileUpLoad control enables you to upload file to the server. It displays a text box control and a browse button that allow users to select a file to upload to the server.
  • Programming XAML - A Quick StartApr 10, 2007. XAML is a new descriptive programming language that is used to define user interfaces in WPF, Silverlight and Windows 8 Metro Style Apps. This article is an introduction to XAML.
  • WPF Database Communication Adding new Record to the DatabaseSep 06, 2007. WPF Database communication Adding new record to the database (XAML-MS-Access), I have a XAML form with FirstName, LastName, Email & Contact fields in it on click of submit button it will first check if the same email address is exists in the table else it will add new record I have made use of OleDbTransaction to perform add functionality.
  • Cross browser conditional validationOct 25, 2007. This article show how to show/hide textbox with required field validation on radio button click in a master page.
  • Implementing a Simple Silverlight ControlOct 30, 2007. This article shows how to implement a simple button control using Silverlight 1.1 and C#.
  • Getting Started with silverlightDec 04, 2007. This article explains you how to use silverlight and also gives you a brief history behind silverlight.
  • Windows FormsApr 19, 2008. This article shows you a small game by using simple text box ,buttons and dropdown list.
  • Using Silverlight Controls in ASP.NETJul 08, 2008. This article will show how to use a Silverlight control in ASP.NET 3.5.
  • Navigating and passing values between XAML Pages in Silverlight 2Jul 08, 2008. In this article, I discuss how to navigate and pass values between XAML pages in Silverlight.
  • Multiple Silverlight User Controls on aspx pageJul 10, 2008. In this article I will discuss how to use multiple Silverlight controls in aspx page.
  • Data Access in Silverlight Controls using Silverlight Enabled WCF ServiceJul 15, 2008. In this article, I will discuss how to access data in Silverlight 2 using a Silverlight Enabled WCF Service.
  • Data Access and Data Binding in Silverlight Controls using WCF ServiceJul 15, 2008. In this article I will discuss how to bind data to Silverlight controls and access data in Silverlight 2 using WCF Service.
  • Programmatically Trigger Events of a Control in SilverlightJul 17, 2008. This article shows you how to fire the click event of a Button control programmatically in Silverlight 2.0.
  • Silverlight 2 use ADO.NET Data Services to access dataJul 19, 2008. In this article will show how to perform CRUD (Create, Retrieve, Update, Delete) operations in Silverlight 2 using ADO.NET Data Services.
  • Insert, Update and Delete in Silverlight DataGrid using ADO.NETJul 22, 2008. In this article will show how to perform CRUD (Create, Retrieve, Update, Delete) operations in Silverlight 2 using ADO.NET Data Services.
  • Sorting Data in the Silverlight DataGridJul 22, 2008. In this article I will discuss automatic and programmatic sorting in a Silverlight DataGrid.
  • Paging Data in the Silverlight DataGridJul 24, 2008. In this article I will discuss Paging in a Silverlight DataGrid.
  • Tutorial: Developing in Silverlight (Part I)Jul 26, 2008. This article will step you through developing your first Silverlight application using Visual Studio and Expression Blend. The tutorial goes from installation all the way to the final application to give you a start in this brave new frontier of web technology
  • State Management is Silverlight using Isolated StorageJul 28, 2008. State management is the process to maintain state and page information over multiple requests for the same or different pages. State management in Silverlight 2 can be done using the concept of Isolated storage.
  • Database connectivity using silverlightJul 29, 2008. In this article, I am going to discuss how to do database connectivity in silverlight using DataGrid.
  • Your first Animations Using XAML and Silverlight - Color Animation: Part IJul 29, 2008. In this article, I will give a trick of how to deal with ColorAnimation class within VS2008 and Silverlight context using both xaml and C# 4.0, afterward, and in the two subsequent articles, we’ll focus on the DoubleAnimation and PointAnimation.
  • Your first animations using XAML and Silverlight- Double animation: Part IIJul 30, 2008. In the previous article "Your first animations using xaml and silverlight - Color animation: Part I", we've exposed a technique of how to deal with color animation. In this article, I will do same thing but with a different animation. I mean the DoubleAnimation class this time.
  • Your first Animation using XAML and Silverlight - Point Animation class: Part IIIAug 04, 2008. This article is third part of the series of articles about animation using XAML and Silverlight.
  • Silverlight Tutorial: How to Create an Animation of a Ball Being ThrownAug 06, 2008. This tutorial explores the XAML involved in Silverlight animations and provides step by step instructions on how to create an animation of a ball being thrown and bouncing across the floor.
  • Silverlight Tutorial: Using the Visual State Manager to create an animated navbarAug 07, 2008. This article provides a step by step tutorial on using the Visual State Manager to create a nifty animated navigation bar
  • Silverlight ClockAug 12, 2008. This article will describe how to create Silverlight clock using timer.
  • Image Viewer in WPFAug 12, 2008. ImageViewer is an open source project written in WPF and C# that allows users to view images and manipulate them.
  • Configuring IIS for Silverlight ApplicationsAug 12, 2008. Microsoft Silverlight is a cross-browser; cross-platform plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web. Silverlight offers a flexible programming model that integrates with existing Web applications.
  • Silverlight Tutorial: Creating a skinnable custom controlAug 21, 2008. This is a step by step guide on how to make an animated navigation bar using the visual state manager, turn that animated navigation bar into a skinnable custom control, and use that custom control and skin it, if desired
  • RadioButton in WPFAug 27, 2008. This tutorial shows you how to create and use a RadioButton control available in Windows Presentation Foundation (WPF) and XAML.
  • Silverlight Tutorial: Creating a data centric Web Application with DataGrid, LINQ, and WCF Web ServiceSep 15, 2008. This step-by-step tutorial is a guide for creating a silverlight Web application capable of submitting and retreiving data from a database.
  • How to use custom fonts in Silverlight 2.0Sep 22, 2008. This tutorial shows how to use custom fonts in a Silverlight 2.0 application.
  • RadioButton in SilverlightOct 07, 2008. This tutorial shows how to create and use a RadioButton control in Silverlight 2.0.
  • Silverlight Border ControlOct 17, 2008. This article describes how to use Silverlight Border control.
  • Silver(light) is the new Gold!Oct 22, 2008. This article introduces us about Silverlight which help us to build rich internet applications.
  • New Features of Silverlight 2Oct 23, 2008. This article highlights the new features of Silverlight 2 for developers.
  • Creating a Button with Silverlight 2 and Expression Blend 2Oct 31, 2008. This article shows how to create a Silverlight 2 application with Expression Blend 2, add a button to it and set its various properties.
  • Cropping or Clipping in SilverlightNov 04, 2008. This article demonstrates how to implement clipping feature in Silverlight such as a Rectangle and an Image.
  • Implementing Opacity Masks in SilverlightNov 05, 2008. Opacity masks allow us to make portions of an object transparent or semi transparent. This article demonstrates how to implement opacity masks feature in Silverlight objects such as a Rectangle and an Image.
  • Creating art using Silverlight and BlendNov 05, 2008. This article shows how you can draw attractive shapes and artistic elements using Silverlight and Blend.
  • Drawing Bezier Curves in SilverlightNov 06, 2008. This article shows how to implement Bezier curves in Silverlight.
  • The Future of C#Nov 06, 2008. This post speaks about the future of C# which presented by Anders Hejlsberg chief architect of C# at PDC 2008. The coming version C#4.0 is much concerned on introducing Functional and Dynamic programming language concepts into the C#.
  • Implementing a Progress Bar in Silverlight 2Nov 17, 2008. In this article, I will show how to implement a simple and classic progress bar in Silverlight 2.0 and Visual Studio 2008.
  • Introducing Deep Zoom ComposerNov 19, 2008. This tutorial is an introduction to the Deep Zoom Composer and how to use it to build zoom and pan enabled Silverlight applications with the help of Expression Blend and Visual Studio 2008.
  • Working with the Silverlight Toolkit: Part INov 19, 2008. This article introduces you to the Silverlight Toolkit.
  • Passing Values between forms in SilverlightNov 20, 2008. Here in this article, I am going to show how to navigate between pages in an application and to pass values between them.
  • Working with Silverlight Toolkit: Part IINov 25, 2008. The Silverlight Toolkit provides a variety of rich controls to supplement the existing Silverlight controls. This article describes how to add the Toolkit controls to your Toolbox and make use of the AutoCompleteBox control.
  • Creating nice tab feature in SilverlightNov 26, 2008. This article uses cool animation in silverlight to create a tab bar like look.
  • Using Layout controls in Silverlight 2Nov 26, 2008. This article aims to explore some of the Layout/Container controls provided in Silverlight 2.
  • CheckBox in SilverlightNov 29, 2008. This article demonstrates how to create and use a CheckBox control in Silverlight with the help of XAML and C#.
  • OpenFileDialog in SilverlightNov 30, 2008. The OpenFileDialog allows users to select one or more files on the local computer or on a networked computer. This article demonstrates how to create and use an OpenFileDialog control in Silverlight using XAML and C#.
  • Silverlight Canvas ControlDec 02, 2008. The Canvas control, used as a container for child controls, defines functionality to position the child controls. This article demonstrates how to create and use a Canvas control in Silverlight using C# and XAML.
  • Using the Media Element control in Silverlight 2Dec 02, 2008. This article describes how to use the Media Element control in Silverlight 2.
  • Working with the Silverlight Toolkit - Part IIIDec 03, 2008. This is the third part of the Toolkit series and describes the ViewBox control.
  • DockPanel in SilverlightDec 05, 2008. The DockPanel control is a layout control that acts as a container for child controls. The DockPanel allows child controls to dock in left, right, top, or bottom sides of the panel.
  • Ellipse in SilverlightDec 07, 2008. This article demonstrates how to create and use an Ellipse control in Silverlight using XAML and C#.
  • Silverlight Date Picker ControlDec 08, 2008. The DatePicker control in Silverlight 2 enables you to select a date by either typing it into a text field or by using a drop-down Calendar control.
  • Line in SilverlightDec 09, 2008. This article demonstrates how to create and use a Line control in Silverlight using XAML and C#.
  • Bind a Silverlight DataGrid to a given XML data sourceDec 10, 2008. In this article, I will illustrate how to bind a Silverlight DataGrid to a given XML data source
  • Ployline in SilverlightDec 11, 2008. A polyline is a collection of connected straight lines. This article demonstrates how to create and use a Polyline control in Silverlight using XAML and C#.
  • Rectangle in SilverlightDec 11, 2008. This article demonstrates how to create and use a Rectangle control in Silverlight using XAML and C#.
  • Label Control in SilverlightDec 14, 2008. This article demonstrates how to use a Label control in Silverlight using XAML and C#.
  • Polygon in SilverlightDec 15, 2008. A polygon is a series of connected lines which is a closed shape. A closed shape is a shape that has same start point and end point. This article demonstrates how to create and use a Polygon control in Silverlight using XAML and C#.
  • C# and XAML within a Silverlight 2 context? - Binding process: Part IIIDec 18, 2008. In this article I will continue with the Binding process and I will demonstrate binding technique but from the C# code behind this once.
  • C# and XAML within a Silverlight 2 context - Data Validation: Part VIDec 18, 2008. In this article, I will demonstrate how to implement a validation logic as a part of the article how XAML
  • Tool Tips in SilverlightDec 18, 2008. A ToolTip is a pop-up window that displays some information in a small window. The ToolTip class in .NET 3.5 represents a ToolTip. This article demonstrates how to use a ToolTip control available in Silverlight.
  • XAML and C# -Introduction: Part IDec 18, 2008. This article is supposed to be an introduction to Data Binding logic within Silverlight 2 context, five questions are introduced in this context and they will be answered briefly in this introductry article and in more details in the subsequent parts.
  • C# and XAML within a Silverlight 2 context - INotifyPropertyChanged implementation: Part IVDec 18, 2008. In this article, I will expose the implementation technique of the INotifiedPropertyChanged interface as a part of the article How does XAML interact with the C# code

About Silverlight-Button

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!
VSLive! Anaheim