Beispiel #1
0
        private void lstProjects_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            int          selectedIndex    = lstProjects.SelectedIndex;
            SecondWindow newWindowDisplay = new SecondWindow(projects, selectedIndex, sender);

            newWindowDisplay.Show();
        }
        /// <summary>
        /// Handles the second window in the Communication Activity
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lstProjects_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            SecondWindow secondWindow = new SecondWindow(lstProjects.SelectedIndex, projectList, sender);

            secondWindow.Show();
        }