Ejemplo n.º 1
0
        private void miProfile_Click(object sender, RoutedEventArgs e)
        {
            ProfileWindow profileW = new ProfileWindow();

            profileW.Owner       = this;
            profileW.DataContext = miLogin.DataContext;
            profileW.ShowDialog();
        }
Ejemplo n.º 2
0
 private void miProfile_Click(object sender, RoutedEventArgs e)
 {
     ProfileWindow profileW = new ProfileWindow();
     profileW.Owner = this;
     profileW.DataContext = miLogin.DataContext;
     profileW.ShowDialog();
 }