Exemplo n.º 1
0
        void WindowView_Close(object sender, RoutedEventArgs e)
        {
            WindowView mw = sender as WindowView;

            Window.GetWindow(mw).Close();
        }
Exemplo n.º 2
0
        private static void OnSaveCommand(object sender, ExecutedRoutedEventArgs e)
        {
            WindowView mw = sender as WindowView;

            mw.DoSave();
        }