コード例 #1
0
        /// <summary>
        /// This function deletes a trainee when we press on the button "Delete Trainee"
        /// This is a sighnup function for a click event
        /// </summary>
        /// <param name="sender">Who is sensing the event</param>
        /// <param name="e">Details of the event occurred</param>
        private void TraineeDeleteButton_Click(object sender, RoutedEventArgs e)
        {
            DeleteTrainee deleteTraineeWind = new DeleteTrainee();

            deleteTraineeWind.ShowDialog();
        }
コード例 #2
0
ファイル: Trainee.xaml.cs プロジェクト: asafJct/MINI
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            var window = new DeleteTrainee();

            window.ShowDialog();
        }