Exemplo n.º 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            IJSService     client = new JSServiceClient();
            FillComboBoxes fill   = new FillComboBoxes();

            fill.FillUserType(this);
            fill.FillStream(this);
            userTypeCombox.SelectedIndex = 1;
            streamCombox.SelectedIndex   = 1;
        }
Exemplo n.º 2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            homeMsgLbl.Content = "WELCOME " + adminUsername.ToUpper();
            autoFillUserName   = client.GetUserNamesForAutoFill();
            autoFillLoc        = client.GetUserLocsForAutoFill();
            List <DbUser> userDetails = client.GetUserByUserName(adminUsername);

            enterFirstName.Content = userDetails[0].FirstName;
            enterLastName.Content  = userDetails[0].LastName;
            enterEmail.Content     = userDetails[0].Email;
            enterLocation.Content  = userDetails[0].Location;

            FillComboBoxes fill = new FillComboBoxes();

            fill.FillUserType(this);
            fill.FillStream(this);
            userTypeCombox.SelectedIndex = 0;
            streamCombox.SelectedIndex   = 0;
        }
Exemplo n.º 3
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            homeMsgLbl.Content = "WELCOME " + adminUsername.ToUpper();
            autoFillUserName = client.GetUserNamesForAutoFill();
            autoFillLoc = client.GetUserLocsForAutoFill();
            List<DbUser> userDetails = client.GetUserByUserName(adminUsername);
            enterFirstName.Content = userDetails[0].FirstName;
            enterLastName.Content = userDetails[0].LastName;
            enterEmail.Content = userDetails[0].Email;
            enterLocation.Content = userDetails[0].Location;

            FillComboBoxes fill = new FillComboBoxes();
            fill.FillUserType(this);
            fill.FillStream(this);
            userTypeCombox.SelectedIndex = 0;
            streamCombox.SelectedIndex = 0;
        }
Exemplo n.º 4
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     IJSService client = new JSServiceClient();
     FillComboBoxes fill = new FillComboBoxes();
     fill.FillUserType(this);
     fill.FillStream(this);
     userTypeCombox.SelectedIndex = 1;
     streamCombox.SelectedIndex = 1;
 }