private void btnLogin_Click(object sender, EventArgs e)
        {
            string userName = null;
            string password = null;

            if (tbxUserName.Text != null)
            {
                userName = tbxUserName.Text;
            }
            if (tbxPassword.Text != null)
            {
                password = tbxPassword.Text;
            }
            Form form = new AddEventForm(userName);

            if (cboDestination.SelectedIndex != 0)
            {
                form = new AdminReturnForm1(userName);
            }

            if (userName != null && password != null)
            {
                if (!mLC.submit(userName, password, form, this))
                {
                    tbxPassword.Text     = "";
                    lblPassError.Visible = true;
                }
            }
        }
        private void btnReturns_Click(object sender, EventArgs e)
        {
            AdminReturnForm1 form = new AdminReturnForm1(mUser);

            this.Close();
            form.Show();
        }
        private void btnLogin_Click(object sender, EventArgs e)
        {
            string userName = null;
            string password = null;

            if (tbxUserName.Text != null)
                userName = tbxUserName.Text;
            if (tbxPassword.Text != null)
                password = tbxPassword.Text;
            Form form = new AddEventForm(userName);
            if (cboDestination.SelectedIndex != 0)
                form = new AdminReturnForm1(userName);

            if (userName != null && password != null)
            {
                if (!mLC.submit(userName, password, form, this))
                { 
                    tbxPassword.Text = "";
                    lblPassError.Visible = true;
                }
            }
        }
 private void btnReturns_Click(object sender, EventArgs e)
 {
     AdminReturnForm1 form = new AdminReturnForm1(mUser);
     this.Close();
     form.Show();
 }