Click here to Skip to main content
15,896,444 members
Articles / Desktop Programming / Windows Forms

Enter Key Behavior Extender

Rate me:
Please Sign up or sign in to vote.
2.63/5 (9 votes)
10 Apr 2010CPOL 31.6K   262   17  
This component is used for forms that have too many textboxes which change their focus with Enter key.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace testFocus
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Save_Click(object sender, EventArgs e)
        {
            MessageBox.Show(" All information recieved !?");
        }

     }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions