Source

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

Full commit
using System;
using System.Windows;

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

            // Insert code required on object creation below this point.
        }
        internal void OnRequestClose(object sender, EventArgs e)
        {
            this.DialogResult = true;
        }
    }
}