public void login_Click(object sender, RoutedEventArgs e)
 {
     MainWindow mw = new MainWindow(login.Text,password.Password);
     mw.Show();
     this.Close();
 }
 public DutaServices(MainWindow mw)
 {
     this.mw = mw;
 }