private void button_login_Click(object sender, RoutedEventArgs e)
 {
     if (UserManager.GetInstance().SearchList(textbox_email.Text, textbox_password.Text))
     {
         Hide();
         var SubWindow = new SubWindow();
         SubWindow.Show();
     }
     else
     {
         label_warning.Content = "Dados Inválidos";
     }
 }
 public CreateClientWindow(SubWindow subWindow)
 {
     InitializeComponent();
     windowSub = subWindow;
 }