示例#1
0
        /// <summary>
        /// Creates a new instance of <c>LogOnScreen</c>.
        /// </summary>
        public LogOnScreen()
        {
            InitializeComponent();
            DataContext = this;
            HintVisibility = Visibility.Hidden;

            try
            {
                service = new WMSServiceClient();

                /*xDomain.ItemsSource = service.GetDomainList();*/
                xDomain.ItemsSource = service.GetCustomersList();
                xDomain.SelectedIndex = 0;

                xUsername.Focus();
            }
            catch
            {
                throw; //new Exception( + ex.Message);
            }

        }