public OpretBruger()
        {
            InitializeComponent();

            LoginDataSet      = new LoginAppDBDataSet();
            LoginTableAdapter = new LoginAppDBDataSetTableAdapters.LoginInfoTableAdapter();
            LoginTableAdapter.Fill(LoginDataSet.LoginInfo);
        }
        public Indsiden()
        {
            InitializeComponent();

            LoginDataSet      = new LoginAppDBDataSet();
            LoginTableAdapter = new LoginAppDBDataSetTableAdapters.LoginInfoTableAdapter();
            LoginTableAdapter.Fill(LoginDataSet.LoginInfo);

            this.ShowsNavigationUI = false;
        }
        private void NyKonto_Click(object sender, RoutedEventArgs e)
        {
            OpretBruger opretVindu = new OpretBruger();

            opretVindu.Closed += (s, eventargs) =>
            {
                LoginDataSet      = new LoginAppDBDataSet();
                LoginTableAdapter = new LoginAppDBDataSetTableAdapters.LoginInfoTableAdapter();
                LoginTableAdapter.Fill(LoginDataSet.LoginInfo);
            };
            opretVindu.Show();
        }