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

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