/// <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(); }
/// <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(); }