예제 #1
0
        private void buttonDiction_Click(object sender, RoutedEventArgs e)
        {
            contentManager.SetAppType(ApplicationType.Diction);
            Content manager = new Content(contentManager);

            manager.Closing += delegate(object o, CancelEventArgs args)
            {
                contentManager.Notify(ApplicationType.Diction);
                Show();
            };
            manager.Show();
            Hide();
        }