예제 #1
0
        void init()
        {
            Settings settings = Settings.GetInstance();

            settings.LoadSettings();
            ItemCombiner.ApplySettings();
            WavPlayer.ApplySettings();
            Form1.ApplySettings();

            wp = new WavPlayer(this);
            wp.PlayReachedBy += new WavPlayer.ProcessEventHandler(this.ReportReceived);
            this.KeyPreview   = true;

            ItemCombiner.SetWavPlayer(wp);
            GraphPanel.SetFont(defaultFont);
            ItemSet.SetWavPlayer(wp);
            ItemSet.SetForm(this);
            ControlPanel.SetFont(defaultFont);
            ControlPanel.SetWavPlayer(wp);

            cp = new ControlPanel();
            baseTablePanel.Controls.Add(cp, 1, 1);
        }
예제 #2
0
 public static void SetWavPlayer(WavPlayer wp)
 {
     ControlPanel.wp = wp;
 }
예제 #3
0
 static public void SetWavPlayer(WavPlayer wp)
 {
     ItemCombiner.wp = wp;
 }
예제 #4
0
 static public void SetWavPlayer(WavPlayer wp)
 {
     ItemSet.wp = wp;
 }