예제 #1
0
        private void ExecuteLoginButton(object o)
        {
            // TODO: implement password checking with SHA1:
              //        http://stackoverflow.com/questions/26256351/encrypt-passwords-on-sql-server-2008-using-sha1

              var mainWindow = new MainWindowViewModel();
              mainWindow.ShowWindow();
        }
예제 #2
0
        public MainWindow(MainWindowViewModel viewModel)
        {
            InitializeComponent();

              DataContext = viewModel;
        }