Source

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

Full commit
using System;
using System.Collections.Generic;
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.Shapes;

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

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

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

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