28 lines
714 B
Plaintext
28 lines
714 B
Plaintext
|
|
using System.Windows;
|
||
|
|
using System.Windows.Controls;
|
||
|
|
using DTS.Common.Interface.Database;
|
||
|
|
|
||
|
|
// ReSharper disable CheckNamespace
|
||
|
|
|
||
|
|
namespace DatabaseServices
|
||
|
|
{
|
||
|
|
/// <inheritdoc cref="IDatabaseCopyView" />
|
||
|
|
/// <summary>
|
||
|
|
/// Interaction logic for DatabaseCopyView.xaml
|
||
|
|
/// </summary>
|
||
|
|
public partial class DatabaseCopyView : IDatabaseCopyView
|
||
|
|
{
|
||
|
|
public DatabaseCopyView()
|
||
|
|
{
|
||
|
|
InitializeComponent();
|
||
|
|
}
|
||
|
|
|
||
|
|
private void Copy_Click(object sender, RoutedEventArgs e)
|
||
|
|
{
|
||
|
|
var button = (Control)sender;
|
||
|
|
var vm = (IDatabaseCopyViewModel)button.DataContext;
|
||
|
|
vm.CopyDatabase();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|