private void NotifFire(string[] data) { NotifWindow window = Application.Current.Windows.OfType <NotifWindow>().FirstOrDefault(); window = new NotifWindow(data); window.Show(); }
private void TestNotif_Click(object sender, RoutedEventArgs e) { // テスト通知を発火 var window = new NotifWindow(new string[] { "TEST", "熊野", "通知テスト" }); window.Show(); }