28 lines
714 B
C#
28 lines
714 B
C#
|
|
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();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|