Example #1
0
        private void subMenu_New_Click(object sender, RoutedEventArgs e)
        {
            NewDiag newDiag = new NewDiag();

            newDiag.Closed += new EventHandler(subMenu_Closed_Handler);
            newDiag.Show();
        }
Example #2
0
        private void subMenu_Edit_Click(object sender, RoutedEventArgs e)
        {
            int     index   = this.L_MainList.SelectedIndex;
            NewDiag newDiag = new NewDiag();

            newDiag.SetTargetParam(this.L_MainList.Items[index] as Target, index);
            newDiag.Closed += new EventHandler(subMenu_Closed_Handler);
            newDiag.Show();
        }