Пример #1
0
        public MainWindow()
        {
            InitializeComponent();

            speakers = Speakers.Instance();

            initTimer          = new Timer(500);
            initTimer.Elapsed += OnTimedEvent;
        }
Пример #2
0
 public static Speakers Instance()
 {
     return(_instance ?? (_instance = new Speakers()));
 }