/source2/VSIP/Cosmos.VS.Windows.Test/MainWindow.xaml.cs
C# | 29 lines | 24 code | 3 blank | 2 comment | 0 complexity | 422f1a8ab150cd13edee9f77245c33e2 MD5 | raw file
Possible License(s): BSD-2-Clause
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using System.ComponentModel;
-
- namespace Cosmos.VS.Windows.Test {
- public partial class MainWindow : Window {
- public MainWindow() {
- InitializeComponent();
-
- string xPath = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, @"..\..");
-
- // Uncomment code in AssemblyUC.xml.cs to genearate a new bin test file in method DoUpdate.
- // Make sure to comment back out before running this, else there will be conflicts
- byte[] xData = System.IO.File.ReadAllBytes(System.IO.Path.Combine(xPath, "SourceTest.bin"));
- ucAssembly.Update(null, xData);
- }
- }
- }