Глобальный рефакторинг пространств имён
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
using System.Windows;
|
||||
using Pf2e.Scrapper.Processors.Collection;
|
||||
|
||||
namespace Pf2e.Scrapper.WPF.StartForm;
|
||||
|
||||
internal partial class StartForm : Window
|
||||
{
|
||||
public ProcessorCollection Collection { get; }
|
||||
|
||||
public StartForm(ProcessorCollection collection)
|
||||
{
|
||||
Collection = collection;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ProcessorCollectionControl.Collection = Collection;
|
||||
}
|
||||
|
||||
private void ViewerButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ApplicationStateChange?.Invoke(this, ApplicationStage.Viewer);
|
||||
}
|
||||
|
||||
private void StartButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ApplicationStateChange?.Invoke(this, ApplicationStage.ImportProcess);
|
||||
}
|
||||
|
||||
public event ImportApplication.ApplicationStateChangeDelegate? ApplicationStateChange;
|
||||
}
|
||||
Reference in New Issue
Block a user