allow multiple simultaneous popup notifications to vertically stack
This commit is contained in:
parent
08a8aa3156
commit
310287b0af
3 changed files with 40 additions and 4 deletions
|
|
@ -21,10 +21,12 @@ namespace Observatory.UI.Views
|
|||
public class BasicUIView : UserControl
|
||||
{
|
||||
private DataGrid dataGrid;
|
||||
private NativeNotification.NativePopup nativePopup;
|
||||
|
||||
public BasicUIView()
|
||||
{
|
||||
InitializeComponent();
|
||||
nativePopup = new();
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
|
|
@ -274,7 +276,7 @@ namespace Observatory.UI.Views
|
|||
Detail = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras suscipit hendrerit libero ac scelerisque."
|
||||
};
|
||||
|
||||
new NativeNotification.NativePopup().InvokeNativeNotification(notificationArgs);
|
||||
nativePopup.InvokeNativeNotification(notificationArgs);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue