Example #1
0
 private void OnLoaded(object sender, RoutedEventArgs e)
 {
     if (!isLoaded)
     {
         supplierViewModel.Initialize();
         isLoaded = true;
     }
 }
Example #2
0
        private async void OnLoaded(object sender, RoutedEventArgs e)
        {
            if (!loaded)
            {
                await supplierViewModel.Initialize();

                loaded = true;
            }
        }