mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-23 02:51:26 -07:00
19 lines
402 B
C#
19 lines
402 B
C#
using System;
|
|
using System.Windows;
|
|
|
|
namespace Bloxstrap.UI.Elements.Bootstrapper.Base
|
|
{
|
|
static class BaseFunctions
|
|
{
|
|
public static void ShowSuccess(string message, Action? callback)
|
|
{
|
|
Controls.ShowMessageBox(message, MessageBoxImage.Information);
|
|
|
|
if (callback is not null)
|
|
callback();
|
|
|
|
App.Terminate();
|
|
}
|
|
}
|
|
}
|