Initial commit: .NET practice project
Added CSharp, Nots, and Wpf directories with various practice exercises and projects. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
commit
90d09449ae
1196 files changed
+26114
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using ModuleA.Event;
|
||||
using Prism.Events;
|
||||
|
||||
namespace ModuleA.Views;
|
||||
|
||||
public partial class ViewC : UserControl
|
||||
{
|
||||
public ViewC(IEventAggregator aggregator)
|
||||
{
|
||||
InitializeComponent();
|
||||
var messageEvent = aggregator.GetEvent<MessageEvent>();
|
||||
messageEvent.Subscribe(arg =>
|
||||
{
|
||||
MessageBox.Show(arg);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user