예제 #1
0
 public SelectUser()
 {
     InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null) ApplicationBar.MatchOverriddenTheme(); };
     ThemeFunctions.SetBackground(LayoutRoot);
     viewModel = new SelectUserModel();
     DataContext = viewModel;
     UserFilter.TextChanged += new TextChangedEventHandler(OnTextBoxTextChanged);
     this.Loaded += (sender, e) => viewModel.Loaded();
 }
예제 #2
0
        public SelectUser()
        {
            InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null)
                                                              {
                                                                  ApplicationBar.MatchOverriddenTheme();
                                                              }
            };

            viewModel               = new SelectUserModel();
            DataContext             = viewModel;
            UserFilter.TextChanged += new TextChangedEventHandler(OnTextBoxTextChanged);
            this.Loaded            += (sender, e) => viewModel.Loaded();
        }