Пример #1
0
 private void BinaryFormatterButton_Click(object sender, RoutedEventArgs e)
 {
     var w = new Views.BinaryFormatterView()
     {
         DataContext = new ViewModels.BinaryFormatterViewModel(),
         Owner = this,
     };
     w.ShowDialog();
 }
Пример #2
0
        private void BinaryFormatterButton_Click(object sender, RoutedEventArgs e)
        {
            var w = new Views.BinaryFormatterView()
            {
                DataContext = new ViewModels.BinaryFormatterViewModel(),
                Owner       = this,
            };

            w.ShowDialog();
        }