示例#1
0
        private void checkBoxSwing_CheckedChanged(object sender, EventArgs e)
        {
            bool           selectedSwing = checkBoxSwing.Checked;
            SwingEventArgs s             = new SwingEventArgs();

            s.Swing = selectedSwing;

            if (SwingSelected != null)
            {
                SwingSelected(this, s);
            }
        }
示例#2
0
 private void SwingSelected(object sender, SwingEventArgs s)
 {
     _plugin.GetInstance <MidiProcessor>().Swing = s.Swing;
     _plugin.GetInstance <MidiProcessor>().CountRythm();
 }