C# Corner

Resources  
  • Adding Images to ToolBar ButtonJan 29, 2000. An article shows you how to add images and tooltips to the toolbar buttons.
  • Adding Menu Support to a Windows FormDec 18, 2000. This sample code shows you how to use the MainMenu and MenuItem classes to add a menu and click handler for a Windows Form.
  • 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.
  • Creating Exploded Pie Chart Having Click Through Functionality in C#Dec 26, 2001. In this article I would like to show you code that would create exploded pie chart and implementing click through functionality to that chart.
  • Sorting MultiColumn ListView Windows Forms ControlMay 20, 2002. If you want to sort on the first column of a ListView, simply click the Sorting in the properties Window and choose Ascending or Descending as a value. If you want to do sorting in all the columns of a ListView, you need to write custom sorting using the ListViewItemSorter property.
  • DataGrid Customization: Part-1Jun 25, 2002. In this article, I will discuss some DataGrid customization tips such as how to I get the name and index of the column headers and how do I find out if mouse click right click was on a column.
  • A Virtual Photo Album in C# and .NETAug 05, 2002. This album allows you to drag your images directly from Windows Explorer into the spot you want your picture to occupy. You can also edit the captions by clicking on the labels under the pictures.
  • DataGrid Customization Part-II: Custom Sorting and DataGrid Column HidingAug 13, 2002. How to I get the name and index of the Column headers? How do I find out if mouse click right click was on a column
  • 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.
  • DigitizeAny - A .NET Windows Digitization ToolDec 17, 2002. DigitizeAny uses Win32 API calls to obtain the coordinates of the cursor and then translates to the graph coordinates once set. Since a mouse click would essentially bring to focus the window where it is pointed to, this tool uses the key event to capture the coordinates of the cursor.
  • DataGrid and Client Side EventsJun 17, 2003. This article shows you how to use DataGrid client side events including mouse over, on click and so on.
  • DataGrid and CheckBox ControlsJun 17, 2003. How to have checkbox that is checked or unchecked depending on a field value stored in the Database, and then allow the user to click on it and record the new checkbox state in the database.
  • 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?".
  • Starting With SharepointFeb 11, 2005. Microsoft came up with an idea of "Sharepoint Server", and now it's only a matter of few clicks to build an enterprise-portal. This article shows you how.
  • 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.
  • Multi Selection of DataGrid Rows without Ctrl ClickJul 31, 2005. This article shows how to select multiple rows in a DataGrid without using CRTL.
  • 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.
  • Infragistics UltraWebNavigator Context Menu Integration with JavascriptSep 13, 2006. This article shows one of the difficult functionality of adding context Menu on Infragistics UltraWebGrid, in conjunction with mouse right click.
  • 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.
  • Creating a Context Menu on a DataGridView Mouse Click Jan 17, 2007. This article describes how to create a context menu when you mouse click on a DataGridView control in Windows Forms.
  • 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.
  • 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#.
  • Windows FormsApr 19, 2008. This article shows you a small game by using simple text box ,buttons and dropdown list.
  • 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.
  • 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.
  • RadioButton in SilverlightOct 07, 2008. This tutorial shows how to create and use a RadioButton control in Silverlight 2.0.
  • 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.
  • Tracking Clicks by IP Address Using C# and XMLNov 20, 2008. This is a very simple and easy article, which gives an idea for track the IP address and for getting the number of cliks from a particular system.
  • Creating nice tab feature in SilverlightNov 26, 2008. This article uses cool animation in silverlight to create a tab bar like look.
  • ListBox in SilverlightDec 20, 2008. A ListBox control is an items control that works as a ListBox control but only one item from the collection is visible at a time and clicking on the ListBox makes the collection visible and allows users to pick an item from the collection. This article demonstrates how to use a ListBox control in Silverlight.
  • Hyperlink in SilverlightDec 24, 2008. This article demonstrates how to use a hyperlink button in Silverlight using XAML and C#.
  • Interesting things to do with Silverlight 2Jan 05, 2009. This article will show you how you can experiment with Silverlight.
  • Button Control in WPFFeb 02, 2009. This tutorial demonstrates how to create and use a Button control in WPF using XAML and C#.
  • Uploading Multiple Files in ASP.NET 2.0Mar 06, 2009. In ASP.NET 2.0, the FileUpload control enables users to upload file from your web pages. Here I going to show how can you upload multiple file on a single button click in ASP.NET 2.0
  • Using a Combobox to Select ColorsMar 19, 2009. This is a short article on how to use a combo box control to display and select all the named colors.
  • GridView Paging and Sorting using AjaxMar 27, 2009. In this article i am going to demonstrat how to enable browser back button. You will also learn gridview control and how to use paging, sorting using AJAX.
  • Uploading Multiple Files in ASP.NET 2.0: Part IIMar 27, 2009. In ASP.NET 2.0, the FileUpload control enables the users to upload the files from your web pages. Here, I am going to show you, "how can you upload multiple file on a single button click in ASP.NET 2.0." Here, in the same article I am adding one more functionality, i.e. the user can get the right to upload any number of images by clicking on Add button.
  • The permissions granted to user are insufficient for performing this operation. (rsAccessDenied)May 12, 2009. You are unable to access the reporting site for our TFS project. You are able to view individual reports from VS, but you cannot get to the reporting site to edit them. Whenever you try to go to it (By right clicking on Reports->Show Report Site in Team Explorer), you get the SQL Server Reporting Services Error.
  • Navigation Web User Control May 22, 2009. Navigation Web User Control this control create navigation buttons at run time so the user can navigate on the datalist or any other controls and the developer can change the aligment and sepration bettween links or show and hide last ,first,previous,next . this control get his style from it's container
  • Button Control Template In Silverlight 3Jul 07, 2009. Using Blend 3 Creating Button Control Template in Silverlight 3
  • GridView Multicolumn sortingJul 09, 2009. GridView's built-in sorting can be enabled by setting a data source and AllowSorting property to true. Click on column header to sort based on the SortExpression specified in the Gridview column. However, Gridview does not support multi column sorting which is required in day to day application. So here is how I tried to create one:
  • Animating States of Button In Blend 3Jul 12, 2009. Creating a Custom Button and changing the State Animation in Blend 3 in Silverlight
  • Glassy Button In Silverlight 3Jul 19, 2009. Making Glassy Buttons In Silverlight 3.
  • Creating Style Buttons in Silverlight 3Jul 21, 2009. In this article we will be discussing how we can make some designer buttons.
  • Radio Button Grouping in Silverlight 3 Application Jul 30, 2009. In this article we will see how we can achieve multi grouping in Silverlight.
  • 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.
  • Ajax with Postback RitalinAug 01, 2009. Recently I noticed a simple and nice control giving more functionality to partial postback, it is Postback Ritalin. This is built on top of ASP.NET Ajax extensions and offers a nice solution to a common problem i.e. disabling button during partial postbacks.
  • Handling the power off button in Pocket PC in C#Aug 18, 2009. In this article we will see How to handle the code if power is being switched off in Pocket PC.
  • Programmatically Swapping Mouse ButtonsSep 06, 2009. In this article we will learn how to swap mouse buttons programmatically - to make the left button acts as the right and vice versa.
  • How to develop your own Expander Control in SilverlightSep 25, 2009. In this article we will see how to open and collapse a control on mouse click.
  • Custom Context Menu in Silverlight 3Oct 10, 2009. In this article we will see how we can create our own context menu.
  • HyperLink Styling as Button in Silverlight 3Nov 07, 2009. In this article I will show you how can you style your Hyperlink to look like a Button.
  • Working with Radio Button control and Image in Silverlight 3.0Nov 16, 2009. In this article, I will explain about how to work with Radio Button control of Silverlight. I will also explain how to rotate image in silverlight.
  • Hyperlink Text Wrap In Silverlight 3Nov 19, 2009. In this article we will see how we can wrap a text in Hyperlink Button.
  • Radio Button in Silverlight 3.0 Data GridNov 19, 2009. In this article, I will explain how to put Radio Button as one of the column in Silverlight Datagrid. I will also show how to work with radio button as column of Datagrid.
  • Silverlight 4.0 feature #1: Right click Mouse events [Context Menu]Nov 23, 2009. This article will give an introduction of mouse right click events on Silverlight controls. Silverlight 4.0 introduces context menu for all the controls.
  • Radio Button Column in Datagrid in Silverlight 3Nov 24, 2009. In this article we will see how we can add a Radio Button Column to the DataGrid in Silverlight 3.
  • Hatch Brushes in GDI+ Jan 25, 2010. In this article I will explain about Hatch Brushes in GDI+.
  • Regions, Nonrectangular Forms, and Controls in GDI+ Jan 28, 2010. In this article I will explain about the Regions, Nonrectangular Forms, and Controls in GDI+.
  • Facebook Connect Visual KitJan 31, 2010. This article describes commercial set of ASP.NET controls used to make easy integration of Facebook features in ASP.NET web site.
  • Making an Image SlideShow in WPF: Part IIMar 05, 2010. In part I of this article series we have seen the preview of the application and we created a ListBox that has Customized ItemContainer and ItemPanel. In this article we will see how next and Previous Buttons are added to the ListBox.
  • How to create Event Handlers in ASP.NET Mar 16, 2010. In this article I will explain about creating Event Handlers in ASP.NET.
  • JQuery Event PropagationMar 19, 2010. In previous article, we looked into events present in JQuery. In this article, we will cover JQuery event propagation followed by firing events like button click through code.
  • Detecting Refresh or Post back in ASP.NET Mar 28, 2010. There are situations where we would like to detect if the post back is from a form interaction (i.e. submit or button clicks) or is it by hitting the browser F5 refresh button.
  • Creating Array of PictureBox controls in C#Apr 23, 2010. In this article, I try to create Array of PictureBox controls, you can create array of Labels and Buttons as my example.
  • Right Click and Context Menu in Silverlight 4 May 09, 2010. In this article we will see how we can use Context Menu to be displayed on Right Click in Silverlight 4.
  • Using Radio Button in GridViewMay 12, 2010. In this article I am going to give you a brief explanation regarding how to use a Radio button in gridview.
  • Creating a Button at Run-time in C#May 13, 2010. Creating a Button control at run-time is merely a work of creating an instance of Button class, set its properties and add Button class to the Form controls.
  • Set a Button State in C#May 18, 2010. This code snippet shows how to set a button state in Windows Forms.
  • 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#.
  • Creating Button Style at RuntimeMay 24, 2010. In this post, I will show how to apply a style at runtime to a button.
  • Button in C#Jun 01, 2010. Button class in Windows Forms represents a Button control. A Button control is a child control placed on a Form and used to process click event and can be clicked by a mouse click or by pressing ENTER or ESC keys.
  • Right click event in Silverlight 4Jun 16, 2010. In this article you will learn how to use Right click event in Silverlight 4.

About radio-button-click

NA

SPONSORED BY

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!
Visual Studio Live - Redmond 2016