Source

main / Source / Excel / Excel.AddIn / Excel.AddIn / View / RepositoryViewPane.xaml.cs

Full commit
using System;
using System.Windows;

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

        public string Password
        {
            get
            {
                return pwdUserPassword.Password;
            }
        }

        public RepositoryViewPane()
        {
            this.InitializeComponent();
        }

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