using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace BodyshopPartner.Views { /// /// Interaction logic for Main.xaml /// public partial class Main : Window { public Main() { InitializeComponent(); } private void Window_Loaded(object sender, RoutedEventArgs e) { Application.Current.MainWindow = this; } private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { e.Cancel = true ; this.Hide(); } } }