Merge branch 'main' of https://git.azuze.fr/kawa/Sharepoint-Toolbox
This commit is contained in:
@@ -9,6 +9,15 @@ public partial class ProfileManagementDialog : Window
|
||||
{
|
||||
InitializeComponent();
|
||||
DataContext = viewModel;
|
||||
viewModel.ConfirmRegisterApp = msg =>
|
||||
{
|
||||
var result = MessageBox.Show(
|
||||
this, msg,
|
||||
Localization.TranslationSource.Instance["profile.register"],
|
||||
MessageBoxButton.OKCancel,
|
||||
MessageBoxImage.Information);
|
||||
return result == MessageBoxResult.OK;
|
||||
};
|
||||
Loaded += async (_, _) => await viewModel.LoadAsync();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user