Пример #1
0
        /// <summary>
        /// Description: Abre interfaz para iniciar la simulación
        /// </summary>
        private void _buttonPlay_btn_Click(object sender, RoutedEventArgs e)
        {
            FailsProcedures failProcedures = FailsProcedures.GetInstance();

            failProcedures.Parent_win = this;
            failProcedures.Show();
            this.Hide();
        }
Пример #2
0
 /// <summary>
 /// Description: Destruye todas las instancias singleton al cerrar
 /// </summary>
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     FailsProcedures.GetInstance().Close();
     Setting.GetInstance().Close();
 }