}     // WriteFile()

        private void btnSignUp_Click(object sender, EventArgs e)
        {
            // Will take the M# and Name entered into the text boxes and create a
            // data file as "M#_Name.dat", this will later be used to check if the
            // login credentials are valid.

            UserClass.User userObj = new UserClass.User();
            userObj.userID   = tbMNumber.Text;
            userObj.userName = tbName.Text;
            WriteFile(userObj.userID, userObj.userName);

            if (valid == true)
            {
                //THIS event opens another form

                // Hide "this" current form
                this.Hide();

                // Create a new object that will represent the next form.
                frmUser frm = new frmUser();

                // Displays the other form using its object instance
                frm.Show();

                frm = null;
            } // endif
        }     // btnSignUp_Click()
        }     // btnSignUp_Click()

        private void btnSignIn_Click(object sender, EventArgs e)
        {
            // Checks to see if M# and Name entered in the text boxes are valid
            // by checking for a file named "M#_Name.dat". If this file exist then
            // login is successful and then the next form will load.

            ReadFile(tbMNumber.Text, tbName.Text);

            if (valid == true)
            {
                //THIS event opens another form

                // Hide "this" current form
                this.Hide();

                // Create a new object that will represent the next form.
                frmUser frm = new frmUser();

                // Displays the other form using its object instance
                frm.Show();

                frm = null;
            } // endif
        }