Ejemplo n.º 1
0
 private void BtnPreview_Click(object sender, RoutedEventArgs e)
 {
     preview = new WindowPreview(manager.ConvertToBlocks(extension), compiler.References)
     {
         Owner = this
     };
     preview.ShowDialog();
 }
Ejemplo n.º 2
0
        private void BtnCancel_Click(object sender, RoutedEventArgs e)
        {
            TextTitle.Clear();
            TextAuthor.Clear();
            TextSummary.Clear();

            preview   = null;
            manager   = null;
            extension = null;
            compiler  = null;

            StackResult.Visibility = Visibility.Collapsed;
            StackOpen.Visibility   = Visibility.Visible;
        }