Exemple #1
0
 public MainForm()
 {
     InitializeComponent();
     timer1.Interval = 500;
     timer1.Start();
     var log = new RichTextLogger(this.richTextBox1);
     audioGraph = new MainFormAudioGraph(log);
     playbackButtons = new List<ToolStripItem>();
     playbackButtons.Add(buttonPlay);
     playbackButtons.Add(buttonPause);
     playbackButtons.Add(buttonOpen);
     playbackButtons.Add(buttonStop);
     playbackButtons.Add(buttonRewind);
 }
Exemple #2
0
        public MainForm()
        {
            InitializeComponent();
            timer1.Interval = 500;
            timer1.Start();
            var log = new RichTextLogger(this.richTextBox1);

            audioGraph      = new MainFormAudioGraph(log);
            playbackButtons = new List <ToolStripItem>();
            playbackButtons.Add(buttonPlay);
            playbackButtons.Add(buttonPause);
            playbackButtons.Add(buttonOpen);
            playbackButtons.Add(buttonStop);
            playbackButtons.Add(buttonRewind);
        }