private void linkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { UserRegister user = new UserRegister(); user.ShowDialog(); if (user.User != null) { this.txtUserName.Text = user.User.UserName; this.txtPassWord.Text = user.User.Password; } }
private void btnAnvändarhantering_Click(object sender, RoutedEventArgs e) { UserRegister userRegister = new UserRegister(); userRegister.ShowDialog(); }