Beispiel #1
0
        private void CboProfiles_PreviewMouseRightButtonUp(object sender, MouseButtonEventArgs e)
        {
            ProfileWindow profileWindow = new ProfileWindow
            {
                DataContext = ((ComboBox)sender).DataContext
            };

            profileWindow.ShowDialog();
        }
Beispiel #2
0
        private void BtnAddProfiles_Click(object sender, RoutedEventArgs e)
        {
            ProfileWindow profileWindow = new ProfileWindow();

            profileWindow.ShowDialog();
        }