C# Corner

Resources  
  • Graphics Animation SampleMay 16, 2000. After finishing a text program (lottery) its time for some fun. Everytime a have to work with a new language.I write a small program to bounce some balls in a box.
  • Rotation SampleApr 24, 2001. After reading Mike Golds article on transforms I thought I would get things moving a bit!
  • Tic Tac ToeJul 16, 2001. TicTacToe is a demonstration of the AI game playing minimax algorithm. The game plays out every possible combination of moves from each position and consequently is unbeatable. This example uses .NET Beta 2 and was written using a text editor.
  • Eater Game in C#Jul 31, 2001. This is a simple game written in C# in which the user moves a packman like player around the form and gobbles up red dots. The object is to get all the dots in as quick a time as you can.
  • Move Grid PuzzleAug 15, 2001. This is a console based application the user will be prompted for move such as L-Left, R-Right, U-Up, D-Down, E-Exit.
  • Mouse and Key EventsSep 11, 2001. This article explains the usage of key and mouse events. The following code shows you how you can read mouse position on mouse move.
  • CartWheel Man - Animating GraphicPathsNov 27, 2001. This simple application illustrates how GraphicsPaths can be animated to look like something is moving across the screen.
  • An Animation Component using C#Feb 08, 2002. Sometimes its desirable to get those graphics moving a bit and this article show the control to implement it.
  • xBase Engine for C# and VB.NETFeb 25, 2002. This library is written to handle DBF files from C# or VB.NET applications.
  • IP Address Hostname ConvertorApr 04, 2002. This is an IP Address-Hostname converter written in C# Windows Forms.
  • Eater Game II - The Stone MazeOct 02, 2002. This program combines the designs of the Eater Game and the Maze Generation Program to create a more challenging game, Eater Game II. In this game, you move a pacman-like character through a maze and eat as many stones as you can before time runs out. You have a minute and a half to try to eat stones before the pac-man simply freezes-up and accepts his quota of stones.
  • 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.
  • Implementing Prim's Algorithm using GDI+Dec 31, 2002. Prim's algorithm is an algorithm used in the graphics development to calculate the shortest route in a network when an object is moving from a source node to the destination node.
  • Creating Extensible and Flexible Hosted Applications: Part 1Apr 02, 2003. Moving from procedural programming languages such as ASP and Visual Basic to .NET object-oriented languages enables programmers to build systems that are highly extensible and flexible.
  • BuckyBalls: An Animated DirectX9 DemonstrationJun 02, 2003. BuckyBalls is an animated Managed DirectX demonstration. A buckyball, or fullerene, is a complex carbon molecule whose full name is buckminsterfullerene. The molecule contains 60 carbon atoms which form what is called a truncated icosahedron. It is shaped like a soccer ball or a geodesic dome, and is named after Buckminster Fuller, the inventor of the geodesic dome.
  • Meet Microsoft .NETSep 30, 2003. Before writing applications in C#, understanding the .NET is very important. Usually, beginners who are moving to C# don’t care about understanding .NET? In this article, I will try to explain .NET in general and its components.
  • Migrating from ASP to ASP.NETJan 05, 2004. This document covers some of the more powerful features that can simplify Web development while providing a more scalable, stable, and productive environment.
  • Handling Oracle Max Open Cursor Error when Fetching Multiple Rows in ADO.NETAug 18, 2004. When working with Microsoft technologies, MS SQL Server comes out as a natural choice for the database. While it is a fact that .NET Framework has extensive support for SQL server, when you work with other databases like Oracle the situation might turn out to be a little more tricky than it is with SQL Server.
  • Moving to ASP.NET: Part 1Aug 24, 2004. The attached white paper, Moving to ASP.NET, examines trends in the adoption of ASP.NET, and provides guidelines for selecting the migration approach that best meets specific business needs.
  • Moving C Structures into .NET with Custom MarshalingDec 17, 2004. Microsoft provides several attributes for marshaling C to C#. In our example we will take the case where we have hundreds of structures and only a few API calls, so we only need to generate the marshaled code for the structures.
  • 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.
  • Sokoban Pro Game in C#Jan 21, 2005. Sokoban Pro is a modern version of the classic Sokoban puzzle game. The game rules are extremely simple, yet the game is very challenging and addictive. The rule of the game is to move all the boxes in the right places. You can only push a box, not pull.
  • Joystick ControlMay 13, 2005. In this article and the attached source code project written in C# and Windows Forms, the author shows how to build a Joystick control that allows an object to move via the joystick control.
  • Examining Organizational Workflows under the hood of .NETAug 18, 2005. In this article we will firstly we will see what organizational workflows are and how they fit into organizational hierarchy and make information move within this hierarchy.
  • Migrating from Java to C# Oct 03, 2005. Microsoft has created a tool called Java Language Conversion Assistant (JLCA), which automatically converts Java code into C# for developers who want to move existing applications to the .NET Framework.
  • Custom Drawing Cursors in C#Mar 14, 2006. Some time ago I have decided to try to make something like a "Photoshop" in C#. The first problem has appeared was custom cursors. If you are familiar with "Photoshop" you know that when you change brush size the cursor size also changes. This is solution to make this possible in C# .
  • Deploying ASP.Net 2.0 Web site to Production Server: Part IApr 03, 2006. Deploying ASP.NET 2.0 web site is the first issue facing the developer. This part of the article gives you a step by step to how to move membership tables from MS SQL express Edition to your database that you are used on your web site. The second part we will go in details to configure our asp.net web site.
  • Deploying ASP.NET 2 Web Site to Production Server: Part IIApr 10, 2006. On the first part we discussed in detail how to move our database which contains the membership tables from the default aspnetdb Database to our database. On this part we will show how to change the default settings of asp.net membership and role providers to read from tables which stored on our database.
  • Packing List for the Pocket PC in the .NET Compact FrameworkNov 10, 2006. This article demonstrates a pocket pc packing list application to help you track moving inventory. The application is written in C# for the .NET Compact Framework (1.1) and shows you how to overcome some limitations in the framework such as scrolling a form and searching nodes in XML.
  • Animating your XAML AppsApr 05, 2007. This article will describe how to do 2D Animation using XAML Scripts. In the article we will describe how to implement transforms on XAML shapes and then how to move them around in your form.
  • .NET and Active DirectoryApr 19, 2007. This article outlines connecting to AD from .Net using ADO and System.DirectoryServices and also forming a unique ID from AD, moving entries from AD to a database and forming AD queries (also date formatting for AD).
  • 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.
  • Lengthy Operation Windows Form PatternsJan 03, 2008. This article gives a description to lengthy operation pattern on windows forms.
  • Ajax AnimationExtender ControlFeb 01, 2008. In this article we are going to discuss about AJAX AnimationExtender control. It provides good animation effect such as moving an ASP Control to a new place, resizing it, modifying its color, or making it fade in or fade out. In this article I m going to use fade in or fade out animation.
  • AJAX DragPanelExtender ControlFeb 26, 2008. AJAX DragPanel allows you to move your panel one place to another place around a Web page. This article and attached code shows how to use DragPanelEtender control in ASP.NET 2.0.
  • Save TreeView Nodes ExpansionJun 24, 2008. We frequently use an ASP.NET TreeView as a navigation menu. This works well on a single page but if you include the control on a Master Page, it looses its expansion state as you move from one content page to another.
  • Cursors in Database Management SystemsJul 23, 2008. This article is intended to show the principles and uses of cursors in relational database management systems. We’re going to discuss how cursors are implemented in Microsoft SQL Server and Oracle database and how you can use it in your applications.
  • 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.
  • Area sensitive helpAug 27, 2008. This article tells you how to create a help window which appears when your mouse moves on a particular web page area.
  • Creating Custom Cursor in SilverlightMay 06, 2009. In this article we will see how to create and use it in our silverlight application.
  • Silverlight FAQ part 2 (Animations and Transformations)Jun 23, 2009. This FAQ is completed dedicated to animations and transformations using Silverlight. The tutorial starts with animation basics like timelines and storyboard. Later the article moves ahead to talk about different animations supported and we finally end the tutorial with a simple rectangle animation.
  • Creating Cursor in form of ELLIPSE in C# Jul 30, 2009. This article shows how to easily create custom cursors in C#.
  • Cursors and Alternative to the Cursors in Sql serverSep 01, 2009. This article explains about simple cursor and alternative method to the cursor.
  • WPF Animations Part I- Color AnimationSep 07, 2009. WPF is a new framework that has many advanced capabilities. Animations are one of those capabilities, where an object can be animated via rotating, stretching, scaling, moving it across the screen, changing its color, etc. In this article I am going to show color anmiation on a coltrol.
  • Clearing the Console Screen using API Sep 27, 2009. Learn how to clear the Console screen using Win32 API calls. Also learn additional techniques like how to clear a specific portion of the screen or to move it.
  • Moving a Form without the Title BarOct 12, 2009. In this article, learn how to to allow the user to move the form without its title bar.
  • GDI+ ApplicationNov 01, 2009. In this article we move to the more practical aspects of writing graphics applications using GDI+ in the .NET Framework.
  • Cursor and XML Strore Procedure in SQLNov 10, 2009. How to used Cursor and XML together in SQL Strored Procedures.
  • Cursors in Silverlight 3Nov 19, 2009. In this article we will see how many types of Cursors are available in Silverlight 3.
  • Silverlight Charts: Coordinates on MousemoveNov 24, 2009. In this article we see how we get the coordinates in Silverlight charts on mouse move. It's a bit tricky, but it worked great for me.
  • Move Windows Form Without BorderDec 06, 2009. Some time its necessary that we want to move form without border. So here is the solution to move that type of form.
  • XML Navigation using C#Dec 07, 2009. This article demonstrates how to navigate through XML documents using C#.
  • Windows Form using COBOLDec 22, 2009. This article we'll put some finishing touches to our form. We'll show how to make controls appear and disappear as well as placing the cursor in a pre-defined spot on the form.
  • SQL Query Optimization FAQ Part 1 (With video explanation)Feb 02, 2010. In this article we will first try to understand what is a SQL plan, how is it created and then we will move towards understanding how to read the SQL plan. As we read the SQL plan we will try to understand different operators like table scan, index seek scan, clustered scan, RID lookup etc. We will also look in to the best practices associated with clustered and non-clustered indexes and how they function internally. We will practically see how indexed views increase performance and in what scenarios we should use the same.
  • TranslateTransform in WPFFeb 14, 2010. TranslateTransform is used to move an element from one position to other. The X and Y properties are used to move an element towards the x and y axes.
  • Move Up/Down ListBoxItem in ListBox in WPFApr 03, 2010. In this article we will see how we can move up/down a ListBoxItem in ListBox.
  • Move Up/Down TreeViewItem in TreeView in WPFApr 05, 2010. In this article we will see how we can move up/down a TreeViewItem in TreeView.
  • WPF and UserInteractivity part III: Moving an resizing shapesApr 27, 2010. In this article, we will still dealing with shapes but from a different angle.
  • WPF and user Interactivity Part IV: Attached property for moving and resizing shapesApr 28, 2010. In this article, I will refactor the previous code by representing it as an attached property.
  • Move and Rotate Animation in Silverlight 3May 07, 2010. In this article we will see how we can animate Move and Rotate functionalities of any UIElement.
  • Importing an Excel File into a Silverlight DataGrid in XML FormatMay 12, 2010. This article will illustrate that moving Excel Documents into Silverlight is a snap if your Excel spreadsheet is saved in an XML file.
  • 6 Steps to Implement DUAL Security on WCF Using User Name + SSLMay 20, 2010. In the article we will try to apply DUAL security using transport plus message on WCF services. So we will first try to understand the basic concepts of WCF security i.e. transport and message. Once we understand the concept we will move step by step to how to implement SSL and user name security on WCF services.
  • Cursors in C#Jun 15, 2010. A cursor in Windows is an icon that is displayed when you move a mouse, a pen, or a trackball. This code shows how to apply and manage cursors in your Windows applications.
  • DomainUpDown in C#Jun 21, 2010. A DomainUpDown control allows users to provide a spin (up/down) interface to move through pre-defined strings using up and down arrows. In this tutorial, we will see how to create a DomainUpDown control and use it in a Windows Forms application.
  • NumericUpDown in C#Jun 22, 2010. A NumericUpDown control allows users to provide a spin (up/down) interface to move through pre-defined numbers using up and down arrows. In this tutorial, we will see how to create a NumericUpDown control at design-time as well as at run-time.
  • Cursor in WPF and C#Jul 30, 2010. In this we will learn how to create Cursor in WPF with C#.
  • Creating a Silverlight Application that inserts data to a database using WCF serviceAug 02, 2010. In this article, I have created a Silverlight application that asks users to enter choices & moves to specific pages depending on the choices. I have shown here how to use merged resource dictionaries. We can also see how to create controls dynamically. Finally, this application consumes a WCF service to store data in the database using LINQ to SQL.
  • Move one share point site using Import/Export feature in STSADMAug 16, 2010. In this article you will learn how to move one share point site as sub site in another site collection using Import/Export feature in STSADM.
  • VS 2010 Deployment (Package, One click deploy and Web.config transformation)Aug 24, 2010. In this article we will discuss about 3 important features provided by VS 2010 to ease our deployment task on production and other environment. We will first start with understanding problems with deployment and then move ahead by creating packages , one click deploy and web.config transformation.
  • How to Create Cursor, Temporary Table and Insert Data in to Temporary TableSep 23, 2010. How to create Cursor, Temporary Table and Insert Data in to Temporary Table
  • CAS (Code Access Security) & .NET 4.0 Security Model FAQ (With Full Video Demonstration)Oct 23, 2010. This article first starts with the basic concepts of CAS like evidence, permission, code groups and caspol.exe. It then moves ahead to demonstrate how CAS can be implemented in real world. This article further talks about ground up changes made in .NET 4.0 for CAS. In those regards it discusses about security transparent model and sandboxing.
  • A Silverlight Magic Eight BallOct 28, 2010. This application is a virtual Magic Eight Ball that can help you predict the future. Be careful what you ask it, you may not want to know the answer!
  • Understanding and Using MVVM Light in Silverlight and Blend - Part INov 20, 2010. MVVM is an architecture that helps you design Silverlight apps right. If you want to simplify your move to MVVM then take a look at MVVM Light. This article is introduction to the MVVM Light Toolkit and how you can start to take advantage of its rich feature set
  • Magic Eight Ball on the Windows Phone 7Nov 26, 2010. The New Windows Phone provides a lot of opportunity for Microsoft C# .NET developers. This article describes the port of a Silverlight Browser Application called Magic EightBall to the Windows Phone.
  • How to Use XMLDataSource and How to Append XML in a FileDec 15, 2010. XML is an important format for storing and retrieving data on the web and the reason is it can be moved between firewalls.
  • Working with Animating Attached Properties, Splines-Key Frames and Easing Functions in Windows Phone 7Dec 30, 2010. You can use Silverlight animations in a couple different ways to move an element around the screen. One way is to target a TranslateTransform set to the element’s RenderTransform property.
  • The Principles of Movement in Windows Phone 7Jan 10, 2011. Much of the core of an XNA program is dedicated to moving sprites around the screen. Sometimes these sprites move under user control; at other times they move on their own volition as if animated by some internal vital force.
  • Work with Textures and Sprites in Windows Phone 7Jan 11, 2011. In this article I’ll examine techniques for moving and turning sprites, particularly along curves.
  • How to Set Focus to Any Form ControlJan 20, 2011. This article will show you how to move focus from one control to the next without the need to name the controls.
  • How to use SQL to LINQ ( Visual Representation ) Feb 20, 2011. A lot of developers moving towards the new LINQ to SQL find it difficult to write SQL queries in C# to query data using LINQ. LINQ is a query language which is integrated in C# to query data from ObjectCollects, SQL, XML etc.
  • Windows Mobile Utility on the Move, (Works For Indian Region only)Mar 01, 2011. This application can be used by any user to search the STD Code, Mobile operators circle easily throughout India. It's a very handy application which runs on Windows Mobile 6.1 & 6.5 professional devices.
  • A look at the Database [SQL Azure] option of the new Windows Azure portalMar 22, 2011. The Windows Azure Development portal has been moved to a new Silverlight based portal. It has an all new look and many new features.
  • B- Ball, C- Cat, D - dog: - Learning (REGEX) regular expression the easy wayMar 23, 2011. Regex has been the most popular and easiest way of writing validations. The only big problem with regex has been the cryptic syntax. Developers who are working on projects with complicated validation always refer to some kind of cheat sheet to remember the syntaxes and commands.
  • Types of Transformation in XAML SilverlightApr 12, 2011. In this article, you will learn how to transform 2D elements by rotating, scaling, skewing and moving objects.
  • Types of Transformations in XAML SilverlightApr 14, 2011. In this article, you will learn how to transform 2D elements by rotating, scaling, skewing and moving objects.
  • C# File Operations: Part 2Apr 27, 2011. In this article we will see additional file operations like delete a file, copy a file & move a file from source to destination.
  • Create Message in WCFJun 17, 2011. In my previous article we discussed SOAP Message Versions. Now let us move ahead and create a message.
  • Working with Directory using C#Jul 01, 2011. This article will explain the Directory class in .NET and how to create, move and rename a directory using C#.
  • Animating Objects (Images) Using JavascriptJul 25, 2011. In this article we are going to learn how to animate images from one place to another place on the webpage. In this article I’m using the JavaScript function setInterval() and clearInterval() to move the objects.
  • How to Draw Circle Shape by MouseCapture Event in WPF Using F#Aug 11, 2011. This article is a demonstration regrading how you can draw shapes by MouseCapture Event. As I have taken an example of circle and also can move that shape from one place to another. Take a quick review to learn.
  • State Management in Window Phone 7Aug 16, 2011. Learn how to persist the data from being lost when user moves forward and comes back to the application using the State collection by handling the NavigatedFrom and NavigatedTo events.
  • WPF BusyIndicatorSep 02, 2011. A BusyIndicator control provides an alternative to a Windows wait cursor to show user an indication that an application is busy doing some processing. It is a combination of the wait cursor and the ProgressBar control.
  • Master Detail Transitions SilverlightSep 30, 2011. In this article we are going to learn about the Master Detail animation using the Fluid Move Behavior.
  • Fluid Move Behavior - List animation SilverlightSep 30, 2011. In this article we are going to learn about the List animation in Fluid UI.
  • Animated Cursor-Custom ControlOct 12, 2011. Animated cursor custom control shows the change of the mouse cursor icon when we move it to the windows application.
  • Super Button Custom Control in C#Oct 17, 2011. Now you see how to creating a Super Button Custom Control in C#, which will appear Large whenever we move the Cursor on the Button.
  • Windows Azure - Moving Staging Deployment to ProductionOct 20, 2011. In this article we can explore how things are moved fro staging to production.
  • Derived Calendar Custom Control in ASP.NETOct 21, 2011. This article is about creating a derived custom calendar server control in ASP.NET which will show the color change of the selection point whenever we move the cursor on the date which is shown on the calendar.
  • JQuery Functions for JSON CallsOct 29, 2011. This article is focusing on people who recently moved to the MVC and JQuery world and looking for many of their existing functionalities.

About Cursor-move-ball

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
Download Free eBooks