Exemplo n.º 1
0
        /// <summary>
        /// This function will open the window of a new trainee when we press on the button "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 TraineeButton_Click(object sender, RoutedEventArgs e)
        {
            TraineeWindow traineeWind = new TraineeWindow();

            traineeWind.ShowDialog();
        }
Exemplo n.º 2
0
        private void ButtonTrainee_Click(object sender, RoutedEventArgs e)
        {
            TraineeWindow traineeWindow = new TraineeWindow(manage);

            traineeWindow.ShowDialog();
        }