Source

main-vinayFork / Source / Excel / Excel.AddIn / Excel.AddIn / View / RepositoryWindow.xaml.cs

using System;
using System.Windows;

namespace DataUp.Excel.Addin
{
    /// <summary>
    /// Interaction logic for RepositoryWindow.xaml
    /// </summary>
    public partial class RepositoryWindow : Window
    {
        public RepositoryViewModel Model
        {
            get
            {
                return this.DataContext as RepositoryViewModel;
            }
            set
            {
                this.DataContext = value;
            }
        }
        public RepositoryWindow()
        {
            this.InitializeComponent();
        }

        internal void OnRequestClose(object sender, EventArgs e)
        {
            this.DialogResult = true;
        }

    }
}