Exemplo n.º 1
0
 protected override void OnClosing(CancelEventArgs e)
 {
     base.OnClosing(e);
     CatalogViewerUc.StoreLayouts();
     Saveable.SaveAll();
     Application.Current.Shutdown();
 }
Exemplo n.º 2
0
        private async void MainWindowLoaded(object sender, RoutedEventArgs e)
        {
            if (!DesignerProperties.GetIsInDesignMode(this))
            {
                await CatalogViewerUc.Init();

                CatalogViewerUc.RestoreLayouts();
            }
        }