Exemplo n.º 1
0
        private bool AdvanceToLicenseList()
        {
            bool retVal = true;

            try
            {
                DataSet licenses = svc.GetAvailableLicenses(EmailAddress.Text, Password.Text);
                LicenseList.DataSource = licenses.Tables[0].DefaultView;
            }
            catch (Exception ex)
            {
                //if login fails
                string error = String.Format("The following error occurred:/r/n{0}", ex.Message);
                retVal = false;
                this.radWizard1.SelectedPage = this.radWizard1.Pages[PAGE_LOGIN];
                MessageBox.Show(error);
            }

            return(retVal);
        }